+0  
 
0
43
1
avatar

FOr how many integers 1 <= n <= 2015 is n^2 + 1 a multiple of 25?

 Nov 2, 2019
 #1
avatar
0

a=1;c=a^2+1; if(c%25==0, goto3, goto4);printc, a; a++;if(c<2015, goto1, 0)
n^2 + 1                  n
50                          7
325                        18
1025                       32
1850                       43
There are only 4 integers that give multiples of 25 < 2015.

 Nov 2, 2019

24 Online Users