+0  
 
0
25
1
avatar

The terms x, x+2, x+4, . . . , x+2n form an arithmetic sequence, with x an integer. If each term of the sequence is cubed, the sum of the cubes is -1197. What is the value of n if n > 3?

 Sep 8, 2020
 #1
avatar
0

a=-11;b=0;c=(a+2)^3;b=b+c ;printb,a,c;if(b==- 1197, goto6, 0); a=a+2;if(a<10, goto2, 0)

 

OUTPUT: n = 6   and   x = - 9

 Sep 8, 2020

45 Online Users

avatar
avatar