2020 AIME I Problem 4

Below is the professionally curated solution for Problem 4 of the 2020 AIME I, from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2020 AIME I 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:divisibilityfactordigits

Difficulty rating: 2230

4.

Let SS be the set of positive integers NN with the property that the last four digits of NN are 2020,2020, and when the last four digits are removed, the result is a divisor of N.N. For example, 42,02042{,}020 is in SS because 44 is a divisor of 42,020.42{,}020. Find the sum of all the digits of all the numbers in S.S. For example, the number 42,02042{,}020 contributes 4+2+0+2+0=84 + 2 + 0 + 2 + 0 = 8 to this total.

Solution:

If removing the last four digits leaves k1,k \ge 1, then N=10000k+2020,N = 10000k + 2020, and the condition kNk \mid N is equivalent to k2020.k \mid 2020. Since 2020=225101,2020 = 2^2 \cdot 5 \cdot 101, there are 1212 choices of k:k: 1,1, 2,2, 4,4, 5,5, 10,10, 20,20, 101,101, 202,202, 404,404, 505,505, 1010,1010, 2020.2020.

Each member of SS has digit sum equal to the digit sum of kk plus 2+0+2+0=4.2 + 0 + 2 + 0 = 4. The digit sums of the twelve divisors are 1,2,4,5,1,2,2,4,8,10,2,4,1, 2, 4, 5, 1, 2, 2, 4, 8, 10, 2, 4, totaling 45.45.

The answer is 45+124=93.45 + 12 \cdot 4 = 93.

← Problem 3Full ExamProblem 5

Problem 4 in Other Years