+0  
 
0
379
1
avatar

There are eight positive integers n for which 2^n + 1 is a divisor of 2^(210) - 1.  Four of these divisors are 2^1 + 1, 2^3 + 1, 2^5 + 1, and 2^7 + 1.  Find the other four.

 Dec 17, 2019
 #1
avatar
0

n=1; a=2^(210) - 1; b=2^n+1; c=if(a%b==0, goto loop, goto next);loop:printn,", ",;next:n++;if(n<=2000, goto2,0)

 

OUTPUT = N =1 , 3 , 5 , 7 , 15 , 21 , 35 , 105 >>Total = 8

 Dec 17, 2019

0 Online Users