Processing math: 100%
 
+0  
 
0
849
7
avatar

Find the number of integers n that satisfy 7n2+22n21n+39.

 Apr 15, 2019
 #1
avatar+118703 
+2

 

 

Find the number of integers n that satisfy    7n2+22n21n+39.

 

 

Mmm

firstly:

 

n2+22n210n222n+210(n21)(n1)01n21

 

now

7n2+22n21n+3949(n2+22n21)n2+78n+152150n2+4922n78n49211521050n2+1000n2550050n21000n+25500n220n+510(n17)(n3)00n3orn17

 

Take the intersection of these restrictions and I get

n can equal    1, 2, 3, 17, 18, 19, 20 or  21

 

You need ot check this. 

 Apr 15, 2019
 #3
avatar
0

Your answer is right :)

Guest Apr 15, 2019
 #4
avatar+130475 
+1

Good job, Melody  !!!!!!

 

 

cool cool cool

CPhill  Apr 15, 2019
 #6
avatar+118703 
0

Thanks Chris :)

Melody  Apr 16, 2019
 #7
avatar+118703 
0

Hi guest, 

Should I interpret that as 'thanks'   ?

Melody  Apr 16, 2019
 #2
avatar
+1

Melody: These are the numbers I found:
n=1;a= 7*sqrt(-n^2 + 22*n -21); b=n+39;printa,  b,n;n++;if(n<30, goto1,0) 

 

n = 1 , 2, 3, 17, 18, 19, 20, 21.

 Apr 15, 2019
edited by Guest  Apr 15, 2019
 #5
avatar+118703 
0

Your answers are the same as mine.

I think you are just having fun using your C++ programing    wink

Melody  Apr 16, 2019

0 Online Users