Fnd the sum of all the numbers between 0 and 20000 which is divisible by 9999.
336 6679008978, 7833 3456782289, 897 7790114478, Total = 6166680 3779205000
336 6679008978 mod 9999 =0, 7833 3456782289 mod 9999 =0, 897 7790114478 mod 9999 =0
Forget the above answer. It is wrong anyway. The following are correct:
listforeach(n, d=(2469753 , 3719628 , 12248775 , 12748725 , 26437356 , 30236976 , 49985001 , 49995000 , 74682531 , 80981901 , 111728826 , 113228676 , 149135085 , 157984200 , 199950003 , 199970001), c=n mod 9999)