Take a test Sign in 中文
← Exercise 797 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
Contents · by chapter
Digits (38)
Primes (31)
Fractions, Decimals, and the Floor Function (18)
Divisors, GCD, and LCM (36)
Divisibility (59)
Bases (15)
Modular Arithmetic (42)
Integer Equations (27)

Exercises and their solutions

Exercise 797
The sum of the reciprocals of all positive integers $n$ for which $\frac1n$ has a terminating decimal expansion is $\frac mn$ in lowest terms. What is $m+n$?
← Back to Problem 797
Solution
  1. $\frac1n$ terminates exactly when $n=2^a5^b$.
  2. The sum is $\left(\sum_a2^{-a}\right)\left(\sum_b5^{-b}\right)=2\cdot\frac54=\frac52$.
  3. So $m+n=\boxed{7}$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year