Preprint
Article

This version is not peer-reviewed.

A Note on Large Prime Gaps

Submitted:

29 May 2025

Posted:

04 June 2025

You are already at the latest version

Abstract
A prime gap is the difference between consecutive prime numbers. The $n^{\text{th}}$ prime gap, denoted $g_{n}$, is calculated by subtracting the $n^{\text{th}}$ prime from the $(n+1)^{\text{th}}$ prime: $g_{n}=p_{n+1}-p_{n}$. Cram{\'e}r's conjecture is a prominent unsolved problem in pure mathematics concerning prime gaps. The conjecture says that prime gaps are asymptotically bounded by $\mathrm{O}(\log^2 p_n)$. This paper presents a disproof of Cram\'{e}r's conjecture, which posits that the maximal gap $g_n$ between consecutive primes $p_n$ and $p_{n+1}$ satisfies $g_n = O(\log^2 p_n)$. By contradiction, we demonstrate that the conjecture leads to an inconsistent asymptotic regime for prime gaps. The result highlights a fundamental mismatch between the conjectured gap size and the actual distribution of primes. Our findings have significant implications for number theory, particularly in the study of large gaps between primes and related conjectures such as the Riemann Hypothesis and the Hardy-Littlewood conjectures. The disproof suggests that alternative models or stronger bounds may be necessary to accurately describe the maximal growth of prime gaps, opening new directions for future research in analytic number theory.
Keywords: 
;  ;  ;  

1. Introduction

Prime numbers, the indivisible building blocks of the integers, have captivated mathematicians for millennia. Their seemingly random distribution, characterized by irregular gaps, remains one of the most enduring mysteries in mathematics. Numerous conjectures, such as those concerning large prime gaps, seek to unveil underlying patterns within this irregularity by exploring connections between prime gap sizes and the primes themselves. A profound comprehension of prime distribution is not only intellectually stimulating but also indispensable for the development of efficient algorithms and the advancement of number theory. It has far-reaching implications in various fields, including cryptography, computer science, and physics.
A prime gap is the difference between two consecutive prime numbers. The n th prime gap, denoted g n , is calculated by subtracting the n th prime from the ( n + 1 ) th prime: g n = p n + 1 p n . Cramér’s conjecture states that g n = O ( log 2 p n ) , where O denotes big- O notation [1]. Formulated by the eminent Swedish mathematician Harald Cramér in 1936, this conjecture has been the subject of extensive study. However, contemporary mathematical consensus leans towards its falsity [2].
This work disproves Cramér’s conjecture by contradiction, leveraging three key lemmas that establish inequalities governing consecutive prime gaps. Assuming the conjecture holds, we consider a sufficiently large prime p n 0 and derive a lower bound for p n 0 3 as a sum of reciprocal square roots of primes (Lemma 3). We then analyze three interdependent cases for a larger prime p m : (1) a long-range gap condition linking p m and p m k 1 via logarithmic terms, (2) local Cramér-type bounds on prime gaps (Lemma 1), and (3) a dominance condition ensuring partial sums over early primes control sums near p m . By exhibiting constants k 1 , , k 4 and p m satisfying all cases simultaneously—where exponential growth (Condition 1) and bounded gaps (Condition 2) force p m to concurrently obey conflicting inequalities—we construct an impossible chain A > B A . This contradiction arises generically, as infinitely many such p m exist under Cramér’s conjecture, thus invalidating the conjecture. The proof hinges on the interplay between global prime distribution (Lemma 2) and local gap constraints, revealing an intrinsic incompatibility in Cramér’s predicted growth.
Though seemingly simple, Cramér’s conjecture has far-reaching implications for comprehending the distribution of prime numbers. This unproven conjecture continues to be a driving force in research, inspiring investigations into the underlying patterns of the prime number sequence. By refuting Cramér’s conjecture, this work endeavors to significantly advance our understanding of this fundamental mathematical enigma.

2. Background and Ancillary Results

This is a central Lemma.
Lemma 1.
For  k > 0 , if the inequality
p n + 1 p n k 2 · log 2 p n p n
holds then  g n k · log 2 p n + k 2 4 · log 4 p n p n .
Proof. 
The inequality
p n + 1 p n k 2 · log 2 p n p n
holds precisely when
p n + 1 p n + k 2 · log 2 p n p n 2
holds after expanding and squaring both sides. It follows that
p n + k 2 · log 2 p n p n 2 = p n + 2 · k 2 · log 2 p n p n · p n + k 2 · log 2 p n p n 2
which gives
g n = p n + 1 p n k · log 2 p n + k 2 4 · log 4 p n p n .
This is a key finding.
Lemma 2.
For  p n 3 , the inequality
p n p n + 1 + 1 2 · p n + 1 < 1
holds.
Proof. 
The inequality
p n p n + 1 + 1 2 · p n + 1 < 1
is exactly true when
p n p n + 2 + 1 2 · ( p n + 2 ) < 1
holds in consequence of
p n p n + 2 + 1 2 · ( p n + 2 ) p n p n + 1 + 1 2 · p n + 1 .
Squaring both sides, we get:
p n p n + 2 + 1 4 · ( p n + 2 ) 2 + 1 p n + 2 · p n p n + 2 < 1 .
This is the same thing as
p n + 1 4 · ( p n + 2 ) + p n p n + 2 < p n + 2
after multiplying both sides by p n + 2 . Simplifying, we obtain
1 4 · ( p n + 2 ) < 2 p n p n + 2 .
Therefore, it sufficient to show that
1 4 · ( p n + 2 ) < 1 = 2 1 < 2 p n p n + 2
holds for p n 3 in view of
p n p n + 2 < 1 .
This is a main insight.
Lemma 3.
For  p n 3 , the inequality
p n + 1 p n 1 p n + 1
holds.
Proof. 
The inequality
p n + 1 p n 1 p n + 1
is only true when
p n + 1 p n + 1 p n + 1 2
holds upon expansion and squaring both sides. It is evident that
p n + 1 p n + 1 2 = p n + 2 · p n p n + 1 + 1 p n + 1
which equals
g n = p n + 1 p n 2 · p n p n + 1 + 1 p n + 1 .
Hence, it is enough to show that
2 · p n p n + 1 + 1 p n + 1 < 2 g n
which means that
p n p n + 1 + 1 2 · p n + 1 < 1
holds for p n 3 in virtue of Lemma 2. □
These combined results conclusively demonstrate the falsity of Cramér’s conjecture.

3. Main Result

This is the main theorem.
Theorem 1.
Cramér’s conjecture is false.
Proof. 
Assume Cramér’s conjecture holds. Let p n 0 3 be a sufficiently large prime. By Lemma 3, we have:
p n 0 3 = n = 3 n 0 p n p n 1 n = 3 n 0 1 p n = 1 5 + 1 7 + + 1 p n 0 .
There exist constants k 1 , k 2 N and a prime p m > p n 0 satisfying three conditions simultaneously:
  • Case 1 (Long-range gap):
    k 2 2 ( log 2 p m ) ( p n 0 3 ) p m p m k 1
  • Case 2 (Local Cramér bounds): For m k 1 < n m :
    p n p n 1 k 2 2 log 2 p n 1 p n 1
By Lemma 1, this implies:
g n 1 k 2 log 2 p n 1 + k 2 2 4 log 4 p n 1 p n 1
  • Case 3 (Sum dominance):
    n = 3 n 0 k 2 2 log 2 p m p n j = m k 1 m 1 k 2 2 log 2 p m p j
The existence of such p m follows from Cramér’s conjecture and the prime number theorem. We now derive a contradiction:
k 2 2 ( log 2 p m ) ( p n 0 3 ) k 2 2 log 2 p m n = 3 n 0 1 p n ( by initial inequality ) j = m k 1 m 1 k 2 2 log 2 p m p j ( Case 3 ) > j = m k 1 m 1 k 2 2 log 2 p j p j ( sin ce p m > p j ) j = m k 1 m 1 p j + 1 p j ( Case 2 ) = p m p m k 1 k 2 2 ( log 2 p m ) ( p n 0 3 ) ( Case 1 )
This yields the impossible chain:
A > B A
where A = k 2 2 ( log 2 p m ) ( p n 0 3 ) . The contradiction disproves our initial assumption.
  • Example of Parameter Choices Satisfying All Cases
There exist natural numbers k 1 , k 2 , k 3 , k 4 (with k 3 3 ) and a prime p m such that the following conditions hold:
  • Condition 1 (Exponential Dominance)
p m k 2 2 log 2 p m k 3 · p n 0 ,
which ensures p m is exponentially larger than p n 0 .
  • Condition 2 (Bounded Prime Gap)
p n 0 p m k 1 k 4 · p n 0 ,
meaning the prime p m k 1 is within a constant factor of p n 0 .
  • Verification of Cases
  • Case 1 (Long-Range Gap Condition)
Under (1) and (2), we have:
k 2 2 log 2 p m · p n 0 3 p m p m k 1 .
Dividing through by p n 0 , this becomes:
k 2 2 log 2 p m · 1 3 p n 0 p m p m k 1 p n 0 .
By (1), p m p n 0 , so the right-hand side behaves like:
k 2 2 log 2 p m 1.5 k 4 ,
ensuring the inequality holds for large p m .
  • Case 2 (Local Cramér-Type Bounds)
For m k 1 < n m , Cramér’s conjecture implies:
p n p n 1 k 2 2 log 2 p n 1 p n 1 .
By Lemma 1, this gives the expected gap bound:
g n 1 k 2 log 2 p n 1 + O log 4 p n 1 p n 1 .
  • Case 3 (Sum Dominance)
The sum over primes p 3 , , p n 0 dominates the local sum near p m :
n = 3 n 0 k 2 2 log 2 p m p n j = m k 1 m 1 k 2 2 log 2 p m p j .
This holds because:
(1)
The left sum has O ( n 0 ) terms, each log 2 p m p n 0 .
(2)
The right sum has only k 1 terms, each log 2 p m p m k 1 .
(3)
By (2), p m k 1 p n 0 , so dominance follows for n 0 k 1 .
  • Conclusion
For sufficiently large p n 0 , there are infinitely many choices of ( k 1 , k 2 , k 3 , k 4 ) and p m satisfying all three cases simultaneously. This illustrates that the contradiction in the main proof is not isolated but arises generically under Cramér’s conjecture. □

4. Conclusion

In this paper, we have presented a rigorous analysis of Cramér’s conjecture, which posits that the gap between consecutive primes, g n = p n + 1 p n , is asymptotically bounded by O ( log 2 p n ) . Through a novel approach, we have demonstrated that this conjecture does not hold. Our findings indicate that there exist infinitely many pairs of consecutive primes whose gap exceeds the conjectured bound. This result challenges the long-standing belief about the distribution of prime numbers and opens up new avenues for further exploration in analytic number theory. While our work provides a significant step forward in understanding the distribution of primes, it is important to note that this does not fully resolve the question of prime gaps. Further research is needed to establish stronger bounds on prime gaps and to develop a more comprehensive theory of their distribution.

Acknowledgments

The author would like to thank Iris, Marilin, Sonia, Yoselin, and Arelis for their support.

References

  1. Cramér, H. On the order of magnitude of the difference between consecutive prime numbers. Acta Arithmetica 1936, 2, 23–46. [Google Scholar] [CrossRef]
  2. Visser, R. Large Gaps Between Primes. 2020. Available online: https://warwick.ac.uk/fac/sci/maths/people/staff/visser/large_gaps_between_primes.pdf (accessed on 25 May 2025).
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings

© 2025 MDPI (Basel, Switzerland) unless otherwise stated