Take a test Sign in 中文
← Exercise 686 →
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 686
Let $R$ be the set of all possible remainders when a number of the form $2^n$, $n$ a nonnegative integer, is divided by $10000$. Let $S$ be the sum of the elements in $R$. Find the remainder when $S$ is divided by 1000.
← Back to Problem 686
Solution
  1. The remainders are $1,2,4,8$, and from $2^4$ on a cycle of length $500$ (the order of $2$ mod $625$).
  2. That cycle is exactly the $500$ multiples of $16$ below $10000$ not divisible by $5$, whose sum is $16\bigl(\sum_{k=1}^{624}k-5\sum_{j=1}^{124}j\bigr)=16(195000-38750)=2500000$.
  3. So $S\equiv1+2+4+8=15\pmod{1000}$.
  4. The answer is $\boxed{015}$.
Search Go to Prev      Next

Contact Us

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