Find the remainder when $100^{100}$ is divided by $7$.
I tried finding a pattern with the residues but it took a lot of time and I haven't found anything. Any answers?
Thanks!
elementary-number-theory
Find the remainder when $100^{100}$ is divided by $7$.
I tried finding a pattern with the residues but it took a lot of time and I haven't found anything. Any answers?
Thanks!
Best Answer
\begin{align} 100 &=2 \pmod 7 \\ 2^1 &=2 \pmod 7 \\ 2^2 &=4 \pmod 7 \\ 2^3 &=1 \pmod 7 \end{align}