How to solve modulo when base and modulo is prime numbers

45 Views Asked by At

Can you please explain how I can solve this:

$$ 59^{178}\equiv 1 \pmod{179}? $$

1

There are 1 best solutions below

0
On

Since $179$ is prime, this is a particular case of Fermat's little theorem.