Fermat's little theorem
Fermat's little theorem (not to be confused with Fermat's last theorem) states that if p is a prime number, then for any integer a,
Related Topics:
Fermat's last theorem - Prime number - Integer
~ ~ ~ ~ ~ ~ ~ ~ ~ ~
:a^p equiv a pmod{p},!
~ ~ ~ ~ ~ ~ ~ ~ ~ ~
This means that if you take some number a, multiply it by itself p times and subtract a, the result is divisible by p (see modular arithmetic).
~ ~ ~ ~ ~ ~ ~ ~ ~ ~
The theorem is often stated in the following equivalent form: if p is a prime and a is an integer coprime to p, then
~ ~ ~ ~ ~ ~ ~ ~ ~ ~
:a^{p-1} equiv 1 pmod{p},!
~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Fermat's little theorem is the basis for the Fermat primality test.
~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~ Table of Content ~
| ► | Introduction |
| ► | Numerical examples |
| ► | History |
| ► | Proofs |
| ► | Generalizations |
| ► | Pseudoprimes |
| ► | See also |
| ► | References |
| ► | External links |
~ What's Hot ~
Madagascar 3, 500 Days Of Summer, Avatar, Sorority Row, Fantastic Mr Fox, Eclipse, Hannah Montana The Movie, The Ugly Truth, The Mummy 4 Rise Of The Aztec, New Moon, The Blind Side, The Princess And The Frog, Alvin And The Chipmunks The Squeakquel, Lethal Weapon 5, Ninja Assassin, 2012, Breaking Dawn, The Boondock Saints Ii All Saints Day, Twilight, My Sister S Keeper,
~ Community ~
| ► | History Forum Come and discuss about History, Civilizations, Historical Events and Figures |
| ► | History Web-Ring A community of sites, blogs and forums dedicated to History. Do not hesitate to submit your site. |
and are licensed under the GNU Free Documentation License.
Lexicon - Privacy Policy - Spiritus-Temporis.com ©2005.