Find the remainder when 7^4 is divided by 5.
Note
Reduce base mod 5: 7 ≡ 2 (mod 5). Then 2^4 = 16 ≡ 1 (mod 5), so the remainder is 1.
Find the remainder when 7^4 is divided by 5.
Reduce base mod 5: 7 ≡ 2 (mod 5). Then 2^4 = 16 ≡ 1 (mod 5), so the remainder is 1.