MathLabs

Open problem, Arithmetic and number theory, posed 1808

Legendre's conjecture

OpenLandau #3

For every positive integer n≥1n \ge 1, there exists at least one prime number pp strictly between n2n^2 and (n+1)2(n+1)^2: n2<p<(n+1)2n^2 < p < (n+1)^2.

Research frontier as of 2026

As of 2026 Legendre's conjecture remains open. Setting x=n2x = n^2, the interval (n2,(n+1)2)(n^2, (n+1)^2) has length 2x1/2+12x^{1/2} + 1, so Legendre's conjecture requires guaranteeing a prime in every short interval [x,x+2x1/2][x, x + 2x^{1/2}]. 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 [x,x+x0.525][x, x + x^{0.525}] contains a prime for all sufficiently large xx. Even the Riemann hypothesis only gives pk+1−pk=O(pk1/2log⁡pk)p_{k+1} - p_k = O(p_k^{1/2} \log p_k) (Cramér, 1920), which misses Legendre's threshold by a logarithmic factor. In the almost-prime direction, Chen (1975) proved that [x,x+x1/2][x, x + x^{1/2}] — and in particular [n2,(n+1)2][n^2, (n+1)^2] for large nn — always contains a P2P_2 number with at most two prime factors. Numerically, maximal prime gaps have been checked past 264≈1.84×10192^{64} \approx 1.84 \times 10^{19}, verifying Legendre's conjecture well beyond n=4×109n = 4 \times 10^9.

Best known results

  • For all sufficiently large xx, the short interval [x,x+x0.525][x, x + x^{0.525}] contains at least one prime (Baker–Harman–Pintz, 2001).
  • For all sufficiently large nn, the interval [n2,(n+1)2][n^2, (n+1)^2] contains a P2P_2 number with at most two prime factors (Chen, 1975).
  • There is always a prime between consecutive cubes n3n^3 and (n+1)3(n+1)^3 for all sufficiently large nn (Ingham, 1937).

Tools and where they stop

ToolAchievedWhere it stops
Harman's sieve and Dirichlet polynomial mean-value estimatesCombines zero-density estimates for ζ(s)\zeta(s) with sieve decompositions of the prime indicator function to detect primes in intervals [x,x+xθ][x, x + x^\theta] down to θ=0.525\theta = 0.525 (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 θ=1/2\theta = 1/2 with an extra logarithmic loss x1/2log⁡xx^{1/2} \log x.
Weighted linear sieve in short intervals (Chen; Iwaniec–Laborde)Proves that [x,x+xθ][x, x + x^\theta] contains a P2P_2 almost-prime for θ=0.45\theta = 0.45 (Iwaniec–Laborde, 1981), well below the θ=1/2\theta = 1/2 needed for [n2,(n+1)2][n^2, (n+1)^2] (Chen, 1975).Stopped from isolating true primes (P1P_1) at θ=1/2\theta = 1/2 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 0.5250.525 be lowered unconditionally to 1/21/2, 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 log⁡x\log x factor in Cramér's prime-gap bound pk+1−pk=O(pk1/2log⁡pk)p_{k+1} - p_k = O(p_k^{1/2} \log p_k)?

References

  1. Adrien-Marie Legendre (1808). Essai sur la théorie des nombres
  2. Albert E. Ingham (1937). On the difference between consecutive primes · DOI:10.1093/qmath/os-8.1.255
  3. Jing-Run Chen (1975). On the distribution of almost primes in an interval
  4. Henryk Iwaniec, Marc Laborde (1981). P2P_2 in short intervals · DOI:10.5802/aif.848
  5. Henryk Iwaniec, János Pintz (1984). Primes in short intervals · DOI:10.1007/bf02385465
  6. Roger C. Baker, Glyn Harman, János Pintz (2001). The difference between consecutive primes, II · DOI:10.1112/plms/83.3.532