As stated in the title, I'm supposed to show that $$2^{100}\equiv 2 \pmod {23}$$
I can't really wrap my head around this. At first I thought the book said that $a \equiv a^x$ no matter the exponent, but this doesn't seem to hold true since $2^1, 2^2, 2^3$ etc all seem to have different remainders when divided by 23.
So how "do" you arrive at this conclusion?
Thanks in advance!
Hint: $2^{100}\equiv 2 \bmod {23}$ iff $2^{99}\equiv 1 \bmod {23}$. So try $2^k \bmod {23}$ for $k=1,9,11$, the proper divisors of $99$.