Search

Search papers and lessons

Prime k-Tuples Conjecture

Level 3 · 12 min read

The Prime k-Tuples Conjecture predicts how often a fixed pattern of prime shifts, such as n and n plus 2 both prime, occurs, and gives the count as a precise formula. It is still unproven.

On this page

  • Colour = topic mix
  • Discrete math
  • Calculus
  • ReadReady to readNot yet

TL;DR

A prime k-tuple is a pattern of k numbers, each shifted from a starting number n by a fixed amount, such that all of them are prime. The Prime k-Tuples Conjecture says that such a pattern appears infinitely often whenever it is not blocked by a small prime, and it gives the expected count up to any size xx. It is one of the central open problems in number theory, and it is stronger than the statement that there are infinitely many twin primes.

Builds on: Prime Number, Modular Arithmetic, Logarithm · Leads to: bounded gaps between primes

Where it's used

Searching for record primes. Distributed computing projects look for very large prime tuples, such as prime pairs and prime quadruplets. Before a search starts, the conjecture's density formula tells the team how many hits to expect in a range of numbers, so they can decide how far to search and what the search is likely to find.

Sieve theory research. Methods that count primes by sifting out multiples of small primes cannot yet prove the conjecture. Their limits are studied by asking what the best provable result is, and the conjecture is the target that these methods are measured against. The 2013 work of Maynard, described in the small gaps paper, proved a result much weaker than the conjecture but still striking: some pattern of primes repeats within a bounded distance infinitely often.

Checking the theory against computer data. Number theorists count prime pairs up to millions or billions and compare the counts with the conjectured formula. Agreement at large sizes gives confidence in the constants, and disagreement warns that a term in the formula is wrong. This is the same empirical habit that Gauss used for the prime number theorem.

How it works

Start with the simplest interesting pattern: a prime pair (n,n+2)(n, n+2), called a twin prime pair. Here is the conjecture applied to that pattern, step by step.

  1. Fix the pattern. We want nn and n+2n + 2 to be prime at the same time. The shifts are 00 and 22.

  2. Test small starting numbers. Try n=3n = 3: the pair is 33 and 55, both prime. Try n=5n = 5: the pair is 55 and 77, both prime. Try n=7n = 7: the pair is 77 and 99, and 9=3×39 = 3 \times 3 is not prime. Check: the failure at n=7n = 7 comes from a small prime, 33, dividing one member.

  3. Count up to 20. The starting numbers that work up to 20 are 33, 55, 1111 and 1717, giving the pairs (3,5)(3, 5), (5,7)(5, 7), (11,13)(11, 13) and (17,19)(17, 19). That is four pairs. Check: each of the four pairs was verified by the same test as in step 2.

  4. Estimate the density. A random number near xx is prime with chance about 1/ln⁡x1/\ln x. The conjecture says that a twin pair starting at nn has chance about 2C2/(ln⁡n)22C_2 / (\ln n)^2, where C2≈0.66C_2 \approx 0.66 is a constant that corrects for small primes. The factor 22 in front is part of the same correction, and it is computed in the math section.

  5. Add up the chances. The expected count of twin pairs with starting number at most xx is the area under this density from 22 to xx. For x=20x = 20 this area is about 5.15.1, so the prediction is about 2C2×5.1≈6.72C_2 \times 5.1 \approx 6.7.

  6. Compare. The true count is 4 and the prediction is about 7. At this size the prediction is rough, and the conjecture makes a claim about large xx. The plot shows the density that the count is summed from.

5101520253000.20.40.60.81xchance per number
  • density of primes: 1 over ln x
  • a pair of primes: 1 over (ln x) squared
A single prime falls off like one over the logarithm. A pattern of two primes falls off like one over the logarithm squared, which is why such patterns are rarer.
flowchart LR
  A[Pick a pattern of shifts] --> B[Admissible?]
  B -- no --> C[At most finitely many hits]
  B -- yes --> D[Density of hits: constant over ln x to the k]
  D --> E[Integrate up to x]
  E --> F[Predicted count]
  F --> G[Compare with the counted hits]

