Skip to main content

2017 AMC 10B Problem 23

Problem 23 of 25HarderNumber Theory

Let N=1234567891011124344N=123456789101112\dots4344 be the 7979-digit number that is formed by writing the integers from 11 to 4444 in order, one after the other. What is the remainder when NN is divided by 45?45?

Answer choices

Show solution

Solution

To find the remainder when divided by 45,45, we must find the remainder when divided by 55 and 9.9. The remainder when divided by 55 is the remainder when the units digit is divided by 5,5, making it 4.4. To find the remainder when divided by 9,9, we usually find the sum of the digits. However, each double digit number has the same remainder when divided by 99 as its digit sum, so we can just sum the integers from 11 to 44,44, because each integer is congruent to its own digit sum. This sum is 44452=990,\dfrac{44\cdot45}{2}=990, which is a multiple of 9.9. Thus, NN is a multiple of 9.9. Since it is a multiple of 99 and has a remainder of 44 when divided by 5,5, the remainder when divided by 4545 is 9.9. Thus, the correct answer is C .

More practice

Concepts: modular arithmetic · Chinese Remainder Theorem · digits

Problem text and solution from the LIVE past-contest archive. See also the AoPS wiki page for community solutions.