If is a prime number and , multiplication by permutes the nonzero residue classes modulo : implies because has a multiplicative inverse. Multiplying all the permuted classes givesThe factorial is a nonzero element of the finite field , so cancellation is valid. Thereforewhich is Fermat's little theorem.
Articles by others on the same topic
There are currently no matching articles.