A hundred digit number is formed by writing the first few natural numbers in front of each other as follows:
12345678910111213141516171819…………………
Find the remainders when this number is divided by each of the numbers from 1 to 20.
(In reply to
computer solution for all (spoiler) by Charlie)
Your program is beautiful in its straightforward simplicity. The only
choice was the 55, which appears to be safe, although I would have used
60 instead.
|
Posted by Richard
on 2006-03-20 15:31:52 |