c0ea08d2 / problems / TwinPrimes.md

1---
2title: Twin prime conjecture
3line: Are there infinitely many pairs of primes that differ by 2?
4order: 3
5colour: teal
6status: listed
7status_checked: 2026-12-01
8status_source: https://en.wikipedia.org/wiki/Twin_prime
9source: https://github.com/google-deepmind/formal-conjectures/blob/a61ab09632df039ef8381b6ac8accc5ce4d954d7/FormalConjectures/Wikipedia/TwinPrimes.lean TwinPrimes.twin_primes
10licence: Our own text: CC BY 4.0, credit "neoopensource, https://neoopensource.com/r/math". Upstream statement: Apache-2.0 (google-deepmind/formal-conjectures).
11---
12# Twin prime conjecture
13
14Are there infinitely many primes p such that p + 2 is also prime?
15
16## The problem
17
18The set of natural numbers p such that both p and p + 2 are prime is infinite. Equivalently: for every natural number N there is a prime p > N with p + 2 also prime.
19
20Examples of such pairs are (3, 5), (5, 7), (11, 13) and (17, 19). Results showing that infinitely many pairs of primes lie within some fixed gap larger than 2 do not settle this problem.
21
22## Status
23
24Unsolved as of 2026-12-01. Wikipedia lists it among unsolved problems in number theory ([Wikipedia](https://en.wikipedia.org/wiki/Twin_prime)); MathWorld states that it is not known whether there are infinitely many twin primes ([MathWorld](https://mathworld.wolfram.com/TwinPrimeConjecture.html)).
25
26This project does not solve it.
27
28## Here
29
30This problem is listed only: it cannot be checked on this site yet. No statement has been reviewed here, and no proof is accepted.
31
32## Sources and attribution
33
34- Upstream formal statement: [FormalConjectures/Wikipedia/TwinPrimes.lean](https://github.com/google-deepmind/formal-conjectures/blob/a61ab09632df039ef8381b6ac8accc5ce4d954d7/FormalConjectures/Wikipedia/TwinPrimes.lean), declaration `TwinPrimes.twin_primes`, google-deepmind/formal-conjectures at commit a61ab09632df039ef8381b6ac8accc5ce4d954d7 (Apache-2.0).
35- Status: [Wikipedia, Twin prime](https://en.wikipedia.org/wiki/Twin_prime); [MathWorld, Twin Prime Conjecture](https://mathworld.wolfram.com/TwinPrimeConjecture.html).