Fermat's little theorem

For a prime p and an integer a not divisible by p, a raised to the power p−1 is congruent to 1 modulo p. It underlies modular arithmetic techniques in number theory and cryptography.

Connect