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.
The given number is:
1234567891011121314151617181920212223242526272829303132333435
36373839404142434445
Let us denote this number by B.
We set up the table as follows, where B(mod n) denotes the required remainder:
n B(mod n)
-- --------------
1 0
2 1
3 2
4 1
5 0
6 5
7 6
8 1
9 5
10 5
11 1
12 5
13 1
14 13
15 5
16 9
17 3
18 5
19 4
20 5
Edited on September 13, 2022, 3:07 am