Browse · MATH
Printjmc
number theory senior
Problem
Let be the -digit number that is formed by writing the integers from to in order, one after the other. What is the remainder when is divided by ?
Solution
We will consider this number and . By looking at the last digit, it is obvious that the number is . To calculate the number , note that so it is equivalent to Let be the remainder when this number is divided by . We know that and , so by the Chinese remainder theorem, since , , or .
Final answer
9