The math

Definition: Admissible pattern

Let H={h1,…,hk}H = \{h_1, \dots, h_k\} be a set of distinct whole numbers. For a prime pp, let νp(H)\nu_p(H) be the number of distinct remainders that the shifts leave when divided by pp. The set HH is admissible if νp(H)<p\nu_p(H) < p for every prime pp.

In words: HH is admissible when no prime blocks it, meaning every prime leaves at least one starting number that avoids dividing a shift.

Step 1 in symbols: admissibility

If νp(H)=p\nu_p(H) = p for some prime pp, then every starting number nn has some shift n+hin + h_i divisible by pp. For large nn that shift is not prime, so the pattern can be hit at most finitely often. Admissibility rules out this obstruction, and the conjecture applies only to admissible patterns.

Step 2 in symbols: the Hardy–Littlewood constant

The constant for a pattern is

S(H)=∏p1−νp(H)/p(1−1/p)k,\mathfrak{S}(H) = \prod_{p} \frac{1 - \nu_p(H)/p}{(1 - 1/p)^{k}},

where the product runs over all primes. Each factor corrects the naive density 1/(ln⁡x)k1/(\ln x)^k for how the pattern interacts with the prime pp. Admissibility makes each factor positive, so the product is a finite positive number.

For the twin pattern H={0,2}H = \{0, 2\} we have k=2k = 2. At p=2p = 2, ν2=1\nu_2 = 1, and the factor is (1−1/2)/(1−1/2)2=2(1 - 1/2)/(1 - 1/2)^2 = 2. For p≥3p \ge 3, νp=2\nu_p = 2 and the factor simplifies to 1−1/(p−1)21 - 1/(p-1)^2. So

S({0,2})=2∏p≥3(1−1(p−1)2)=2C2≈1.3203,\mathfrak{S}(\{0, 2\}) = 2 \prod_{p \ge 3}\Big(1 - \frac{1}{(p-1)^2}\Big) = 2C_2 \approx 1.3203,

where C2≈0.6602C_2 \approx 0.6602 is the twin prime constant.

Step 3 in symbols: the count

The conjecture is that the number of starting points n≤xn \le x with every n+hin + h_i prime satisfies

#{n≤x:n+h1,…,n+hk all prime}∼S(H)∫2xdt(ln⁡t)k.\#\{n \le x : n + h_1, \dots, n + h_k \text{ all prime}\} \sim \mathfrak{S}(H) \int_2^x \frac{dt}{(\ln t)^k}.

The symbol ∼\sim means the ratio of the two sides tends to 11 as xx grows. For k=1k = 1 and H={0}H = \{0\}, the constant is 11 and the formula is the prime number theorem, which is the sanity check the conjecture must pass.

Step 4 in symbols: the twin case

With k=2k = 2 and S=2C2\mathfrak{S} = 2C_2, the twin prime count is

π2(x)∼2C2∫2xdt(ln⁡t)2.\pi_2(x) \sim 2C_2 \int_2^x \frac{dt}{(\ln t)^2}.

The walkthrough gave about 6.76.7 for x=20x = 20 with this integral. The leading term alone, 2C2⋅x/(ln⁡x)22C_2 \cdot x / (\ln x)^2, is the first approximation to the integral and is simpler to compute.

Worked examples

Example
1. Checking admissibility by hand

