Sum=0
Step 1
N=2
result of this step 3*(-5)2-1= -15
sum on this step -15
Step 2
N=3
result of this step 3*(-5)3-1=75
sum on this step -15+75=60
Step 3
N=4
result of this step 3*(-5)4-1=-375
sum on this step -375+60=-315
Step 4
N=5
result of this step 3*(-5)5-1=1875
sum on this step 1875-315=1560
Step 5
N=6
result of this step 3*(-5)6-1=-9375
sum on this step -9375+1560=-7815
Answer: -7815.
Comments
Leave a comment