To compute $5^{15} \pmod 7$ how should I apply Corollary of the Lagrange theorem?

491 Views Asked by At

What is the simple way of calculating $5^{15} \pmod 7$ and how to use Corollary ($a^{|G|}=e$) to solve it?