1997 AIME Problem 5

Attempt Problem 5 of the 1997 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 1997 AIME solutions, or check the answer key.

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

5.

The number rr can be expressed as a four-place decimal 0.abcd,0.abcd, where a,a, b,b, c,c, and dd represent digits, any of which could be zero. It is desired to approximate rr by a fraction whose numerator is 11 or 22 and whose denominator is an integer. The closest such fraction to rr is 27.\frac{2}{7}. What is the number of possible values for r?r?

Answer: 417
Concepts:fractiondecimalcounting integers in a range
Difficulty rating: 2450
Solution:

Among fractions with numerator 11 or 2,2, the closest neighbors of 270.2857\frac{2}{7} \approx 0.2857 are 14=0.25\frac{1}{4} = 0.25 below (note 28=14\frac{2}{8} = \frac{1}{4}) and 130.3333\frac{1}{3} \approx 0.3333 above (note 26=13\frac{2}{6} = \frac{1}{3}); no other candidate lies between them. So 27\frac{2}{7} is the unique closest fraction to rr exactly when rr is closer to 27\frac{2}{7} than to both 14\frac{1}{4} and 13,\frac{1}{3}, i.e. when rr lies strictly between the midpoints 12(14+27)=1556=0.26785 \begin{aligned} \frac{1}{2}\left(\frac{1}{4} + \frac{2}{7}\right) &= \frac{15}{56} \\ &= 0.26785\ldots \end{aligned} and 12(27+13)=1342=0.30952. \begin{aligned} \frac{1}{2}\left(\frac{2}{7} + \frac{1}{3}\right) &= \frac{13}{42} \\ &= 0.30952\ldots. \end{aligned}

The four-place decimals in that interval are 0.2679,0.2680,,0.3095,0.2679, 0.2680, \ldots, 0.3095, and there are 30952679+1=4173095 - 2679 + 1 = 417 of them.

← Problem 4#4
Full Exam

Problem 5 in Other Years