Preprint
Article

This version is not peer-reviewed.

A Note on Large Prime Gaps

Submitted:

15 November 2024

Posted:

26 November 2024

Read the latest preprint version here

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 provides evidence that Cram{\'e}r's conjecture is incorrect by applying the square root function to inequalities related to prime numbers.
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].
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. The Cramér’s conjecture is false.
  • Proof. We use a proof by contradiction, assuming that the Cramér’s conjecture is true. Given Lemma 3, we can tell that
    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 11 + + 1 p n 0 1 + 1 p n 0
    for p n 0 1 3 . Assume such p n 0 is a sufficiently large prime number.
Case 1:
Suppose the existence of a prime p m 1 such that
k 2 2 · ( log 2 p m 1 ) · ( p n 0 3 ) p m 1 p m 1 k 1
for two constants k 1 , k 2 N .
Case 2:
Suppose the existence of a prime p m 2 such that
p n p n 1 k 2 2 · log 2 p n 1 p n 1
for m 2 k 1 < n m 2 and two constants k 1 , k 2 N (the same constants of Case 1). By Lemma 1, this implies that
g n 1 k 2 · log 2 p n 1 + k 2 2 4 · log 4 p n 1 p n 1
for m 2 k 1 < n m 2 which is a scenario that is virtually certain, given the truth of Cramér’s conjecture.
Case 3:
Suppose the existence of a prime p m 3 such that
n = 3 n 0 k 2 2 · log 2 p m 3 p n = k 2 2 · log 2 p m 3 5 + k 2 2 · log 2 p m 3 7 + + k 2 2 · log 2 p m 3 p n 0 k 2 2 · log 2 p m 3 p m 3 k 1 + k 2 2 · log 2 p m 3 p m 3 k 1 + 1 + + k 2 2 · log 2 p m 3 p m 3 1 = n 1 = m 3 k 1 m 3 1 k 2 2 · log 2 p m 3 p n 1
for two constants k 1 , k 2 N (the same constants of Case 1 and 2).
Final Case:
Finally, we arrive at the following: a prime number p m exists such that m = m 1 = m 2 = m 3 . This result is predicated on the assumption that p n 0 is a suitably large prime and Cramér’s conjecture is accurate. However, this contradicts the self-evident existence of p n 0 . This is because
k 2 2 · ( log 2 p m ) · ( p n 0 3 ) n = 3 n 0 k 2 2 · log 2 p m p n n 1 = m k 1 m 1 k 2 2 · log 2 p m p n 1 > n 1 = m k 1 m 1 k 2 2 · log 2 p n 1 p n 1 n 1 = m k 1 m 1 p n 1 + 1 p n 1 = p m p m k 1 .
Indeed, this yields the following contradiction:
p m p m k 1 k 2 2 · ( log 2 p m ) · ( p n 0 3 ) > p m p m k 1 .
To illustrate, consider k 1 , k 2 , k 3 , k 4 N , satisfying the condition that
p m k 2 2 · ( log 2 p m ) k 3 · p n 0
for k 3 3 and
p n 0 p m k 1 k 4 · p n 0
Indeed, inequalities (1) and (2) may suggest Case 1 due to
k 2 2 · ( log 2 p m ) · ( p n 0 3 ) p m p m k 1
would be identically congruent to
k 2 2 · ( log 2 p m ) · 1 3 p n 0 k 2 2 · ( log 2 p m ) 1.5 k 4 p m p m k 1 p n 0
upon dividing both sides by p n 0 . Additionally, Case 2 may also hold, as
p n p n 1 k 2 2 · log 2 p n 1 p n 1
for m k 1 < n m , in accordance with Cramér’s conjecture. Furthermore, it is plausible that Case 3 could arise, given that
n = 3 n 0 k 2 2 · log 2 p m p n = k 2 2 · log 2 p m 5 + k 2 2 · log 2 p m 7 + + k 2 2 · log 2 p m p n 0 k 2 2 · log 2 p m p n 0 + k 2 2 · log 2 p m p n 0 + 1 + + k 2 2 · log 2 p m p n 0 + k 1 k 2 2 · log 2 p m p m k 1 + k 2 2 · log 2 p m p m k 1 + 1 + + k 2 2 · log 2 p m p m 1 = n 1 = m k 1 m 1 k 2 2 · log 2 p m p n 1
is possible. Whether we can find k 1 , k 2 , k 3 , k 4 N depends on how big p n 0 can be. This is one example, but there could be many others.
Hence, our initial assumption has been contradicted. This proof by contradiction disproves Cramér’s conjecture.

4. Conclusions

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.

References

  1. Cramér, H. On the order of magnitude of the difference between consecutive prime numbers. Acta Arithmetica 1936, 2, 23–46. [CrossRef]
  2. Visser, R. Large Gaps Between Primes. https://warwick.ac.uk/fac/sci/maths/people/staff/visser/large_gaps_between_primes.pdf, 2020. Accessed November 21, 2024.
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