Modular Arithmeticeasy
0:00.0

Using Fermat's Little Theorem, compute 36(mod7)3^6 \pmod{7}.