Is H={0,2,4}H = \{0, 2, 4\} admissible? Is H={0,2,6}H = \{0, 2, 6\}?

  1. For H={0,2,4}H = \{0, 2, 4\} and p=3p = 3, the remainders are 00, 22, and 4 mod 3=14 \bmod 3 = 1. All three residues occur, so ν3=3=p\nu_3 = 3 = p.
  2. Therefore {0,2,4}\{0, 2, 4\} is not admissible. Interpretation: among nn, n+2n + 2 and n+4n + 4 one is always divisible by 33, so the only prime triple of this shape is (3,5,7)(3, 5, 7).
  3. For H={0,2,6}H = \{0, 2, 6\} and p=2p = 2: all three shifts are even, so ν2=1<2\nu_2 = 1 < 2.
  4. For p=3p = 3: the remainders are 00, 22, and 6 mod 3=06 \bmod 3 = 0, so ν3=2<3\nu_3 = 2 < 3.
  5. For p≥5p \ge 5: there are only three shifts, so νp≤3<p\nu_p \le 3 < p.
  6. Therefore {0,2,6}\{0, 2, 6\} is admissible. Interpretation: n=5n = 5 gives 55, 77 and 1111, all prime, and the conjecture says this pattern occurs infinitely often.
Example
2. The twin count at one million (standard case)

The number of twin prime pairs below 10610^6 is π2(106)=8169\pi_2(10^6) = 8169. We compare it with the leading term 2C2⋅x/(ln⁡x)22C_2 \cdot x / (\ln x)^2.

  1. Compute ln⁡(106)≈13.8155\ln(10^6) \approx 13.8155, and square it: (13.8155)2≈190.87(13.8155)^2 \approx 190.87.
  2. Divide: 106/190.87≈523910^6 / 190.87 \approx 5239.
  3. Multiply by 2C2≈1.32032C_2 \approx 1.3203: 5239×1.3203≈69185239 \times 1.3203 \approx 6918.
  4. Compare: 8169/6918≈1.188169 / 6918 \approx 1.18.

Interpretation: at this size the true count is about 18 percent above the leading term. The full integral ∫2xdt/(ln⁡t)2\int_2^x dt/(\ln t)^2 is larger than the leading term and brings the prediction much closer to the true count. The conjecture is about the ratio tending to 11 as xx grows, not about any single size.

Example
3. Planning a search for twin pairs (realistic)

A team plans to scan the 10,000 consecutive numbers starting near 10610^6 for twin prime pairs. How many pairs should they expect?

  1. Compute the local density: 2C2/(ln⁡106)2≈1.3203/190.87≈0.0069182C_2 / (\ln 10^6)^2 \approx 1.3203 / 190.87 \approx 0.006918 pairs per starting number.
  2. Multiply by the window length: 0.006918×10,000≈690.006918 \times 10{,}000 \approx 69.
  3. Interpretation: the team should expect about 69 pairs. If their search finds 20, that gap is large enough to check the search code and the window boundaries before drawing any conclusion about the formula.

Try it: the team scans 50,000 numbers near 10910^9 instead. Compute the expected count. Answer: ln⁡(109)≈20.7233\ln(10^9) \approx 20.7233, its square is about 429.45429.45, so the density is 1.3203/429.45≈0.0030741.3203 / 429.45 \approx 0.003074, and 0.003074×50,000≈1540.003074 \times 50{,}000 \approx 154 pairs.

Common mistakes and tradeoffs

It is tempting to think that the conjecture says any pattern of primes appears infinitely often. In fact only admissible patterns are covered. A pattern like {0,1}\{0, 1\} has one of its two numbers even in every case, so the only prime pair of this shape is (2,3)(2, 3).

It is tempting to think the constant is a fudge factor. In fact it is the correction for how the pattern interacts with each small prime. Dropping it changes the count by a constant factor, and for twin primes that factor is about 1.321.32.

It is tempting to think a small count disproves the conjecture. In fact the formula is asymptotic. At x=20x = 20 the count is 4 and the prediction is about 7, which is a poor match but says nothing about large xx. The test is the ratio at large xx, as in Example 2.

It is tempting to think the conjecture has been proved. In fact it is open. Zhang's 2013 proof that some difference between primes is at most 70 million was followed by Maynard's 2013 work, which showed that for any fixed number mm there is a size kk such that, in every admissible pattern of kk shifts, at least mm of the shifts give primes infinitely often. The full pattern, including the twin case with difference 2, remains unproven.

