# problems/TwinPrimes.md @ c0ea08d220800adfb55af275ee0ccf51d137b0da

````
---
title: Twin prime conjecture
line: Are there infinitely many pairs of primes that differ by 2?
order: 3
colour: teal
status: listed
status_checked: 2026-12-01
status_source: https://en.wikipedia.org/wiki/Twin_prime
source: https://github.com/google-deepmind/formal-conjectures/blob/a61ab09632df039ef8381b6ac8accc5ce4d954d7/FormalConjectures/Wikipedia/TwinPrimes.lean TwinPrimes.twin_primes
licence: Our own text: CC BY 4.0, credit "neoopensource, https://neoopensource.com/r/math". Upstream statement: Apache-2.0 (google-deepmind/formal-conjectures).
---
# Twin prime conjecture

Are there infinitely many primes p such that p + 2 is also prime?

## The problem

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.

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.

## Status

Unsolved 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)).

This project does not solve it.

## Here

This problem is listed only: it cannot be checked on this site yet. No statement has been reviewed here, and no proof is accepted.

## Sources and attribution

- 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).
- Status: [Wikipedia, Twin prime](https://en.wikipedia.org/wiki/Twin_prime); [MathWorld, Twin Prime Conjecture](https://mathworld.wolfram.com/TwinPrimeConjecture.html).

````

API: `https://git.neoopensource.com/v1/repos/math/blob?rev=c0ea08d220800adfb55af275ee0ccf51d137b0da&path=problems%2FTwinPrimes.md`
