Expii

# Fermat–Euler Theorem - Expii

The Fermat–Euler theorem (or Euler's totient theorem) says that a^{φ(N)} ≡ 1 (mod N) if a is coprime to the modulus N, where φ is Euler's totient function.