{"ok":true,"data":{"commit":"02fc4285df7ebfa6a7e7f10272fcfbe3bb7a81a0","path":"problems/TwinPrimes.md","oid":"e432631946461acd66d525dfa4705d1dcb9368ef","size":2386,"range_start":0,"range_end":2386,"truncated":false,"binary":false,"encoding":"utf8","content":"---\ntitle: Twin prime conjecture\nline: Are there infinitely many pairs of primes that differ by 2?\norder: 3\ncolour: teal\nstatus: listed\nstatus_checked: 2026-12-02\nstatus_source: https://en.wikipedia.org/wiki/Twin_prime\nsource: https://github.com/google-deepmind/formal-conjectures/blob/a61ab09632df039ef8381b6ac8accc5ce4d954d7/FormalConjectures/Wikipedia/TwinPrimes.lean TwinPrimes.twin_primes\nlicence: Our own text: CC BY 4.0, credit \"neoopensource, https://neoopensource.com/r/math\". Upstream statement: Apache-2.0 (google-deepmind/formal-conjectures).\n---\n# Twin prime conjecture\n\nAre there infinitely many primes p such that p + 2 is also prime?\n\n## The problem\n\nThe 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.\n\nExamples 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.\n\n## Status\n\nUnsolved 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)).\n\nThis project does not solve it.\n\n## Here\n\nThis problem is listed only. No proof of it can be checked on this site yet, and none has been accepted.\n\nIts 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.\n\n## Sources and attribution\n\n- 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).\n- Status: [Wikipedia, Twin prime](https://en.wikipedia.org/wiki/Twin_prime); [MathWorld, Twin Prime Conjecture](https://mathworld.wolfram.com/TwinPrimeConjecture.html).\n"},"meta":{"request_id":"08f64e33-825","took_us":121,"limits":{"limit":600,"remaining":44,"window_ms":60000,"reset_ms":55507,"cost":1,"streams":{"limit":16,"open":0}}}}