Prime gaps
The Race to the Twin Prime Conjecture
Two primes, two steps apart. Do pairs like these keep appearing forever?
Count the twins
Move the limit to compare the actual count with the Hardy–Littlewood estimate. A pair counts if both primes are at or below the limit.
Build a prime pattern
Pick the offsets from a starting number. A row lights up for each remainder the start can have without making any term a multiple of that row’s prime.
Remainders of the start
ProvenFrom seventy million to 246
In 2013, Yitang Zhang proved that a fixed gap bound holds infinitely often. The Maynard–Tao sieve and the Polymath8 collaboration brought that bound down to 246.
Gap between consecutive primes · log₁₀ scale
For mathematicians
Counting and estimating twin pairs
Here π₂(x) counts primes p for which p + 2 is also prime and p + 2 ≤ x. The worker sieves odd integers in blocks and carries the last prime across each boundary. Hardy and Littlewood’s conjectured asymptotic is stronger than the claim that twin primes occur infinitely often.
π₂(x) ∼ 2C₂ Li₂(x) · Li₂(x) = ∫₂ˣ dt/(log t)²
Why check only p ≤ k?
For k offsets h, a start n is blocked modulo p if n ≡ −h (mod p) for some offset. The pattern is admissible if these blocked residues never exhaust a prime modulus. At most k residues can be blocked, so each prime greater than k leaves at least one open.
When all residues are blocked, an all-prime pattern can still appear if a term equals the obstructing prime itself. For offsets (0, 2, 4), this gives the sole occurrence (3, 5, 7). The Hardy–Littlewood prime k-tuple conjecture predicts infinitely many occurrences for every admissible pattern.
What the bounds say
Write H₁ = lim inf (pₙ₊₁ − pₙ), where pₙ is the nth prime. Zhang proved H₁ < 70,000,000. Maynard reached H₁ ≤ 600, and Polymath8 reached H₁ ≤ 246. The generalized Elliott–Halberstam conjecture implies H₁ ≤ 6 by the Polymath8 result. The twin prime conjecture asserts H₁ = 2.