AMC 10 · 2020 · #24

Grade 6 number-theory
gcddivisibility-ruleslcmmodular-arithmeticprime-factorizationdigit-sum caseworksystematic-enumerationidentify-subproblems ↑ Prerequisites: gcdprime-factorization
📏 Long solution 💡 3 insights

Problem

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

gcd(63,n+120)=21andgcd(n+63,120)=60.\gcd(63, n+120) =21\quad \text{and} \quad \gcd(n+63, 120)=60.

What is the sum of the digits of nn?

Pick an answer.

(A)
12
(B)
15
(C)
18
(D)
21
(E)
24

AMC 10 2020 problem © Mathematical Association of America (MAA AMC). Reproduced for educational use.

Try it yourself first — the explanation is most useful after you’ve attempted it.