{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}”No results found for “{{searchWords}}”× back to contents
Let $R$ be the set of all possible remainders when a number of the form $2^n$, $n$ a nonnegative integer, is divided by 1000. Let $S$ be the sum of the elements in $R$. Find the remainder when $S$ is divided by 1000.
The order of $2$ mod $125$ is $100$. For $n\ge3$, $2^n\equiv0\pmod8$, so $2^n\bmod1000$ is periodic with period $100$ from $n=3$ on, and the $100$ values are distinct. Also $1,2,4$ appear only once.
So $S\equiv1+2+4+\sum_{n=3}^{102}2^n=2^{103}-1\pmod{1000}$ (only a congruence, since $S$ adds the reduced remainders).
$2^{103}\equiv0\pmod8$ and $2^{103}\equiv2^3\pmod{125}$, so $2^{103}\equiv8\pmod{1000}$ and $S\equiv7\pmod{1000}$. The answer is $\boxed{007}$.
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.