Fermat number
positive integer of the form (2^(2^n))+1

In mathematics, a Fermat number, named after Pierre de Fermat (1601–1665), the first known to have studied them, is a positive integer of the form:
F
n
=
2
2
n
+
1
,
{\displaystyle F_{n}=2^{2^{n}}+1,}
where n is a non-negative integer. The first few Fermat numbers are: 3, 5, 17, 257, 65537, 4294967297, 18446744073709551617, 340282366920938463463374607431768211457, ... (sequence A000215 in the OEIS).
If 2k + 1 is prime and k > 0, then k itself must be a power of 2, so 2k + 1 is a Fermat number; such primes are called Fermat primes. As of 2026, the only known Fermat primes are F0 = 3, F1 = 5, F2 = 17, F3 = 257, and F4 = 65537 (sequence A019434 in the OEIS).
Basic properties
The Fermat numbers satisfy the following recurrence relations:
F
n
=
(
F
n
−
1
−
1
)
2
+
1
{\displaystyle F_{n}=(F_{n-1}-1)^{2}+1}
F
n
=
F
0
F
1
⋯
F
n
−
1
+
2
{\displaystyle F_{n}=F_{0}F_{1}\cdots F_{n-1}+2}
for n ≥ 1,
F
n
=
F
n
−
1
+
2
2
n
−
1
F
0
F
1
⋯
F
n
−
2
{\displaystyle F_{n}=F_{n-1}+2^{2^{n-1}}F_{0}F_{1}\cdots F_{n-2}}
F
n
=
(
F
n
−
1
−
2
F
n
−
2
+
1
)
2
+
(
2
(
F
n
−
2
−
2
)
(
F
n
−
3
−
1
)
)
2
+
(
2
F
n
−
2
−
3
)
2
{\displaystyle F_{n}=(F_{n-1}-2F_{n-2}+1)^{2}+(2(F_{n-2}-2)(F_{n-3}-1))^{2}+(2F_{n-2}-3)^{2}}
F
n
=
F
n
−
1
2
−
2
(
F
n
−
2
−
1
)
2
{\displaystyle F_{n}=F_{n-1}^{2}-2(F_{n-2}-1)^{2}}
for n ≥ 2. Each of these relations can be proved by mathematical induction. From the second equation, we can deduce Goldbach's theorem (named after Christian Goldbach): no two Fermat numbers share a common integer factor greater than 1. To see this, suppose that 0 ≤ i < j and Fi and Fj have a common factor a > 1. Then a divides both
F
0
F
1
⋯
F
j
−
1
{\displaystyle F_{0}F_{1}\cdots F_{j-1}}
and Fj; hence a divides their difference, 2.
Begin with the source’s own compact description: “Fermat number” is positive integer of the form (2^(2^n))+1. The dossier treats that line as a proposition to test through Fermat, number and positive, not as a finished interpretation.
Why this record matters
The phrase “positive integer of the form (2^(2^n))+1” supplies a clear boundary for inquiry. It also exposes the unanswered questions: who defined that boundary, when it became stable and which sources sit outside it.
Named sources, stable identifiers and responsible institutions provide the strongest route from overview to verifiable evidence. The source revision retrieved here is dated Sep 21, 2026. The linked authority identifier is Q207264. None of the 0 selected statements returned an explicit reference. The first chronological checks are 1601, 1665 and 2026.
Overview language is designed for orientation and should not be treated as a substitute for the evidence cited beneath it. 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 number”, its source revision and the description used here.
- Expand the search: follow Fermat number primary sources, Fermat number 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 number”?
- Which institution is responsible for the underlying evidence?
- Which cited source is closest to the event, object or claim?
Search terms from this dossier
This entry incorporates text from “Fermat number” 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.