Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Fermat's little theorem
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Pseudoprimes == {{main|Pseudoprime}} If {{mvar|a}} and {{mvar|p}} are coprime numbers such that {{math|''a''<sup>''p''−1</sup> − 1}} is divisible by {{mvar|p}}, then {{mvar|p}} need not be prime. If it is not, then {{mvar|p}} is called a ''(Fermat) pseudoprime'' to base {{mvar|a}}. The first pseudoprime to base 2 was found in 1820 by [[Pierre Frédéric Sarrus]]: 341 = 11 × 31.<ref>{{Cite OEIS|A128311|Remainder upon division of 2<sup>''n''−1</sup>−1 by ''n''.}}</ref><ref>{{cite journal |first=Frédéric |last=Sarrus |author-link=Pierre Frédéric Sarrus |title=Démonstration de la fausseté du théorème énoncé á la page 320 du IXe volume de ce recueil |trans-title=Demonstration of the falsity of the theorem stated on page 320 of the 9th volume of this collection |journal=Annales de Mathématiques Pures et Appliquées |volume=10 |date=1819–1820 |pages=184–187 |language=fr |url=http://www.numdam.org/item?id=AMPA_1819-1820__10__184_0}}</ref> A number {{mvar|p}} that is a Fermat pseudoprime to base {{mvar|a}} for every number {{mvar|a}} coprime to {{mvar|p}} is called a [[Carmichael number]]. Alternately, any number {{mvar|p}} satisfying the equality <math display="block">\gcd\left(p, \sum_{a=1}^{p-1} a^{p-1}\right)=1</math> is either a prime or a Carmichael number.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)