+0  
 
0
430
1
avatar+981 

By starting with a million and alternatively dividing by 2 and multiplying by 5, Anisha created a sequence of integers that starts 1000000, 500000, 2500000, 1250000, and so on. What is the last integer in her sequence? Express your answer in the form a^b, where a and b are positive integers and a is as small as possible.

 Apr 19, 2020
 #1
avatar
0

i=0;a=1000000;c=a/2;printc;d=c*5;printd;i=i+1;a=d;i++;if(i < 1000, goto2, 0)

 

OUTPUT: The last integer in the sequence is: 5^12

 Apr 19, 2020
edited by Guest  Apr 19, 2020

2 Online Users

avatar
avatar