What is the remainder when is divided by 8?
- A)
- B)
- C)
- D)
- E)
Answer
D
Key insight
Powers of 3 alternate 1, 3, 1, 3 mod 8, so consecutive pairs sum to 4 and the 1005 pairs contribute 1005 times 4, which is 4 mod 8.
Solution
Since , the powers of modulo alternate: even exponents give , odd exponents give .
The sum has exponents through , which is terms. Group them into consecutive pairs ; each pair is , and there are pairs. The total is therefore
because . Equivalently, is odd, and an odd number of 's is .
The answer is .
Why this works
Remainders of powers are periodic, and the period here is only , so the whole sum reduces to counting blocks. Always count the number of terms carefully when the sum begins at exponent . The parity of the number of blocks is what decides between and .
Alternative approach
Use the geometric series: the sum is . Since and , we have , so and dividing by gives .
The trap
Counting 2009 terms instead of 2010 (the sum starts at the exponent 0), which leaves a stray term and gives remainder 1.
Common mistakes
- Counting 2009 terms instead of 2010 (the sum starts at the exponent 0), which leaves a stray term and gives remainder 1.
- Reducing the closed form modulo directly; dividing by requires working modulo first.
Techniques
Compute small cases, spot the pattern, generalize