1992 AIME Problem 5

Attempt Problem 5 of the 1992 AIME below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 1992 AIME solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

5.

Let SS be the set of all rational numbers r,r, 0<r<1,0\lt r\lt1, that have a repeating decimal expansion in the form 0.abcabcabc=0.abc,0.abcabcabc\ldots=0.\overline{abc}, where the digits a,a, b,b, and cc are not necessarily distinct. To write the elements of SS as fractions in lowest terms, how many different numerators are required?

Answer: 660
Concepts:repeating decimalgreatest common divisorEuler’s Totient Function
Difficulty rating: 2320
Small Hint:

Every element has the form N999\frac{N}{999}, and its reduced denominator must divide 999=3337999=3^3\cdot37

Big Hint:

Count numerators coprime to 999999, then check which additional multiples of 33 can occur with denominator 3737

Solution:

Every element is N999\frac{N}{999} for 1N998.1\leq N\leq998. Any aa coprime to 999999 occurs as a reduced numerator with denominator 999,999, giving φ(999)=648\varphi(999)=648 values. If aa is divisible by 33 but not 37,37, it can be coprime to a reduced denominator only when that denominator is 37;37; this adds the 1212 multiples of 33 below 37.37. A numerator divisible by 3737 would need a denominator dividing 2727 and larger than it, so no further values occur. Therefore the total is 648+12=660.648+12=660.

← Problem 4#4
Full Exam

Problem 5 in Other Years