2017 AMC 12B Problem 19

Below is the professionally curated solution for Problem 19 of the 2017 AMC 12B, from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2017 AMC 12B solutions, or check the answer key.

All of the real AMC 8, AMC 10, AMC 12, and AIME problems in our complete solution collection are used with official legal permission of the Mathematical Association of America (MAA).

Concepts:modular arithmeticdivisibilitydigits

Difficulty rating: 1910

19.

Let N=1234567891011124344N = 123456789101112\ldots4344 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?

11

44

99

1818

4444

Solution:

The last digit of NN is 4,4, so N4(mod5).N \equiv 4 \pmod 5. For mod 9,9, sum the digits: the numbers 1199 contribute their digits, the tens digits of 10104444 and the units digits together sum to 270,270, which is a multiple of 9,9, so N0(mod9).N \equiv 0 \pmod 9. The number N9N - 9 is then a multiple of 9,9, and its last digit is 5,5, so it is a multiple of 5;5; hence N9N - 9 is a multiple of 45.45. Therefore N9(mod45).N \equiv 9 \pmod{45}.

Thus, the correct answer is C.

Problem 19 in Other Years