It is tempting to think a simple random model of primes gives the answer. In fact a random model reproduces the density 1/ln⁡x1/\ln x but misses the correlations between primes modulo small numbers, and those correlations are exactly what the constant S(H)\mathfrak{S}(H) captures.

When to use it: to predict counts, to plan computation, and to judge whether a proposed proof method could reach the conjectured result. When not to use it: as a proof, or as an exact count at small sizes. Alternatives: the prime number theorem is proved and covers single primes; sieve bounds give rigorous upper and lower estimates for patterns; and probabilistic models give quick heuristics that must still be corrected by S(H)\mathfrak{S}(H).

History

In 1904 Leonard Dickson stated a qualitative version of the conjecture for general patterns of linear shifts. In 1919 Viggo Brun showed that the sum of the reciprocals of the twin primes converges, which was a rigorous step towards understanding their distribution without counting them exactly.

In 1923 G. H. Hardy and J. E. Littlewood proposed the precise asymptotic formula with the constant S(H)\mathfrak{S}(H), in a series of papers on the partition problem. Their formula is the one used above.

Progress on the conjecture itself came slowly. Goldston, Pintz and Yıldırım made gaps between primes small relative to their average size in 2005. In 2013 Yitang Zhang proved the first bounded-gap result, and Maynard's sieve improved the bound quickly, which led to the collaborative Polymath8 project. The conjecture remains open, but the methods that approach it are now much stronger.

Recap

  • A prime k-tuple is a pattern HH of shifts, and it is admissible when no prime blocks every starting number.
  • The Hardy–Littlewood conjecture says an admissible pattern occurs about S(H)∫2xdt/(ln⁡t)k\mathfrak{S}(H) \int_2^x dt / (\ln t)^k times up to xx.
  • For twin primes, S({0,2})=2C2≈1.3203\mathfrak{S}(\{0, 2\}) = 2C_2 \approx 1.3203, so the count is about 2C2∫2xdt/(ln⁡t)22C_2 \int_2^x dt / (\ln t)^2.
  • For k=1k = 1 the conjecture is the prime number theorem, which is proved; the open part is the counting formula for every pattern with k at least 2.
  • Read next: Prime Number Theorem for the single-prime case, and the small gaps paper for the closest proven results.

Check yourself

QuestionIs the pattern {0,2,4}\{0, 2, 4\} admissible, and what does the answer mean for prime triples of this shape?Show answer

It is not admissible, because for the prime p=3p = 3 the shifts cover all three residues, so ν3=3=p\nu_3 = 3 = p. Among any three numbers nn, n+2n + 2 and n+4n + 4, one is divisible by 33, so the only prime triple of this shape is (3,5,7)(3, 5, 7).

QuestionFor the pattern {0,2}\{0, 2\}, what is the constant at the prime 2, and what is the value of S\mathfrak{S}?Show answer

At p=2p = 2 the pattern has ν2=1\nu_2 = 1, and the factor is (1−1/2)/(1−1/2)2=2(1 - 1/2)/(1 - 1/2)^2 = 2. For primes p≥3p \ge 3 the factors multiply to C2≈0.6602C_2 \approx 0.6602, so S({0,2})=2C2≈1.3203\mathfrak{S}(\{0, 2\}) = 2C_2 \approx 1.3203.

QuestionWhy is it not a contradiction that the conjecture predicts about 7 twin pairs up to 20 while there are 4?Show answer

The conjecture is an asymptotic statement, so its ratio to the true count is meant to approach 11 as xx grows, not to match at small xx. Small counts fluctuate a great deal around the formula, and at x=20x = 20 the approximation is not yet informative.

QuestionA colleague says that because Maynard's result shows bounded gaps between primes, the twin prime conjecture is now proven. What is the correct response?Show answer

That is not correct. Bounded gaps show that some pair of primes differ by at most a fixed number, which is much weaker than saying that the difference 2 occurs infinitely often. The twin prime conjecture needs the specific shift 2, and the full Prime k-Tuples Conjecture, including its constant, remains open.

Sources