Art of Problem Solving
During AMC 10A/12A testing, the AoPS Wiki is in read-only mode and no edits can be made.

Fermat's Little Theorem: Difference between revisions

Chess64 (talk | contribs)
No edit summary
No edit summary
Line 4: Line 4:


Note: This theorem is a special case of [[Euler's totient theorem]].
Note: This theorem is a special case of [[Euler's totient theorem]].
== Corollary ==
A frequently used corolary of Fermat's little theorem is <math> a^p \equiv a \pmod {p}</math>.
As you can see, it is derived by multipling both sides of the theorem by a.


=== Credit ===
=== Credit ===

Revision as of 11:57, 18 June 2006

Statement

If ${a}$ is an integer and ${p}$ is a prime number, then $a^{p-1}\equiv 1 \pmod {p}$.

Note: This theorem is a special case of Euler's totient theorem.

Corollary

A frequently used corolary of Fermat's little theorem is $a^p \equiv a \pmod {p}$. As you can see, it is derived by multipling both sides of the theorem by a.

Credit

This theorem is credited to Pierre Fermat.

See also