Find the remainder when 7^222 is divided by 13.
Note
Reduce the base modulo 13 and use cyclic powers. This gives 7^222 ≡ 12 (mod 13).
Find the remainder when 7^222 is divided by 13.
Reduce the base modulo 13 and use cyclic powers. This gives 7^222 ≡ 12 (mod 13).