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