Fermat pseudoprime
pseudoprime that satisfies Fermat’s little theorem

In number theory, the Fermat pseudoprimes make up the most important class of pseudoprimes that come from Fermat's little theorem.
Definition
Fermat's little theorem states that if
p
{\displaystyle p}
is prime and
a
{\displaystyle a}
is coprime to
p
{\displaystyle p}
, then
a
p
−
1
−
1
{\displaystyle a^{p-1}-1}
is divisible by
p
{\displaystyle p}
. For a positive integer
a
{\displaystyle a}
, if a composite integer
x
{\displaystyle x}
divides
a
x
−
1
−
1
{\displaystyle a^{x-1}-1}
then
x
{\displaystyle x}
is called a Fermat pseudoprime to base
a
{\displaystyle a}
.
In other words, a composite integer is a Fermat pseudoprime to base
a
{\displaystyle a}
if it successfully passes the Fermat primality test for the base
a
{\displaystyle a}
. The false statement that all numbers that pass the Fermat primality test for base 2 are prime is called the Chinese hypothesis.
The smallest base-2 Fermat pseudoprime is 341. It is not a prime, since it equals 11·31, but it satisfies Fermat's little theorem:
2
340
≡
1
(
mod
341
)
{\displaystyle 2^{340}\equiv 1({\bmod {341}})}
and thus passes the
Fermat primality test for the base 2.
Pseudoprimes to base 2 are sometimes called Sarrus numbers, after P. F. Sarrus who discovered that 341 has this property, Poulet numbers, after P. Poulet who made a table of such numbers, or Fermatians (sequence A001567 in the OEIS).
A Fermat pseudoprime is often called a pseudoprime, with the modifier Fermat being understood.
An integer
x
{\displaystyle x}
that is a Fermat pseudoprime for all values of
a
{\displaystyle a}
that are coprime to
x
{\displaystyle x}
is called a Carmichael number.
The public source identifies “Fermat pseudoprime” as pseudoprime that satisfies Fermat’s little theorem. This brief keeps that definition visible, then builds a research path around Fermat, pseudoprime and satisfies.
Why this record matters
A short description can identify a subject without explaining its stakes. For “Fermat pseudoprime”, the useful work is to connect “pseudoprime that satisfies Fermat’s little theorem” to the records capable of establishing context and consequence.
Named sources, stable identifiers and responsible institutions provide the strongest route from overview to verifiable evidence. The source revision retrieved here is dated Sep 14, 2026. The linked authority identifier is Q1406394. None of the 0 selected statements returned an explicit reference.
A concise general-reference account can conceal disagreements about scope, terminology or the weight assigned to individual sources. The lead is largely declarative, so disagreement and counter-evidence require a deliberate search beyond the opening account. Authority statements aid reconciliation but still require their own references, qualifiers and ranks to be checked.
How to read it
Use the entry as an orientation point, then follow its citations and revision history. Names, dates and institutional relationships should be checked against the original record.
- Subject orientation
- Search vocabulary
- Locating named sources
The closest primary source, responsible institution and strongest cited specialist reference.
Three-step research path
- Establish the record: confirm the title “Fermat pseudoprime”, its source revision and the description used here.
- Expand the search: follow Fermat pseudoprime primary sources, Fermat pseudoprime archive and Fermat research across catalogues and specialist indexes.
- Test the account: compare the strongest cited source with the responsible institution’s current record and note any disagreement.
Questions for further research
- Which source most directly establishes the central claim about “Fermat pseudoprime”?
- What terminology or title could unlock a more precise catalogue search?
- Which institution is responsible for the underlying evidence?
Search terms from this dossier
This entry incorporates text from “Fermat pseudoprime” on English Wikipedia. Contributors are listed in the page history. Text is available under the Creative Commons Attribution-ShareAlike 4.0 License. Selected authority identifiers and statements are retrieved from Wikidata under CC0; their references and qualifiers remain part of the verification path.