Papers
Topics
Authors
Recent
Search
2000 character limit reached

Maximal Prime Gaps

Updated 3 January 2026
  • Maximal prime gaps are record-setting intervals between consecutive primes where each new gap exceeds all previous ones, highlighting irregularities in prime distribution.
  • They involve probabilistic models like Cramér’s and refinements by Granville, which predict a near-$( ext{log } x)^2$ growth trend and connect to extreme value theory.
  • Recent advances in sieve methods and computational techniques have tightened unconditional and conditional bounds, supporting key conjectures in analytic number theory.

A maximal prime gap is a record-setting interval between two consecutive primes: for the ordered primes pnp_n, the gap gn=pn+1png_n = p_{n+1} - p_n is maximal if gn>gig_n > g_i for all i<ni < n. The study of maximal prime gaps probes the interface between the regularity described by the Prime Number Theorem and the unpredictable variability in the distribution of primes. It plays a central role in analytic and probabilistic number theory, connecting to extreme value statistics, sieve theory, the Riemann hypothesis, and deep conjectures such as Cramér, Granville, and the Hardy–Littlewood kk-tuple conjecture.

1. Fundamental Definitions and Classical Results

Let p1=2,p2=3,p_1 = 2,\, p_2 = 3,\, \dots denote the primes in order, and define the nnth prime gap gn:=pn+1png_n := p_{n+1} - p_n. A gap gng_n is said to be a maximal prime gap (or "record gap") if gn>max1k<ngkg_n > \max_{1 \leq k < n} g_k. Let gn=pn+1png_n = p_{n+1} - p_n0 be the largest gap among all consecutive primes up to gn=pn+1png_n = p_{n+1} - p_n1. The gn=pn+1png_n = p_{n+1} - p_n2-th record gap appears at index gn=pn+1png_n = p_{n+1} - p_n3 and is denoted gn=pn+1png_n = p_{n+1} - p_n4.

Historically, the maximal prime gap function gn=pn+1png_n = p_{n+1} - p_n5 has attracted interest due to its connection with the subtler irregularities in the prime sequence, beyond the average spacing predicted by the Prime Number Theorem. The earliest unconditional result, due to Westzynthius (1931), established that gn=pn+1png_n = p_{n+1} - p_n6 as gn=pn+1png_n = p_{n+1} - p_n7 (Ford et al., 2014). Erdős (1935), Rankin (1938), and subsequent works provided quantitative lower bounds, while Cramér (1936) conjectured the correct upper order of growth.

2. Conjectures and Heuristic Laws: Cramér, Shanks, and Granville

Cramér–Shanks Conjecture

Cramér’s probabilistic model, based on treating primes as random with the correct density, leads to the conjecture: gn=pn+1png_n = p_{n+1} - p_n8 or equivalently, for prime index gn=pn+1png_n = p_{n+1} - p_n9, gn>gig_n > g_i0 (Cohen, 2024, Kourbatov, 2013). This is the Cramér–Shanks law.

Granville’s Refinement

Granville’s analysis, using more realistic models of prime distribution, predicts that the limsup of scaled record gaps exceeds the Cramér constant: gn>gig_n > g_i1 where gn>gig_n > g_i2 is Euler–Mascheroni (Cohen, 2024, Banks et al., 2019).

Explicit Growth and Moment Heuristics

Heuristics based on the statistics of rare events suggest for the gn>gig_n > g_i3th power moments of gaps,

gn>gig_n > g_i4

which ties directly to the exponential model for gaps and leads back to the predicted quadratic-logarithmic behavior for maximal gaps (Cohen, 2024).

3. Rigorous Bounds: Unconditional, Conditional, and Sieve Methods

Unconditional Upper Bounds

The best-known unconditional bound for all large gn>gig_n > g_i5 is due to Wang, who proves

gn>gig_n > g_i6

for all gn>gig_n > g_i7 (Wang, 20 Oct 2025). This confirms the quadratic-log order conjectured by Cramér, up to the explicit constant gn>gig_n > g_i8: gn>gig_n > g_i9 Earlier, Carella established for any i<ni < n0,

i<ni < n1

for large enough i<ni < n2 (Carella, 2013), but the sharpest unconditional exponent currently achievable is i<ni < n3.

Conditional Bounds (Riemann Hypothesis)

Assuming RH, improved bounds are possible. Carella proved (Carella, 2010)

i<ni < n4

while Carneiro, Milinovich, and Soundararajan obtained the explicit RH-bound (Carneiro et al., 2017)

i<ni < n5

These RH results represent the current state-of-the-art for all i<ni < n6 and connect prime gap questions to properties of i<ni < n7-zeros via explicit formulae.

Unconditional Lower Bounds

Ford, Green, Konyagin, Maynard, and Tao showed that for arbitrarily large i<ni < n8, there exist gaps

