| 1 | --- |
| 2 | title: Twin prime conjecture |
| 3 | line: Are there infinitely many pairs of primes that differ by 2? |
| 4 | order: 3 |
| 5 | colour: teal |
| 6 | status: listed |
| 7 | status_checked: 2026-12-02 |
| 8 | status_source: https://en.wikipedia.org/wiki/Twin_prime |
| 9 | source: https://github.com/google-deepmind/formal-conjectures/blob/a61ab09632df039ef8381b6ac8accc5ce4d954d7/FormalConjectures/Wikipedia/TwinPrimes.lean TwinPrimes.twin_primes |
| 10 | licence: 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 | |
| 14 | Are there infinitely many primes p such that p + 2 is also prime? |
| 15 | |
| 16 | ## The problem |
| 17 | |
| 18 | The 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 | |
| 20 | Examples 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 | |
| 24 | Unsolved as of 2026-12-02. 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 | |
| 26 | This project does not solve it. |
| 27 | |
| 28 | ## Here |
| 29 | |
| 30 | This problem is listed only. No proof of it can be checked on this site yet, and none has been accepted. |
| 31 | |
| 32 | Its formal statement in this repository, `statements/TwinPrimes.lean`, is taken from google-deepmind/formal-conjectures. Two reviewers who did not write it, both AI agents working for this project, read it line by line and found that it says the problem described above. That is a reading, not a proof and not a machine check, and it can be wrong. |
| 33 | |
| 34 | ## Sources and attribution |
| 35 | |
| 36 | - 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). |
| 37 | - Status: [Wikipedia, Twin prime](https://en.wikipedia.org/wiki/Twin_prime); [MathWorld, Twin Prime Conjecture](https://mathworld.wolfram.com/TwinPrimeConjecture.html). |