Open problem, Arithmetic and number theory, posed 1808
Legendre's conjecture
For every positive integer , there exists at least one prime number strictly between and : .
As of 2026 Legendre's conjecture remains open. Setting , the interval has length , so Legendre's conjecture requires guaranteeing a prime in every short interval . The strongest unconditional short-interval prime theorem is due to Baker, Harman, and Pintz (2001), who combined Harman's sieve with Watt's mean-value theorem for Dirichlet polynomials to prove that contains a prime for all sufficiently large . Even the Riemann hypothesis only gives (Cramér, 1920), which misses Legendre's threshold by a logarithmic factor. In the almost-prime direction, Chen (1975) proved that — and in particular for large — always contains a number with at most two prime factors. Numerically, maximal prime gaps have been checked past , verifying Legendre's conjecture well beyond .
Best known results
- For all sufficiently large , the short interval contains at least one prime (Baker–Harman–Pintz, 2001).
- For all sufficiently large , the interval contains a number with at most two prime factors (Chen, 1975).
- There is always a prime between consecutive cubes and for all sufficiently large (Ingham, 1937).
Tools and where they stop
| Tool | Achieved | Where it stops |
|---|---|---|
| Harman's sieve and Dirichlet polynomial mean-value estimates | Combines zero-density estimates for with sieve decompositions of the prime indicator function to detect primes in intervals down to (Baker–Harman–Pintz, 2001). | Even under the Lindelöf hypothesis and the Riemann hypothesis, classical explicit-formula and sieve methods run into a square-root barrier at with an extra logarithmic loss . |
| Weighted linear sieve in short intervals (Chen; Iwaniec–Laborde) | Proves that contains a almost-prime for (Iwaniec–Laborde, 1981), well below the needed for (Chen, 1975). | Stopped from isolating true primes () at by the parity barrier of sieve theory, which cannot distinguish numbers with one prime factor from products of two primes. |
Open questions
- Can the Baker–Harman–Pintz short-interval exponent be lowered unconditionally to , especially in light of the 2024 Guth–Maynard zero-density estimate?
- Can Legendre's conjecture be proved conditionally under the Riemann hypothesis by eliminating the factor in Cramér's prime-gap bound ?
References
- Adrien-Marie Legendre (1808). Essai sur la théorie des nombres
- Albert E. Ingham (1937). On the difference between consecutive primes · DOI:10.1093/qmath/os-8.1.255
- Jing-Run Chen (1975). On the distribution of almost primes in an interval
- Henryk Iwaniec, Marc Laborde (1981). in short intervals · DOI:10.5802/aif.848
- Henryk Iwaniec, János Pintz (1984). Primes in short intervals · DOI:10.1007/bf02385465
- Roger C. Baker, Glyn Harman, János Pintz (2001). The difference between consecutive primes, II · DOI:10.1112/plms/83.3.532