i<ni < n9

with kk0 as kk1 (Ford et al., 2014). No unconditional construction produces gaps of order as large as kk2—the gap between known lower and upper bounds remains substantial.

4. Probabilistic and Extreme-Value Models

Cramér’s Model and the Gumbel Law

In the Cramér random model—where each kk3 independently has probability kk4 of being "prime"—the distribution of maximal gaps converges, after centering and scaling, to the Gumbel distribution (Kourbatov, 2014, Kourbatov, 2013): kk5 with parameters kk6 and kk7. This is strongly supported numerically for actual primes (Kourbatov et al., 2019, Kourbatov, 2013).

Refined Trend Formulas

Numerical and heuristic arguments (Wolf–Shanks–Kourbatov–Oliveira e Silva) refine the basic kk8 trend: kk9 with p1=2,p2=3,p_1 = 2,\, p_2 = 3,\, \dots0 (from the twin prime constant) (Wolf, 2011, Kourbatov et al., 2019). Numerical data up to p1=2,p2=3,p_1 = 2,\, p_2 = 3,\, \dots1 confirm this trend within error of p1=2,p2=3,p_1 = 2,\, p_2 = 3,\, \dots2, and no maximal gap has ever exceeded p1=2,p2=3,p_1 = 2,\, p_2 = 3,\, \dots3 except in a handful of low and large p1=2,p2=3,p_1 = 2,\, p_2 = 3,\, \dots4 exceptions (Cohen, 2024).

5. Record Data, Verification, and Empirical Landscape

Extensive computations tabulate all record gaps up to p1=2,p2=3,p_1 = 2,\, p_2 = 3,\, \dots5. Visser utilized the 81 known record gaps to verify three sharper conjectured bounds (Firoozbakht, Nicholson, Farhadian) for all p1=2,p2=3,p_1 = 2,\, p_2 = 3,\, \dots6 (p1=2,p2=3,p_1 = 2,\, p_2 = 3,\, \dots7) (Visser, 2019). Empirical record gaps always remain beneath the p1=2,p2=3,p_1 = 2,\, p_2 = 3,\, \dots8 curve, with the ratio p1=2,p2=3,p_1 = 2,\, p_2 = 3,\, \dots9 from below, but with rare excursions above the Granville threshold (Cohen, 2024, Kourbatov, 2013).

Sample of Early Maximal Gaps

nn0 nn1 nn2 nn3
2 3 1 0.48
3 5 2 1.21
7 11 4 3.79
113 127 14 22.35
887 907 20 46.08
... ... ... ...

6. Maximal Gaps in Progressions, Residue Classes, and nn4-tuplets

The maximal gap framework extends to primes in arithmetic progressions and to prime nn5-tuples. For residue class nn6, maximal gaps almost always satisfy nn7; in general, the empirical trend is (Kourbatov, 2016, Kaptan, 2018)

nn8

with rare exceptions. Analogous extreme-value and Gumbel statistics appear for general nn9-tuplets, with the mean gap scaling as gn:=pn+1png_n := p_{n+1} - p_n0 and maximal gaps as gn:=pn+1png_n := p_{n+1} - p_n1 (Kourbatov, 2013, Kourbatov, 2014).

7. Open Problems and Future Directions

Despite substantial progress, a rigorous proof of the Cramér–Shanks law gn:=pn+1png_n := p_{n+1} - p_n2 remains elusive. The scale separation between current unconditional lower and upper bounds persists. Conditional improvements via RH are stagnated at gn:=pn+1png_n := p_{n+1} - p_n3 (Carella, 2010). On the computational side, faster sieves and large dataset runs have verified all conjectured upper bounds for primes gn:=pn+1png_n := p_{n+1} - p_n4 (Troisi, 2020, Visser, 2019). It remains an open question whether the limiting distribution of maximal gaps, when appropriately standardized, is truly Gumbel for the true prime sequence; this is currently known only in random and model settings (Kourbatov, 2014, Kourbatov et al., 2019). The precise limsup of gn:=pn+1png_n := p_{n+1} - p_n5 is unknown, but data and heuristic models suggest Granville's threshold is exceeded only extremely rarely. Further progress likely requires new ideas in sieve theory, prime tuples, or the analytic theory of L-functions.


Key references: (Wolf, 2011, Kourbatov, 2013, Carneiro et al., 2017, Wang, 20 Oct 2025, Ford et al., 2014, Kourbatov et al., 2019, Kourbatov, 2016, Troisi, 2020, Cohen, 2024, Kourbatov, 2014, Carella, 2013, Carella, 2010, Kourbatov, 2013, Wolf, 2010, Banks et al., 2019, Kaptan, 2018, Ford et al., 2015, Visser, 2019)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Maximal Prime Gaps.