2020 AMC 10A Problem 24

Below is the video solution and professionally curated solution for Problem 24 of the 2020 AMC 10A, from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2020 AMC 10A 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:greatest common divisorChinese Remainder Theoremmodular arithmetic

Difficulty rating: 1820

24.

Let nn be the least positive integer greater than 10001000 for which

gcd(63,n+120)=21\gcd(63, n+120) =21

and

gcd(n+63,120)=60.\gcd(n+63, 120)=60.

What is the sum of the digits of n?n?

1212

1515

1818

2121

2424

Video solution:
Solution video thumbnail
Play video

Click to load, then click again to play

Written solution:

The first gcd condition gives n+1200(mod21)n+120\equiv0\pmod{21}, so n6(mod21)n\equiv6\pmod{21}, but n+120n+120 must not be divisible by 6363. The second gives n+630(mod60)n+63\equiv0\pmod{60}, so n57(mod60)n\equiv57\pmod{60}, but n+63n+63 must not be divisible by 120120.

Solving n6(mod21)n\equiv6\pmod{21} and n57(mod60)n\equiv57\pmod{60} gives n237(mod420)n\equiv237\pmod{420}. The candidates above 10001000 are 1077,1497,1917,1077,1497,1917,\ldots. The first fails the first gcd condition, the second fails the second gcd condition, and 19171917 works. The digit sum is 1818. Thus, C is the correct answer.

Problem 24 in Other Years