Groups
Category
Level
A modular inverse of a modulo m is a number a_inv such that a × a_inv ≡ 1 (mod m).
Fermat's Little Theorem says that for a prime p and integer a not divisible by p, a^{p-1} ≡ 1 (mod p).