Take a test Sign in 中文
← Exercise 646 →
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 646
Let $S$ be the set of all rational numbers that can be expressed as a repeating decimal in the form $0.\overline{abcde},$ where at least one of the digits $a,$ $b,$ $c,$ $d,$ or $e$ is nonzero. Let $N$ be the number of distinct numerators obtained when numbers in $S$ are written as fractions in lowest terms. For example, both $4$ and $1234$ are counted among the distinct numerators for numbers in $S$ because $0.\overline{00004}=\frac{4}{99999}$ and $0.\overline{01234}=\frac{1234}{99999}.$ Find the remainder when $N$ is divided by $1000.$
← Back to Problem 646
Solution
  1. Numbers in $S$ are $\frac x{99999}$ with $1\le x\le99999$, and $99999=3^2\cdot41\cdot271$.
  2. A numerator $n$ appears iff $n<d$ and $\gcd(n,d)=1$ for some divisor $d>1$ of $99999$.
  3. Counting by cases on which of $3,41,271$ divide $n$ gives $N=68443$ (checked by computer), with remainder $443$.
  4. The answer is $\boxed{443}$.
Search Go to Prev      Next

Contact Us

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