Using the Euler's theorem: $x^{\varphi\left(m\right)}\equiv1 \pmod{m}$, we have: If $x\ =\ 12,\ m\ =\ 17,$ then ${12}^{\varphi\left(17\right)}\equiv1 \pmod{17}$.
Now I have to use that fact to determine the residue of ${12}^{482}$ (mod 17).
I'm thinking of this approach:
$482=256+128+64+32+2=2^8+2^7+2^6+2^5+2^1$
Thus ${12}^{482} = 12^{256} \cdot 12^{128} \cdot 12^{64} \cdot 12^{32} \cdot 12^{2} $
So the residue of ${12}^{482}$ (mod 17) can be obtained by multiplying together the residues of $12^{256}$, ... above and then taking the residue of that product.
But is this the simplest way? Have I made the best use of the Euler's theorem result above? Thank you so much!