1997 AIME Problem 5
Problem 5 of 15EasierCombinatoricsArithmetic
The number can be expressed as a four-place decimal where and represent digits, any of which could be zero. It is desired to approximate by a fraction whose numerator is or and whose denominator is an integer. The closest such fraction to is What is the number of possible values for
Your answer
Integer from 0 to 999
Show solution
Solution
Among fractions with numerator or the closest neighbors of are below (note ) and above (note ); no other candidate lies between them. So is the unique closest fraction to exactly when is closer to than to both and i.e. when lies strictly between the midpoints and
The four-place decimals in that interval are and there are of them.
Tagged: fraction · decimal · counting integers in a range