+0  
 
0
389
1
avatar

Determine the sum of all positive integers n less than 2019 such that the number 3n^3 + 2n^2 + n gives a remainder of 3 when divided by 49.

 Dec 2, 2019
 #1
avatar
+1

a=1;c=3*a^3 + 2*a^2 + a ; if(c%49==3, goto3, goto4);printa,", ",; a++;if(a<=2019, goto1, 0)

 

Sum n =(19 , 68 , 117 , 166 , 215 , 264 , 313 , 362 , 411 , 460 , 509 , 558 , 607 , 656 , 705 , 754 , 803 , 852 , 901 , 950 , 999 , 1048 , 1097 , 1146 , 1195 , 1244 , 1293 , 1342 , 1391 , 1440 , 1489 , 1538 , 1587 , 1636 , 1685 , 1734 , 1783 , 1832 , 1881 , 1930 , 1979) = 40,959

 Dec 2, 2019

4 Online Users

avatar
avatar
avatar
avatar