2022 AIME I Problem 13

Below is the professionally curated solution for Problem 13 of the 2022 AIME I, from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2022 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:repeating decimalEuler’s Totient Functioncasework

Difficulty rating: 3160

13.

Let SS be the set of all rational numbers that can be expressed as a repeating decimal in the form 0.abcd,0.\overline{abcd}, where at least one of the digits a,a, b,b, c,c, or dd is nonzero. Let NN be the number of distinct numerators obtained when numbers in SS are written as fractions in lowest terms. For example, both 44 and 410410 are counted among the distinct numerators for numbers in SS because 0.3636=4110.\overline{3636} = \frac{4}{11} and 0.1230=4103333.0.\overline{1230} = \frac{410}{3333}. Find the remainder when NN is divided by 1000.1000.

Solution:

Every element of SS equals k9999\frac{k}{9999} for some 1k9999,1 \le k \le 9999, where 9999=3211101.9999 = 3^2 \cdot 11 \cdot 101. In lowest terms this is mD\frac{m}{D} where D9999,D \mid 9999, mD,m \le D, and gcd(m,D)=1;\gcd(m, D) = 1; conversely any such mD\frac{m}{D} arises from k=m9999D.k = m \cdot \frac{9999}{D}. So NN counts the integers mm that are at most, and coprime to, some divisor DD of 9999.9999.

Classify mm by which of the primes 3,11,1013, 11, 101 divide it, always using the largest divisor DD coprime to m.m. If gcd(m,9999)=1,\gcd(m, 9999) = 1, take D=9999:D = 9999: there are φ(9999)=6000\varphi(9999) = 6000 such m.m. If 3m3 \mid m only, take D=11101=1111:D = 11 \cdot 101 = 1111: multiples of 33 up to 11111111 avoiding 1111 and 101101 number 370333=334.370 - 33 - 3 = 334. If 11m11 \mid m only, take D=9101=909:D = 9 \cdot 101 = 909: that gives 8227=55.82 - 27 = 55. If 101m101 \mid m only, then D=99<101D = 99 \lt 101 admits none. If 33m33 \mid m but 101m,101 \nmid m, take D=101:D = 101: the values 33,66,9933, 66, 99 give 33 more, and any mm divisible by 31013 \cdot 101 or 1110111 \cdot 101 would need D11,D \le 11, which is impossible.

Therefore N=6000+334+55+3=6392,N = 6000 + 334 + 55 + 3 = 6392, and the remainder modulo 10001000 is 392.392.

← Problem 12Full ExamProblem 14

Problem 13 in Other Years