2021 AMC 12B Fall Problem 25

Below is the professionally curated solution for Problem 25 of the 2021 AMC 12B Fall, from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2021 AMC 12B Fall 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 arithmeticdivisibility

Difficulty rating: 2800

25.

For nn a positive integer, let R(n)R(n) be the sum of the remainders when nn is divided by 2,2, 3,3, 4,4, 5,5, 6,6, 7,7, 8,8, 9,9, and 10.10. For example, R(15)=1+0+3+0+3+1+7+6+5=26.R(15) = 1 + 0 + 3 + 0 + 3 + 1 + 7 + 6 + 5 = 26. How many two-digit positive integers nn satisfy R(n)=R(n+1)?R(n) = R(n + 1)?

00

11

22

33

44

Solution:

Going from nn to n+1,n + 1, each remainder nmodmn \bmod m increases by 11 unless mn+1,m \mid n + 1, in which case it drops from m1m - 1 to 0.0. So R(n+1)R(n)=92m10mn+1m.R(n+1) - R(n) = 9 - \sum_{\substack{2 \le m \le 10 \\ m \mid n+1}} m.

We need those divisors to sum to 9.9. If n+1n + 1 is divisible by 3,4,5,6,8,9,3, 4, 5, 6, 8, 9, or 10,10, it picks up additional small divisors that push the sum past 9,9, so the only workable case is n+1n + 1 divisible by 22 and 77 but no other value in {2,,10},\{2, \ldots, 10\}, giving 2+7=9.2 + 7 = 9.

Among the two-digit n,n, this means n+1=14n + 1 = 14 or n+1=98,n + 1 = 98, so n=13n = 13 or n=97.n = 97. That is 22 values.

Thus, the correct answer is C.

Problem 25 in Other Years