I have an assignment where the following statement is:
Determine the lowest positive integer that is congruent with the statement mod 12: $$ 8^{2012} + 2012^8 $$
How can I solve this? I have totally forgotten...
I have an assignment where the following statement is:
Determine the lowest positive integer that is congruent with the statement mod 12: $$ 8^{2012} + 2012^8 $$
How can I solve this? I have totally forgotten...
We have $\;8^n\equiv\begin{cases}4\mod12&\text{if $n$ is even},\\8\mod12&\text{if $n$ is odd}\end{cases}.$
Furthermore $\;2012\equiv 8\mod 12$, hence $$8^{2012}+2012^8\equiv 4+4=8\mod 12.$$