Take a test Sign in 中文
← Exercise 647 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
AIME Contents · by chapter
Digits (23)
Primes (14)
Divisors, GCD, and LCM (28)
Divisibility (22)
Fractions, Decimals, and the Floor Function (14)
Bases (19)
Modular Arithmetic (30)
Integer Equations (29)

Exercises and their solutions

Exercise 647
The decimal representation of $m/n,$ where $m$ and $n$ are relatively prime positive integers and $m < n,$ contains the digits 2, 7, and 1 consecutively, and in that order. Find the smallest value of $n$ for which this is possible.
← Back to Problem 647
Solution
  1. We may assume the decimal starts $0.271\ldots$, i.e.\ $\frac{271}{1000}\le\frac mn<\frac{272}{1000}$, after shifting by a power of $10$ (which replaces $m$ by $10^km\bmod n$).
  2. For each $n$ we need some residue $r$ with $0.271\le\frac rn<0.272$.
  3. This first happens at $n=59$, with $\frac{16}{59}=0.27118\ldots$.
  4. The answer is $\boxed{059}$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year
1996 (1 problems)
1991 (1 problems)