Euler's theorem

See Euler's totient function

If n,a are coprime positive integers, then

aφ(n)1modn
Powered by Forestry.md