Take a test Sign in 中文
← Exercise 569 →
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 569
Let $S_n$ be the sum of the reciprocals of the non-zero digits of the base-$8$ representations of the integers from $1$ to $8^n$ inclusive. Find the smallest positive integer $n$ for which $S_n$ is an integer.
← Back to Problem 569
Solution
  1. Among $0,\dots,8^n-1$ written with $n$ base-$8$ digits, each digit $1,\dots,7$ appears $n\cdot8^{n-1}$ times; $8^n$ adds $1$.
  2. So $S_n=n\cdot8^{n-1}H_7+1$ with $H_7=\frac{363}{140}$.
  3. We need $140=4\cdot5\cdot7\mid n\cdot8^{n-1}\cdot363$; for $n\ge2$ the $4$ is automatic, so $35\mid n$, and $n=35$.
  4. The answer is $\boxed{035}$.
Search Go to Prev      Next

Contact Us

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