Problem 943: (2009 AMC 10b, 21)
What is the remainder when $3^0 + 3^1 + 3^2 + \cdots + 3^{2009}$ is divided by 8?
$\textbf{(A)}\ 0 \qquad \textbf{(B)}\ 1 \qquad \textbf{(C)}\ 2 \qquad \textbf{(D)}\ 4 \qquad \textbf{(E)}\ 6$
- Mod $8$, $3^k$ is $1$ for even $k$ and $3$ for odd $k$, so each pair $3^{2j}+3^{2j+1}\equiv4$.
- There are $1005$ pairs, so the sum $\equiv4\cdot1005\equiv4\pmod8$. The answer is (D).
What is the remainder when $5^0+5^1+5^2+\cdots+5^{2025}$ is divided by $13$?