Distribution of Large Gaps Between Primes
Scott Funkhouser, Daniel A. Goldston, and Andrew H. Ledoan

TL;DR
This paper surveys conditional results on large prime gaps and explores how the Hardy-Littlewood prime k-tuples conjecture can be applied to understand their distribution.
Contribution
It provides a comprehensive overview of existing results and discusses the application of a major conjecture to the study of large prime gaps.
Findings
Conditional results on large prime gaps summarized
Application of Hardy-Littlewood conjecture analyzed
Insights into prime gap distribution discussed
Abstract
We survey some past conditional results on the distribution of large differences between consecutive primes and examine how the Hardy-Littlewood prime k-tuples conjecture can be applied to this question.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAnalytic Number Theory Research
11institutetext: Scott Funkhouser 22institutetext: Space and Naval Warfare Systems Center Atlantic, One Innovation Drive, North Charleston, South Carolina, 29419-9022, 22email: [email protected] 33institutetext: Daniel A. Goldston 44institutetext: Department of Mathematics and Statistics, San José State University, 315 MacQuarrie Hall, One Washington Square, San José, California 95192-0103, 44email: [email protected] 55institutetext: Andrew H. Ledoan 66institutetext: Department of Mathematics, University of Tennessee at Chattanooga, 415 EMCS Building (Mail Stop 6956), 615 McCallie Avenue, Chattanooga, Tennessee 37403-2598, 66email: [email protected]
Distribution of Large Gaps Between Primes
Scott Funkhouser
Daniel A. Goldston
and Andrew H. Ledoan
Abstract
We survey some past conditional results on the distribution of large differences between consecutive primes and examine how the Hardy–Littlewood prime -tuples conjecture can be applied to this question.
Keywords:
Hardy–Littlewood prime -tuples conjecture; Singular series; Gaps between primes
1 Introduction
The distribution of gaps between consecutive primes around their average spacing is expected to be distributed in a Poisson distribution. Thus, while at first glance the sequence of gaps appears random and irregular, we expect that they follows a very regular and well-behaved probability distribution. However, as we move to the distribution of larger than average gaps we expect to find increasing irregularity, especially as we reach the limiting size for these gaps. One would guess that near this maximal gap size any distribution will be exceedingly irregular. However, at present the available theoretical tools and well-accepted conjectures do not provide any widely believed standard model for large gaps.
Define
[TABLE]
and the weighted counting function
[TABLE]
Gallagher Gallagher1976 showed that a uniform version of the prime -tuples conjecture of Hardy and Littlewood implies that the primes are distributed in a Poisson distribution around their average. In Section 2 we will discuss how this result implies that, for fixed ,
[TABLE]
and
[TABLE]
These results are for fixed , but we are interested in larger gaps. One approach is to assume that the Hardy–Littlewood conjectures hold for primes up to and for all -tuples, where for some specified function , together with some strong error term. The Hardy–Littlewood conjectures will certainly fail when and the error terms are often of size greater than , and therefore this approach has definite limitations. There are also obstacles in applying these conjectures to and . However, if we ignore these issues and consider this approach as only heuristic, then the following conjecture seems reasonable.
Poisson Tail Conjecture
For any and , we have
[TABLE]
For , we have
[TABLE]
Here, means and . In the critical range , we have nothing to contribute. Other authors have made stronger conjectures than (6). In 1935 Cramér Cramer35 conjectured that
[TABLE]
while in 1995 Granville Granville1995 conjectured that Cramér’s conjecture is false and that
[TABLE]
based on a Cramér model modified to include divisibility by small primes. Our conjecture is much weaker and only implies that for any , there are prime gaps of size , and there are no prime gaps of size . It should be mentioned however that the same modification Granville used in the Cramér model was exploited by Maier Maier1985 to prove there is no asymptotic formula for the number of primes in intervals , for any given positive number . This result of Maier demonstrates that all of these conjectures on large gaps are far from certain.
Our purpose in this paper is to describe earlier conditional work on large gaps between primes. The earliest such work assumes the Riemann Hypothesis and is mainly due to Cramér Cramer36 and to Selberg Selberg1942 . Later, after Montgomery’s work on the pair correlation of zeros of the Riemann zeta-function Montgomery1972 , some of these Riemann Hypothesis results were slightly improved by Gallagher and Mueller GallagherMueller1978 , by Mueller Mueller1981 , and by Heath-Brown Heath-Brown82 assuming a pair correlation conjecture. All of these results can be obtained from estimating the second moment (or variance) of the number of primes in short intervals. As an application of these second moment results, one can obtained conditionally nearly optimal upper bounds on the sum
[TABLE]
and also the closely related and slightly simpler sum
[TABLE]
As far as we know, was first bounded on the Riemann Hypothesis by Cramér Cramer36 in 1936, while was studied by Selberg Selberg1942 in 1942.
To obtain stronger results, we return to the Hardy–Littlewood conjectures. The conjecture for pairs (or 2-tuples) with a strong error term is well-known to provide the same estimates for the second moment for primes in short intervals as that obtained by assuming the Riemann Hypothesis and the Pair Correlation Conjectures. In 2004 Montgomery and Soundararajan MontgomerySoundararajan2004 were able to extend this method to give asymptotic formulas for the -th moments for the primes in short intervals, assuming the Hardy–Littlewood conjecture for tuples of size with a strong error term in the conjecture. At present, this approach is the most promising direction towards connecting results on large gap problems to a well-established, if extremely difficult, conjecture on primes. In Section 8 of this paper we use a fourth moment result to nearly resolve the conjectured asymptotic formulas for and .
Notation
We always assume that , and are integers. We denote the -th prime by , and will always denote a prime. By we mean any sufficiently small positive real number.
Acknowledgement
The authors wish to express their sincere gratitude and appreciation to the anonymous referee for carefully reading the original version of this paper and for making a number of very helpful comments and suggestions.
2 Gallagher’s Theorem and the Poisson Distribution of Primes
We first introduce the Hardy–Littlewood prime -tuples conjecture in the form used by Gallager. Let be a set of distinct nonnegative integers. Let denote the number of positive integers for which are simultaneously primes. Then the simplest form of the Hardy–Littlewood prime -tuples conjecture HardyLittlewood1922 may be stated as follows.
Let
[TABLE]
where denotes the number of distinct residue classes modulo occupied by the elements of . Note that, in particular, if for some prime number , then . However, if for all prime numbers , then in which case the set is called admissible.
Hardy–Littlewood Prime -tuples Conjecture
For each fixed integer and admissible set , we have
[TABLE]
uniformly for , where as and is a positive constant.
If is not admissible, then there is a fixed prime that always divides at least one of the numbers , with , and hence
[TABLE]
While a proof of (12) appears beyond our current state of knowledge, we do know by sieve methods (see HalberstamRichert1974 ) the useful upper bound
[TABLE]
Theorem 2.1 (Gallagher)
Let denote the number of positive integers for which the interval contains exactly primes. Assuming the Hardy–Littlewood prime -tuples conjecture, we have
[TABLE]
The Poisson distribution of primes manifests itself in Gallagher’s proof through the fact that the singular series is on average asymptotic to 1 when averaged over all tuples. Gallagher Gallagher1976 proved that, as ,
[TABLE]
for each fixed .
Proof
We give Gallagher’s proof. For a positive integer, the -th moment for the number of primes in the interval is
[TABLE]
We group terms according to the number of distinct primes among the primes and obtain
[TABLE]
where \left\{\begin{array}[]{c}k\\ r\end{array}\right\} is used to denote the Stirling number of the second type equal to the number of partitions of a set of elements into nonempty subsets. By (12), (13), and (15), we have for fixed and as ,
[TABLE]
where
[TABLE]
which is the -th Poisson moment with expected value . Theorem 2.1 now follows from the standard theorems on moments.
From Theorem 2.1, we now prove (3) and (4).
Theorem 2.2
Assuming the Hardy–Littlewood prime -tuples conjecture, then for fixed , and as , we have
[TABLE]
and
[TABLE]
Proof
Let
[TABLE]
Taking in Theorem 2.1, we have
[TABLE]
where is the number of for which the interval contain no primes. This interval has the same number of primes as the interval , which contains no primes if and only if there is an for which and , which can occur if and only if . Hence, in this case, , and there are such ’s for this . Thus, we have
[TABLE]
We conclude that, for ,
[TABLE]
[TABLE]
so that (4) follows from (3) and (20). To prove (3), we note that
[TABLE]
and, since is a nonincreasing function of , we have for any ,
[TABLE]
Therefore, is bounded between
[TABLE]
which by (20) is, as ,
[TABLE]
thus proving (3).
There is an alternative approach for proving Theorem 2.2 which avoids moments. In GoldstonLedoan2013 the second two authors proved, using inclusion-exclusion with the Hardy–Littlewood prime -tuples conjecture, that for fixed and ,
[TABLE]
where
[TABLE]
and
[TABLE]
Here, is the singular series given in (11) when and . As a consequence of (15) we have
[TABLE]
Hence, with , by partial summation,
[TABLE]
Thus,
[TABLE]
which proves (3). The same argument gives
[TABLE]
which proves (4).
3 Bounding the Number of Large Gaps with Moments
Moving to larger gaps between primes, we reduce our goal of finding their distribution and only seek to find bounds on their frequency. A simple method for bounding the number of large gaps was introduced by Selberg Selberg1942 . Let
[TABLE]
where
[TABLE]
and is a positive integer.
Lemma 1
For and , we have
[TABLE]
Proof
We have whenever there are consecutive primes and , which is when which has length . Suppose and take . Then
[TABLE]
Summing over gives the result.
There is a slightly different moment often used in this subject, namely
[TABLE]
where
[TABLE]
The next lemma shows that the two moments are essentially the same size. The error term here saves only a power of over the actual size of these moments, but that is sufficient for our applications.
Lemma 2
For , and , we have
[TABLE]
Proof
We recall Minkowski’s inequality for integrals (see Montgomery2014 )
[TABLE]
Since
[TABLE]
where
[TABLE]
we obtain from Minkowski’s inequality
[TABLE]
It remains to estimate . The inequality is equivalent to . We make use of the inequality when is large and the inequality when is small.
We consider first the case when , for some fixed . Using the sieve bound
[TABLE]
we have for
[TABLE]
Substituting this bound into (26) proves Lemma 2 in this range.
Next, we consider the range . Estimating trivially, we have
[TABLE]
Hence,
[TABLE]
on taking . This proves Lemma 2 in this range.
4 Second Moment Results Assuming the Riemann Hypothesis
In Selberg1942 Selberg proved111Selberg also proved an unconditional estimate that we are not concerned with in this paper. that, assuming the Riemann Hypothesis, for ,
[TABLE]
The left-hand side, here, is a damped second moment for primes in short intervals where the interval length varies as a fixed multiple of where it is located. We will make use of (27) in Section 5. Most authors use in place of Selberg’s second moment either or . Saffari and Vaughan SaffariVaughan1977 found a method for going back and forth between moments using fixed intervals and moments using intervals . (See, also, GoldstonMontgomery1987 .) The result corresponding to (27) is, for ,
[TABLE]
This result may also be proved directly using the explicit formula. (See Gallagher1980 and SaffariVaughan1977 .)
Theorem 4.1 (Selberg)
Assuming the Riemann Hypothesis, we have for
[TABLE]
Proof
Taking in Lemma 1, we obtain Theorem 4.1 with the additional condition that . From (29),
[TABLE]
Now, if , we can take sufficiently large to obtain . Therefore, for a sufficiently large constant,
[TABLE]
Thus, we may drop the condition in Theorem 4.1, since the better estimate (30) holds in this range.222Recent work CarneiroMilinovichSoundararajan2017 has determined that is acceptable.
The result (30) implies the following result of Cramér Cramer20 from 1920.
Corollary 1 (Cramér)
Assuming the Riemann Hypothesis,
[TABLE]
We also have
Corollary 2 (Selberg)
Assuming the Riemann Hypothesis,
[TABLE]
Proof
Since
[TABLE]
the result follows from (29).
5 Selberg’s Result on
There is a further result from Selberg’s original paper that deserves special mention.
Theorem 5.1 (Selberg)
Assuming the Riemann Hypothesis, we have
[TABLE]
This is only a single power of larger than the conjectured size of , while the result for obtained in the previous section is two powers of larger than the conjecture. (See (43) in Section 8.) We will see in the next section that, assuming a pair correlation conjecture for zeros of the Riemann zeta-function we can recover a in the results of Section 8. However, this is not true for Theorem 5.1, where assuming a pair correlation conjecture does not give any improvement.
From this theorem, we easily obtain the following corollary which is partly in the direction of Corollary 4 proved in the next section assuming a pair correlation conjecture.
Corollary 3
Assuming the Riemann Hypothesis,
[TABLE]
Proof
From the identity
[TABLE]
we see that, if for ,
[TABLE]
which contradicts Theorem 5.1 if is large enough.
Proof (of Theorem 5.1)
We return to (27) and follow Selberg’s proof. We take large, let , and take . Then (27) becomes
[TABLE]
Suppose now that and . Then, just as in Lemma 1, we have
[TABLE]
Hence, for we obtain the slight refinement of Theorem 4.1 that, assuming the Riemann Hypothesis,
[TABLE]
The condition may be dropped in view of Cramér’s bound (40), and Theorem 5.1 now follows on integrating with respect to from 1 to .
6 Second Moment Results Assuming the Riemann Hypothesis and Pair Correlation
The results in the last section assuming the Riemann Hypothesis have never been improved. However, in 1972 Montgomery Montgomery1972 found an additional conjecture on the vertical distribution of zeros of the Riemann zeta-function which allows us to obtain essentially the best possible second moment results. The Riemann Hypothesis states that the complex zeros of the Riemann zeta-function have their real part equal to , so that a complex zero can be written as , where is real. If this conjecture is false, then the primes will have a dramatically more irregular behavior than we expect. However, all evidence points to the truth of the Riemann Hypothesis, but without pointing towards a method for its proof. Montgomery introduced the function, for ,
[TABLE]
where , and
[TABLE]
Montgomery’s Theorem
Assume the Riemann Hypothesis. For any real we have is even, , and for we have
[TABLE]
This theorem determines for , while for larger Montgomery made the following conjecture.
Montgomery’s Conjecture
We have
[TABLE]
for any fixed number .
The connection between this conjecture and the second moment for primes is given in the following theorem GoldstonMontgomery1987 from 1987.
Equivalence Theorem
Assuming the Riemann Hypothesis, then Montgomery’s conjecture is equivalent to
[TABLE]
uniformly for .
In all except one of the applications to large gaps between primes we only need a weaker conjecture than (38), which we shall state as follows.
Bounded Conjecture
For any , we have uniformly for .
Heath-Brown Heath-Brown82 proved, assuming the Riemann Hypothesis and the Bounded Conjecture, that for
[TABLE]
Using Lemma 2, the same result stated above also holds when we replace by .
Therefore, we obtain the following results obtained in the same way as the corresponding results proved in the last section.
Theorem 6.1 (Heath-Brown)
Let and . Assuming the Riemann Hypothesis and the Bounded Conjecture, we have
[TABLE]
Corollary 4
Assuming the Riemann Hypothesis and the Bounded Conjecture, we have
[TABLE]
We also have
Corollary 5
Assuming the Riemann Hypothesis and the Bounded Conjecture, we have
[TABLE]
Montgomery’s Conjecture and the Riemann Hypothesis also give the slightly stronger result that
[TABLE]
This was first proved in GoldstonHeath-Brown1984 . It is also an easy consequence of (39), which implies, for , that
[TABLE]
7 Montgomery and Soundararajan’s Higher Moment Results Using a Strong Prime -Tuples Conjecture
In place of , we now make use of
[TABLE]
which has the advantage of counting primes with a constant density of one. A strong form of the Hardy–Littlewood Conjecture now takes the following form.
Strong Hardy–Littlewood Prime -Tuples Conjecture
For a fixed integer and admissible set , we have for any and sufficiently large
[TABLE]
uniformly for .
The following theorem is a special case of the main theorem in MontgomerySoundararajan2004 .
Theorem 7.1 (Montgomery–Soundararajan)
Suppose the Strong Hardy–Littlewood Prime -Tuples Conjecture holds for and uniformly for . Then for and ,
[TABLE]
If we recover the asymptotic formula for in (39) for a restricted range of . By Lemma 2, we see Theorem 7.1 also holds for . Hence, we obtain the bound
[TABLE]
for for any fixed and . Hence, by Lemma 1 we obtain the following result on large gaps.
Theorem 7.2
Suppose that the Strong Hardy–Littlewood Prime -Tuples Conjecture holds for and uniformly for . Then for and for any fixed , we have
[TABLE]
This result is consistent with the Poisson Tail Conjecture (5) but, of course, much weaker.
8 Application of the Fourth Moment Bound to and
We expect that
[TABLE]
We see from (33) that the asymptotic formula for immediately implies the asymptotic formula for , and therefore we concentrate on .
By combining Gallagher’s Theorem with the fourth moment bound in Theorem 7.2, we are able to nearly evaluate . The result we obtain is the following theorem.
Theorem 8.1
Assume the Hardy–Littlewood Prime -Tuples Conjecture as in (12) and the Strong Hardy–Littlewood -Tuples Conjecture for uniformly for for any fixed . We have
[TABLE]
We do not expect any prime gaps as large as those in the error term here. However, the existence of a single prime gap of size in would invalidate the asymptotic formula for . The Strong Hardy–Littlewood Conjecture without some additional information on how the error terms average when combined can not disprove the existence of such long gaps. As we have seen in (41), the pair correlation conjecture can (barely) show such gaps do not exist, but that conjecture is equivalent to a second moment results on primes in an extended range.
Proof (of Theorem 8.1)
As in (31), we have
[TABLE]
Here, we let and sufficiently slowly. Since ,
[TABLE]
By Theorem 2.2,
[TABLE]
Applying Theorem 7.2 with , we obtain
[TABLE]
Finally,
[TABLE]
This completes the proof of Theorem 8.1.
9 Some Numerical Results on Large Gaps
In this section we present some numerical studies related to the behaviors addressed in this paper. It is instructive first to recall how the largest gap between primes no greater than increases with . Figure 1 is a plot of the maximal gap
[TABLE]
along with the analytical asymptotic form
[TABLE]
advanced by Cramér Cramer36 over a representative sampling of approximately logarithmically spaced prime .
Next, we consider the large-gap counting function . For convenience, let us define the expected asymptotic form in (3) as . Figures 3, 3, and 4 are logarithmic plots of along with for , and , respectively.
The weighted analogue of is from (2), and its expected asymptotic form in (4) is defined here as for . Figures 5, 7, and 7 are logarithmic plots of along with for , and .
The relative errors in and decrease with increasing , for a given , in support of the conjectured asymptotic behaviors. We also find, however, that the relative error increases with increasing for a fixed . We may interpret this behavior as being consistent with the expected non-Poissonian properties in the distribution of large gaps.
Finally, let us consider the terms and and the expected behaviors articulated in (43). For convenience, we define to represent the expected asymptotic form of . Curiously, the asymptotic form of is identical to the Cramér’s maximal gap bound . Figure 9 is a logarithmic plot of along with . Figure 9 is a logarithmic plot of along with .
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1(1) E. Carneiro, M.B. Milinovich, and K. Soundararajan, Fourier optimization and prime gaps, submitted for publication. [Available at https://arxiv.org/abs/1708.04122 ].
- 2(2) H. Cramér, Some theorems concerning prime numbers, Arkiv för Mat. Astr. och Fys. 15 (1920), no. 5, 1–32.
- 3(3) H. Cramér, Prime numbers and probability, Skand. Mat.-Kongr. 8 (1935), 107–115.
- 4(4) H. Cramér, On the order of magnitude of the difference between consecutive prime numbers, Acta Arith. 2 (1936), 23–46.
- 5(5) P.X. Gallagher, On the distribution of primes in short intervals, Mathematika 23 (1976), 4–9, Corrigendum: Mathematika 28 (1981), no. 1, 86.
- 6(6) P.X. Gallagher and J.H. Mueller, Primes and zeros in short intervals, J. Reine Angew. Math. 303/304 (1978), 205–220.
- 7(7) P.X. Gallagher, Some consequences of the Riemann hypothesis, Acta Arith. 37 (1980), 339–343.
- 8(8) D.A. Goldston and D.R. Heath-Brown, A note on the difference between consecutive primes, Math. Annalen 266 (1984), 317–320.
