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.
Let be the multiplicative order of modulo . Use Euclidean division to write , . Since ,If , minimality of forces , so divides . Conversely, immediately gives . For negative integers , powers are interpreted using the multiplicative inverse and the same argument applies.
If with an odd prime, then but . The multiplicative order consequently divides four and is neither one nor two, so it is four. The preceding divisibility result makes necessary.
For sufficiency, suppose and put , an even integer. Pair opposite factors in the factorial:Wilson's theorem gives , explicitly producing a square root of minus one modulo a prime. Thus
Articles by others on the same topic
There are currently no matching articles.