Docsity

Prime Numbers and Arithmetic Progressions: Sieve Methods and Estimates, Notas de estudo de Informática

Toggle sidebar
bg1
arXiv:1408.4505v1 [math.NT] 20 Aug 2014
LARGE GAPS BETWEEN CONSECUTIVE PRIME NUMBERS
KEVIN FORD, BEN GREEN, SERGEI KONYAGIN, AND TERENCE TAO
ABST RACT. Let G(X)denote the size of the largest gap between consecutive primes below X. Answering a
question of Erd˝os, we show that
G(X)>f(X)log Xlog log Xlog log log log X
(log log log X)2,
where f(X)is a function tending to infinity with X. Our proof combines existing arguments with a random
construction covering a set of primes by arithmetic progressions. As such, we rely on recent work on the
existence and distribution of long arithmetic progressions consisting entirely of primes.
CONTENTS
1. Introduction 1
2. On arithmetic progressions consisting of primes 5
3. Main construction 9
4. Probability estimates 14
5. Linear equations in primes withlarge shifts 17
6. Proof of Lemma 2.1(i) 19
7. Proof of Lemma 2.1(ii) 23
8. Further comments and speculations 26
Appendix A. Linear equations in primes 26
References 31
1. INTRODUCTION
Write G(X)for the maximum gap between consecutive primes less than X. It is clear from the prime
number theorem that
G(X)>(1 + o(1)) log X,
as the average gap between the prime numbers which are 6Xis ∼log X. In 1931, Westzynthius [30]
proved that infinitely often, the gap between consecutive prime numbers can be an arbitrarily large multiple
of the average gap, that is, G(X)/log X→ ∞ as X→ ∞. Moreover, he proved the qualitative bound1
G(X)≫log Xlog3X
log4X.
1As usual in the subject, log2x= log log x,log3x= log log log x, and so on. The conventions for asymptotic notation such
as ≪and o() will be defined in Section 1.2.
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20

Pré-visualização parcial do texto

Baixe Prime Numbers and Arithmetic Progressions: Sieve Methods and Estimates e outras Notas de estudo em PDF para Informática, somente na Docsity!

arXiv:1408.4505v1 [math.NT] 20 Aug 2014

LARGE GAPS BETWEEN CONSECUTIVE PRIME NUMBERS

KEVIN FORD, BEN GREEN, SERGEI KONYAGIN, AND TERENCE TAO

ABSTRACT. Let G(X) denote the size of the largest gap between consecutive primes below X. Answering a question of Erd˝os, we show that G(X) > f (X) log^ X^ log log (log log log^ X^ log log log log X) 2 X,

where f (X) is a function tending to infinity with X. Our proof combines existing arguments with a random construction covering a set of primes by arithmetic progressions. As such, we rely on recent work on the existence and distribution of long arithmetic progressions consisting entirely of primes.

CONTENTS

  1. Introduction 1
  2. On arithmetic progressions consisting of primes 5
  3. Main construction 9
  4. Probability estimates 14
  5. Linear equations in primes with large shifts 17
  6. Proof of Lemma 2.1(i) 19
  7. Proof of Lemma 2.1(ii) 23
  8. Further comments and speculations 26 Appendix A. Linear equations in primes 26 References 31

1. INTRODUCTION

Write G(X) for the maximum gap between consecutive primes less than X. It is clear from the prime number theorem that G(X) > (1 + o(1)) log X, as the average gap between the prime numbers which are 6 X is ∼ log X. In 1931, Westzynthius [30] proved that infinitely often, the gap between consecutive prime numbers can be an arbitrarily large multiple of the average gap, that is, G(X)/ log X → ∞ as X → ∞. Moreover, he proved the qualitative bound^1

G(X) ≫

log X log 3 X log 4 X

(^1) As usual in the subject, log 2 x = log log x, log 3 x = log log log x, and so on. The conventions for asymptotic notation such as ≪ and o() will be defined in Section 1.2. 1

2 KEVIN FORD, BEN GREEN, SERGEI KONYAGIN, AND TERENCE TAO

In 1935 Erd˝os [9] improved this to

G(X) ≫

log X log 2 X (log 3 X)^2 and in 1938 Rankin [25] made a subsequent improvement

G(X) > (c + o(1))

log X log 2 X log 4 X (log 3 X)^2

with c = 13. The constant c was subsequently improved several times: to 12 eγ^ by Sch¨onhage [27], then to c = eγ^ by Rankin [26], c = 1. 31256 eγ^ by Maier and Pomerance [23] and, most recently, c = 2eγ^ by Pintz [24]. Our aim in this paper is to show that c can be taken arbitrarily large.

Theorem 1. Let R > 0_. Then for any sufficiently large_ X , there are at least

R

log X log 2 X log 4 X (log 3 X)^2

consecutive composite natural numbers not exceeding X_._

In other words, we have G(X) > f (X)

log X log 2 X log 4 X (log 3 X)^2 for some function f (X) that goes to infinity as X → ∞. Theorem 1 settles in the affirmative a long-standing conjecture of Erd˝os [10]. Based on a probabilistic model of primes, Cram´er [6] conjectured that

lim sup X→∞

G(X)

log^2 X

and Granville [13], using a refinement of Cram´er’s model, has conjectured that the lim sup above is in fact at least 2 e−γ^ = 1. 229.. .. These conjectures are well beyond the reach of our methods. Cram´er’s model also predicts that the normalized prime gaps pn log+1 −pnp nshould have exponential distribution, that is,

pn+1 − pn > C log pn for about e−C^ π(X) primes 6 X. Numerical evidence from prime calculations up to 4 · 1017 [28] matches this prediction quite closely, with the exception of values of C close to log X, in which there is very little data available. In fact, maxX 64 · 1017 G(X)/ log^2 X ≈ 0. 9206 , slightly below the predictions of Cram´er and Granville. Unconditional upper bounds for G(X) are far from the conjectured truth, the best being G(X) ≪ X^0.^525 and due to Baker, Harman and Pintz [2]. Even the Riemann Hypothesis only^2 furnishes the bound G(X) ≪ X^1 /^2 log X [5]. All works on lower bounds for G(X) have followed a similar overall plan of attack: show that there are at least G(X) consecutive integers in (X/ 2 , X], each of which has a “very small” prime factor. To describe the results, we make the following definition.

Definition 1. Let x be a positive integer. Define Y (x) to be the largest integer y for which one may select residue classes ap (mod p) , one for each prime p 6 x , which together “sieve out” (cover) the whole interval [y] = { 1 ,... , y}.

The relation between this function Y and gaps between primes is encoded in the following simple lemma. (^2) Some slight improvements are available if one also assumes some form of the pair correlation conjecture; see [20].

4 KEVIN FORD, BEN GREEN, SERGEI KONYAGIN, AND TERENCE TAO

One then performs a second sieving, choosing ap for “small” p 6 z. Using a greedy algorithm, for instance, one can easily sieve out all but

y log 2 x log x

p 6 z

p

∼ e−γ^

y log 2 x log x log z

of the remaining numbers. There are alternative approaches using explicit choices for ap; we will choose our ap at random. (The set V of numbers surviving this second sieving has about the same size in each case.) If |V | 6 π(x) − π(δx), the number of “very large” primes, then we perform a (rather trivial) third sieving as follows: each v ∈ V can be matched with one of these primes p, and one may simply take ap = v. This is the route followed by all authors up to and including Rankin [26]; improvements to G(x) up to this point depended on improved bounds for counts of smooth numbers. The new idea introduced by Maier and Pomerance [23] was to make the third sieving more efficient (and less trivial!) by using many p ∈ (δx, x] to sift not one but two elements of V. To do this they established a kind of “twin primes on average” result implying that for most p ∈ (δx, x], there are many pairs of elements of V that are congruent modulo p. Then the authors proved a crucial combinatorial result that disjoint sets Vp exist, each of two elements congruent modulo p, for a large proportion of these primes p; that is, for a large proportion of p, ap mod p will sift out two elements of V , and the sifted elements are disjoint. Pintz [24] proved a “best possible” version of the combinatorial result, that in fact one can achieve a “nearly perfect matching”, that is, disjoint sets Vp for almost all primes p ∈ (δx, x], and this led to the heretofore best lower bound for G(X). Heuristically, much more along these lines should be possible. With y comparable to the right-hand side of (1.1), the set V turns out have expected cardinality comparable to a large multiple of x/ log x. Assuming that V is a “random” subset of [y], for every prime p ∈ (δx, x] there should in fact be a residue class a (mod p) containing ≫ log x/(log 2 x)O(1)^ elements of V. (Roughly, the heuristic predicts that the sizes of the sets V ∩ (a (mod p)) are Poisson distributed with parameter ≈ |V |/p.) Whilst we cannot establish anything close to this, we are able to use almost all primes p ∈ (x/ 2 , x] to sieve r elements of V , for any fixed r. Where Maier and Pomerance appealed to (in fact proved) a result about pairs of primes on average, we use results about arithmetic progressions of primes of length r, established in work of the second and fourth authors [16], [15] and of these authors and Ziegler [18]. Specifically, we need results about progressions q, q+r!p, q+2r!p,... , q+(r−1)r!p; if one ignores the technical factor r!, these are “progressions of primes with prime common difference”. By taking ap = q, the congruence ap (mod p) allows us to sift out all r elements of such a progression, and it is here that we proceed more efficiently than prior authors. Ensuring that many of these r-element sifted sets are disjoint (or at least have small intersections) is a rather difficult problem, however. Rather than dealing with these intersections directly, we utilize the random choice of ap in the second step to prove that with high probability, V has a certain regularity with respect to intersections with progressions of the form q, q + r!p, q + 2r!p,... , q + (r − 1)r!p. We then prove that most elements of V survive the third sieving with uniformly small probability.

1.1. Acknowledgments. The research of SK was partially performed while he was visiting KF at the Uni- versity of Illinois at Urbana–Champaign. Research of KF and SK was also carried out in part at the Univer- sity of Chicago. KF and SK are thankful to Prof. Wilhelm Schlag for hosting these visits. KF also thanks the hospitality of the Institute of Mathematics and Informatics of the Bulgarian Academy of Sciences. Also, the research of the SK and TT was partially performed while SK was visiting the Institute for Pure and Applied Mathematics (IPAM) at UCLA, which is supported by the National Science Foundation.

LARGE GAPS BETWEEN CONSECUTIVE PRIME NUMBERS 5

KF was supported by NSF grant DMS-1201442. BG was supported by ERC Starting Grant 279438, Approximate algebraic structure. TT was supported by a Simons Investigator grant, the James and Carol Collins Chair, the Mathematical Analysis & Application Research Fund Endowment, and by NSF grant DMS-1266164.

1.2. Notational conventions. We use f = O(g) and f ≪ g to denote the claim that there is a constant C > 0 such that |f (·)| 6 Cg(·) for all · in the domain of f. We adopt the convention that C is independent of any parameter unless such dependence is indicated by subscript such as ≪u, except that C may depend on the parameter r (which we consider to be fixed) in Sections 2–4 and 6–7. In Sections 2–4 and 6–7, the symbol o(1) will stand for a function which tends to 0 as x → ∞, uni- form in all parameters except r unless otherwise indicated. The same convention applies to the asymptotic notationf (x) ∼ g(x), which means f (x) = (1+ o(1))g(x). In Sections 5 and the Appendix, o(g(N )) refers to some function h(N ) satisfying limN →∞ h(N )/g(N ) = 0. The symbols p, q will always denote prime numbers. In Sections 2–4 and 6–7, s denotes a prime, whereas in Sections 5 and the Appendix, s is a positive integer which measures the complexity of a system of linear forms. Finally, we will be using the probabilistic method and will thus be working with finite probability spaces. Generically we write P for probability, and E for expectation. If a finite set A is equipped with the uniform probability measure, we write Pa∈A and Ea∈A for the associated probability and expectation. Variables in boldface will denote random real-valued scalars, while arrowed boldface symbols denote random vectors, e.g. ~a. We also use #A to denote the cardinality of A, and for any positive real z, we let [z] := {n ∈ N : 1 6 n 6 z} denote the set of natural numbers up to z.

2. ON ARITHMETIC PROGRESSIONS CONSISTING OF PRIMES

A key tool in the proof of Theorem 2 is an asymptotic formula for counts of arithmetic progressions of primes. In fact, we shall be interested in progressions of primes of length r whose common difference is r! times a prime^3 , for positive integer values of r. The key technical result we shall need is Lemma 2.4 below. This is a relatively straightforward consequence of Lemma 2.1 below, which relies on the work on linear equations in primes of the second and fourth authors and Ziegler. We turn to the details. Let y be a sufficiently large quantity (which goes to infinity for the purposes of asymptotic notation), and let x be a quantity that goes to infinity at a slightly slower rate than y; for sake of concreteness we will impose the hypotheses

(2.1) x

log x 6 y 6 x log x.

In fact the analysis in this section would apply under the slightly weaker hypotheses y log−O(1)^ y 6 x 6 o(y), but we will stick with (2.1) for sake of concreteness since this condition will certainly be satisfied when applying the results of this section to prove Theorem 2. From (2.1) we see in particular that log y ∼ log x, so we will use log x and log y more or less interchangeably in what follows. Let P denote the set of all primes in the interval (x/ 2 , x], and Q denote the set of all primes in the interval (x/ 4 , y]; thus from the

(^3) One could replace r! here if desired by the slightly smaller primorial P (r); as observed long ago by Lagrange and Waring [8],

this primorial must divide the spacing of any sufficiently large arithmetic progression of primes of length r. However, replacing r! by P (r) would lead to only a negligible savings in the estimates here.

LARGE GAPS BETWEEN CONSECUTIVE PRIME NUMBERS 7

for Question (ii). In other words, we only need (a special case of) the Hardy-Littlewood prime conjecture “on average”. This is easier to establish; for instance, Balog [1] was able to use the circle method (or “linear Fourier analysis”) to establish the prime tuples conjecture for “most” tuples in some sense. The results in [1] are not strong enough for our applications, because of our need to consider arbitrarily long arithmetic progressions (which are well-known to not be amenable to linear Fourier-analytic methods for r > 4 , see [12]) rather than arbitrary prime tuples. Instead we will use (a modification of) the more recent work of the second and fourth authors [16]. More precisely, we claim the following bounds.

Lemma 2.1. Let x, y, r, P, Q , and be as above. Let 0 6 i 6 r − 1_._

(i) For all but o(x/ log x) of the p ∈ P , we have the estimate

#{q ∈ Q : p q − ir!p} ∼ αr

y logr^ x

(ii) For all but o(y/ log x) of the q ∈ Q , we have

#{p ∈ P : p q − ir!p} ∼ αr

x 2 logr^ x

(iii) For all p ∈ P , we have the upper bounds

#{q ∈ Q : p q − ir!p} ≪

y logr^ x

(iv) For all q ∈ Q , we have the upper bounds

#{p ∈ P : p q − ir!p} ≪

x 2 logr^ x

Parts (iii) and (iv) follow from standard sieve-theoretic methods (e.g. the Selberg sieve); we omit the proof here, referring the reader instead^6 to [19] or [11]. The more interesting bounds are (i) and (ii). As stated above, these two claims are almost relatively straightforward consequences of the main result of the paper [16] of the second and fourth authors. However, some modifications of that work are required to deal with the fact that x and y are of somewhat different sizes. In Section 5 below we state the modified version of the main result of [16] that we need, Theorem 7. The deductions of parts (i) and (ii) of Lemmas 2.1 are rather similar to one another, and are given in Sections 6 and 7 respectively. Finally, a proof of Theorem 7 can be obtained by modifying the arguments of [16] in quite a straightforward manner, but in a large number of places. We record these modifications in Appendix A. As presently defined, it is possible for the bipartite graphs given by the p q − ir!p to overlap, thus it may happen that p q − ir!p and p q − jr!p for some p ∈ P, q ∈ Q, and 0 6 i < j 6 r − 1. For instance, this situation will occur if Q has an arithmetic progression q, q + r!p,... , q + r × r!p of length r + 1 with p ∈ P. For technical reasons, such overlaps are undesirable for our applications. However, these overlaps are rather rare and can be easily removed by the following simple device. We define the modified relation between P and Q by declaring p q if the progression {q, q + r!p,... , q + (r − 1)r!p}is contained inside Q, but q + r × r!p does not lie in Q. From construction we have the following basic fact:

Lemma 2.2. For any p ∈ P and q ∈ Q that there is at most one 0 6 i 6 r − 1 such that p q − ir!p_._

We can then modify Lemma 2.1 slightly by replacing the relation with its slightly perturbed version :

Lemma 2.3. Let x, y, r, P, Q , and be as above. Let 0 6 i 6 r − 1_._

(^6) One could also deduce these bounds from Proposition 6.4’ in Appendix A.

8 KEVIN FORD, BEN GREEN, SERGEI KONYAGIN, AND TERENCE TAO

(i) For all but o(x/ log x) of the p ∈ P , we have the estimate

#{q ∈ Q : p q − ir!p} ∼ αr

y logr^ x

(ii) For all but o(y/ log x) of the q ∈ Q , we have

#{p ∈ P : p q − ir!p} ∼ αr

x 2 logr^ x

(iii) For all p ∈ P , we have the upper bounds

#{q ∈ Q : p q − ir!p} ≪

y logr^ x

(iv) For all q ∈ Q , we have the upper bounds

#{p ∈ P : p q − ir!p} ≪

x 2 logr^ x

Proof. Parts (iii) and (iv) are immediate from their counterparts in Lemma 2.1, since is a subrelation of

. To prove (i), we simply observe from Lemma 2.1(iii) (with r replaced by r + 1) that

#{q ∈ Q : p q − ir!p but p 6 q − ir!p} ≪

y logr+1^ x

and the claim then follows from Lemma 2.1(i) and the triangle inequality. The claim (ii) is proven similarly. 

For technical reasons, it will be convenient to reformulate the main results of Lemma 2.3 as follows.

Lemma 2.4. Let x, y, r, P, Q , and be as above. Then there exist subsets P 0 , Q 0 of P, Q respectively with

(2.4) #P 0 ∼

x 2 log x

; #Q 0 ∼

y log x

such that

(2.5) #{q ∈ Q : p q − ir!p} ∼ αr

y logr^ x

for all p ∈ P 0 and 0 6 i 6 r − 1 , and similarly that

(2.6) #{p ∈ P 0 : p q − ir!p} ∼ αr

x 2 logr^ x

for all q ∈ Q 0 and 0 6 i 6 r − 1_._

Proof. From Lemma 2.3(i) we may already find a subset P 0 of the desired cardinality obeying (2.5). If the P 0 in (2.6) were replaced by P, then a similar argument using Lemma 2.3(ii) (and taking the union bound for the exceptional sets for each 0 6 i 6 r − 1 ) would give the remainder of the lemma. To deal with the presence of P 0 in (2.6), it thus suffices to show that

#{p ∈ P\P 0 : p q − ir!p} = o

x logr^ x

for all but o(y/ log x) of the q ∈ Q. By Markov’s inequality, it suffices to show that

#{(p, q) ∈ (P\P 0 ) × Q : p q − ir!p} = o

x logr^ x

×

y log x

10 KEVIN FORD, BEN GREEN, SERGEI KONYAGIN, AND TERENCE TAO

Theorem 5 (Third reduction). Let r, x, y, S 2 , S 3 be as in Theorem 4, and (as in the previous section) let Q denote the primes in the range (x/ 4 , y]. Then there exists a residue class as (mod s) for each s ∈ S 2 ∪ S 3 , such that the union of these classes contains all but at most ( 15 + o(1)) (^) logx x of the elements of Q_._

Proof of Theorem 4 assuming Theorem 5. We take as := 0 for all s ∈ S 1. Write R ⊂ [y] for the residual set of elements which survive this first sieving, that is to say R consists of all numbers in [y] that are not divisible by any prime s in S 1. Taking into account that (x/4) log x > y from (3.1), we conclude that

R = Q ∪ Rerr,

where Rerr^ contains only z-smooth numbers, that is to say numbers in [y] all of whose prime factors are at most z. Let u denote the quantity u :=

log y log z

so from (3.2) one has u ∼ 3 log log^23 xx. By standard counts for smooth numbers (e.g. de Bruijn’s theorem [3]),

#Rerr^ ≪ ye−u^ log^ u+O(u^ log log(u+2))

=

y log3+o(1)^ x =

x log2+o(1)^ x = o(x/ log x).

Thus the contribution of Rerr^ may be absorbed into the exceptional set in Theorem 4, and this theorem is now immediate from Theorem 5. 

Remark 1_._ One can replace the appeal to de Bruijn’s theorem here by the simpler bounds of Rankin [25, Lemma II], if one makes the very minor change of increasing the 3 in the denominator of (3.2) to 4 , and to similarly increase the 6 in (3.1) to 8.

It remains to establish Theorem 5. Recall from (2.2) that Q has cardinality ∼ y/ log x. This is signif- icantly larger than the error term of ( 15 + o(1)) (^) logx x permitted in Theorem 5; our sieving process has to

reduce the size of Q by a factor comparable to y/x. The purpose of the second sieving, by congruences as (mod s) with s ∈ S 2 , is to achieve almost all of this size reduction. Our choice of the as for s ∈ S 2 will be completely random (which is why we are using the boldface font here): that is, for each prime s ∈ S 2 we select as uniformly at random from { 0 , 1 ,... , s − 1 }, and these choices are independent for different values of s. Write ~a for the random vector (as)s∈S 2. Observe that if n is any integer (not depending on ~a), then the probability that n lies outside of all of the as (mod s) is exactly equal to

γ :=

s∈S 2

s

This quantity will be an important normalizing factor in the arguments that follow. From Mertens’ theorem and (3.1), (3.2) we see that

(3.3) γ ∼

log 2 x log z

3(log 2 x)^2 log x log 3 x

r 2 log r

x y

LARGE GAPS BETWEEN CONSECUTIVE PRIME NUMBERS 11

Set Description Expected cardinality P Primes in (x/ 2 , x] ∼ (^) 2 logx x P 0 Primes in P connected to the expected # of primes in Q ∼ (^) 2 logx x P 1 (~a) Primes in P 0 connected to the expected # of primes in Q(~a) ∼ (^) 2 logx x P 1 (~a, q; i) Primes in P 1 (~a) i-connected to a given prime q ∈ Q 1 (~a) ∼ γr−^1 αr (^) 2 logxr (^) x Q Primes in (x/ 4 , y] ∼ (^) logy x Q 0 Primes in Q connected to the expected # of primes in P 0 ∼ (^) logy x Q(~a) Randomly refined subset of Q ∼ (^) 2 logr r logx x Q(~a, p) Primes in Q(~a) connected to a given prime p ∈ P 1 (~a) ∼ γrαr (^) logyr (^) x Q 0 (~a) Intersection of Q(~a) with Q 0 ∼ (^) 2 logr r logx x Q 1 (~a) Primes in Q 0 (~a) connected to the expected # of primes in P 1 (~a) ∼ (^) 2 logr r logx x Q 1 (~a, ~q) Randomly refined subset of Q 1 (~a) ∼ (^) 2 log^1 r logx x TABLE 1. A brief description of the various P and Q-type sets used in the construction, and their expected size. Roughly speaking, the congruence classes from S 1 are used to cut down [y] to approximately Q, the congruence classes from S 2 are used to cut Q down to approximately Q 0 (~a), the congruence classes from S 3 = P are used to cut Q 0 (~a) down to approximately Q 1 (~a, ~q), and the congruence classes in S 4 are used to cover all surviving elements from previous sieving.

Write Q(~a) for the (random) residual set of primes q in Q that do not lie in any of the congruence classes as (mod s) for s ∈ S 2. We will in fact focus primarily on the slightly smaller set

Q 0 (~a) := Q(~a) ∩ Q 0

where Q 0 is the subset of Q constructed in Lemma 2.4. From linearity of expectation we see that

(3.4) E#Q(~a) = γ#Q

and thus from (3.3), (2.2)

(3.5) E#Q(~a) ∼

r 2 log r

x log x

Similarly, from Lemma 2.4 we have

#(Q\Q 0 ) = o

y log x

and thus from linearity of expectation and (3.3) we have

E#(Q(~a)\Q 0 (~a)) = o

γ

y log x

= o

x log x

In particular, from Markov’s inequality we have

(3.6) #(Q(~a)\Q 0 (~a)) = o

γ

y log x

= o

x log x

with probability 1 − o(1). We have an analogous concentration bound for #Q(~a):

LARGE GAPS BETWEEN CONSECUTIVE PRIME NUMBERS 13

This lemma is also proven by an application of the second moment method; we defer this proof also to Section 4. We are now ready to perform the third sieving process. Let us fix any ~a obeying the properties in Lemma 3.2, and let P 1 (~a) and Q 1 (~a) be as in that lemma. Since ~a has the desired properties with probability at least ε, in order to establish Theorem 6 (and thus Theorem 2 and Theorem 1), it suffices to show that for every such ~a, there is a choice of residue classes qp for p ∈ P 0 satisfying the required union property for Theorem

For each p ∈ P 1 (~a), we select qp uniformly at random from the set

(3.8) Q(~a, p) := {q ∈ Q(~a) : p ~a^ q},

with the qp for p ∈ P 1 (~a) being chosen independently (after ~a has been fixed); note from Lemma 3.2 that

(3.9) #Q(~a, p) ∼ γrαr

y logr^ x

for all p ∈ P 1 (~a). We write ~q for the random tuple (qp)p∈P 1 (~a), and for brevity write P~q and E~q for the associated probability and expectation with respect to this random tuple (where ~a is now fixed). Let Q 1 (~a, ~q) denote the elements of Q 1 (~a) that are not covered by any of the arithmetic progressions {qp + ir!p : 0 6 i 6 r − 1 } for each p ∈ P 1 (~a). We claim that

(3.10) E~q#Q 1 (~a, ~q) 6

x 5 log x

This implies (for each fixed choice of ~a) the existence of a deterministic ~q with

#Q 1 (~a, ~q) 6

x 5 log x

since #(Q 0 (~a)\Q 1 (~a)) = o(x/ log x) from (3.7), Theorem 6 follows (upon choosing qp := qp for p ∈ P 1 (~a) and qp arbitrarily for p ∈ P 0 \P 1 (~a)). It remains to prove (3.10). We will shortly show that

(3.11) P~q(q ∈ Q 1 (~a, ~q)) 6

1 + o(1) r

for each q ∈ Q 1 (~a). Assuming this bound, then from (3.7) and linearity of expectation we have

E~q#Q 1 (~a, ~q) 6

1 + o(1) r

r 2 log r

x log x

which gives (3.10) as desired for r > 13. It remains to prove (3.11). Fix q ∈ Q 1 (~a), and consider the sets

P 1 (~a, q; i) := {p ∈ P 1 (~a) : p

~a q − ir!p}

for i = 0,... , r − 1. From Lemma 2.2, these sets are disjoint; from Lemma 3.2, these sets each have cardinality (1 + o(1))γr−^1 αr (^) 2 logxr (^) x. Suppose that 0 6 i 6 r − 1 and p ∈ P 1 (~a, q; i). Then q − ir!p ∈ Q(~a, p) by (3.8), and the probability that qp = q − ir!p is equal to

1 #Q(~a, p)

1 + o(1) γrαr (^) logyr (^) x

14 KEVIN FORD, BEN GREEN, SERGEI KONYAGIN, AND TERENCE TAO

thanks to (3.9). By independence, the probability that qp 6 = q − ir!p for all 0 6 i 6 r − 1 and p ∈ P 1 (~a, q; i) (which is a necessary condition for q to end up in Q 1 (~a, ~q)) is thus

r∏− 1

i=

p∈P 1 (~a,q;i)

1 + o(1) γrαr (^) logyr (^) x

= exp

1 + o(1) γrαr (^) logyr (^) x

r(1 + o(1))γr−^1 αr

x 2 logr^ x

= exp

−(1 + o(1))

rx 2 yγ

= exp(−(1 + o(1)) log r)

by (3.3). The claim (3.11) follows.

  1. PROBABILITY ESTIMATES

In this section we establish the results left unproven in the last section, namely Lemmas 3.1 and 3.2. Our primary tool here will be the second moment method. Throughout, the probabilistic quantities we write are all with respect to the random choice of the vector ~a = (as)s∈S 2. In several of these proofs we will make use of the quantities γi defined by

(4.1) γi :=

s∈S 2

i s

for i = 1,... , 2 r. Note that γ 1 = γ in the notation of the previous section.

Lemma 4.1. We have γi ∼ γi , uniformly for all 1 6 i 6 2 r_._

Proof. We have, uniformly for 1 6 i 6 2 r,

γi = γi^

s∈S 2

i s

s

)−i = γi^

s∈S 2

1 + O(s−^2 )

= γi(1 + O(1/ log x)),

using the fact that all primes s ∈ S 2 are > log x. 

4.1. Proof of Lemma 3.1. To prove Lemma 3.1 we use the second moment method. Indeed, from Cheby- shev’s inequality it will suffice to prove the asymptotics

(4.2) E#Q(~a) ∼ γ

y log x

and

(4.3) E(#Q(~a))^2 ∼

γ

y log x

The claim (4.2) is just (3.5), so we turn to (4.3). The left-hand side of (4.3) may be written as ∑

q 1 ,q 2 ∈Q

P(q 1 , q 2 ∈ Q(~a)).

The diagonal contribution q 1 = q 2 is clearly negligible (it is crudely bounded by #Q, which is much smaller

than

γ (^) logy x

), so by (2.2) it suffices to show that

P(q 1 , q 2 ∈ Q(~a)) ∼ γ^2

16 KEVIN FORD, BEN GREEN, SERGEI KONYAGIN, AND TERENCE TAO

We begin with (4.7). For any s ∈ S 2 , the probability that q, q + r!p,... , q + (r − 1)r!p simultaneously avoid as (mod s) is equal to 1 − r s (note that s is coprime to r!p). So (4.7) then follows (with exact equality) from (4.1) and independence. Now we turn to (4.8). For any s ∈ S 2 , the probability that q 1 , q 1 + r!p,... , q 1 + (r − 1)r!p, q 2 , q 2 + r!p,... , q 2 +(r−1)r!p simultaneously avoid as (mod s) is usually equal to 1 − (^2) sr ; the exceptions arise when s divides q 2 − q 1 + ir!p for some −r 6 i 6 r, in which case the probability is instead (1+ O( (^) log^1 x ))(1− (^2) sr ).

But by arguing as in the proof of Lemma 3.1, the number of exceptional s is o(log x). Multiplying all the independent probabilities together, we obtain the claim (4.8). This concludes the proof of Lemma 4.2(i). Now we prove Lemma 4.2(ii). Again, the second part of (4.5) follows from (2.6). For the first part, it suffices (by Lemma 3.1 and (3.3)) to show that with probability 1 − o(1), one has

∑

q∈Q 0 (~a)

∣∣#{p ∈ P 0 : p ~a^ q − ir!p} − γr−^1 αr^ x 2 logr^ x

2 = o

γ

y log x

γr−^1

x logr^ x

By Markov’s inequality, it suffices to show that

E

q∈Q 0 (~a)

∣#{p^ ∈ P^0 :^ p^

~a (^) q − ir!p} − γr− (^1) α r

x 2 logr^ x

2 = o

γ

y log x

γr−^1

x logr^ x

Expanding out the square, it suffices to show the estimate

(4.9) E

q∈Q 0 (~a)

#{p ∈ P 0 : p

~a q − ir!p}

)b ∼ γ

y log x

γr−^1 αr

x 2 logr^ x

)b

for b = 0, 1 , 2. The b = 0 case of (4.9) follows from (2.2) and (3.4). For the b = 1, 2 cases, observe from Lemma 2. that ∑

q∈Q 0

(#{p ∈ P 0 : p q − ir!p})b^ ∼

αr

x 2 logr^ x

)b y log x

By linearity of expectation, it thus suffices to show that

(4.10) P(q − ir!p, q + (1 − i)r!p,... , q + (r − 1 − i)r!p ∈ Q 0 (~a)) ∼ γr

whenever p ∈ P 0 , q ∈ Q 0 with p q − ir!p, and

(4.11) P(q + jr!pk ∈ Q 0 (~a) for all j = −i, 1 − i,... , r − 1 − i and k = 1, 2) ∼ γ^2 r−^1

whenever p 1 , p 2 ∈ P 0 , q ∈ Q 0 with p 1 q − ir!p 1 , p 2 q − ir!p 2 , and p 1 6 = p 2 (the total contribution of the diagonal p 1 = p 2 is easily seen to be negligible). We begin with the proof of (4.10). For any s ∈ S 2 , the probability that the progression q − ir!p, q + (1 − i)r!p,... , q + (r − 1 − i)r!p avoids as (mod s) is equal to 1 − r s (since s is coprime to r!p), and so by (4.1) and independence the left-hand side of (4.10) is precisely γr. The claim now follows from Lemma 4.1. Now we prove (4.11). For any s ∈ S 2 , the probability that the intersecting progressions q − ir!p 1 , q + (1 − i)r!p 1 ,... , q + (r − 1 − i)r!p 1 and q − ir!p 2 , q + (1 − i)r!p 2 ,... , q + (r − 1 − i)r!p 2 avoid s is usually 1 − 2 r− s 1 (note that q is a common value of the two arithmetic progressions). The exceptions occur when s divides jp 1 + kp 2 for some −r 6 j, k 6 r that are not both zero, but by arguing as before we see that the number of such exceptions is o(log x), and the probability in these cases is (1 + O( (^) log^1 x ))(1 − 2 r s− 1 ). Thus

LARGE GAPS BETWEEN CONSECUTIVE PRIME NUMBERS 17

by independence, the left-hand of (4.11) is ∼ γ 2 r− 1 , and the claim follows from Lemma 4.1. The proof of Lemma 4.2 is now complete.

4.3. Proof of Lemma 3.2. Suppose that ε > 0 goes to zero as x → ∞ sufficiently slowly. Let P 1 (~a) be the set of p ∈ P 0 obeying (4.4) for all 0 6 i 6 r − 1 (actually the choice of i is irrelevant here), then from Lemma 4.2(i) and (2.4) we have that with probability at least 1 − ε we have

(4.12) #P 1 (~a) ∼

x 2 log x

as required. From Lemma 3.1 we also have #Q 0 (~a) ∼ (^) 2 logr r logx x with probability at least 1 − ε as required. To finish the proof of the lemma, it suffices in view of Lemma 4.2(ii) to show that with probability at least 3 ε, one has

#{p ∈ P 0 \P 1 (~a) : p

~a q − ir!p} = o(γr−^1 x/ logr^ x)

for all but o(x/ log x) values of q ∈ Q 0 (~a), and any 0 6 i 6 r − 1. We use a double counting argument. It clearly suffices to show with probability at least 3 ε that

#{(p, q) ∈ (P 0 \P 1 (~a)) × Q 0 (~a) : p

~a q − ir!p} = o

γr−^1

x logr^ x

×

x log x

for all 0 6 i 6 r − 1. Actually, the left-hand side does not depend on i (as can be seen by shifting q by ir!p), so it suffices to show that the above holds with i = 0. By (3.3), we may rewrite this requirement as

#{(p, q) ∈ (P 0 \P 1 (~a)) × Q 0 (~a) : p

~a q} = o

γrαr

y logr^ x

×

x log x

Now from (4.4) and (4.12) we have

#{(p, q) ∈ P 1 (~a) × Q 0 (~a) : p

~a q} ∼ γrαr

y logr^ x

×

x 2 log x

with probability at least 1 − ε, so it suffices to show that

#{(p, q) ∈ P 0 × Q 0 (~a) : p ~a^ q} 6

1 + o(1) 1 − 3 ε

γrαr

y logr^ x

×

x 2 log x

with probability at least 4 ε (recall that ε = o(1)). By Markov’s inequality, it thus suffices to show that

E#{(p, q) ∈ P 0 × Q 0 (~a) : p

~a q} 6 (1 + o(1))γr^ αr

y logr^ x

×

x 2 log x

But this follows from the b = 1 case of (4.9). The proof of Lemma 3.2 is now complete.

  1. LINEAR EQUATIONS IN PRIMES WITH LARGE SHIFTS

The paper [16] of the second and fourth author is concerned with counting the number of prime points parameterized by a system of affine-linear forms in a convex body, when the constant terms in the affine- linear forms are comparable to the size of the body. To establish Lemma 2.1 we will require a strengthening of the main result in [16], in which the constant terms in the affine-linear forms are permitted to be larger than the size of the body by a logarithmic factor. The aim of this section is to state this strengthening. The proof involves a number of minor modifications to the arguments of [16]: these are indicated in Appendix A. To state the results, we need to recall some notation from [16]. If d, t > 1 be integers, then an affine- linear form on Zd^ is a function ψ : Zd^ → Z which is the sum ψ = ψ˙ + ψ(0) of a homogeneous linear form

LARGE GAPS BETWEEN CONSECUTIVE PRIME NUMBERS 19

where B > 0 is some constant (in fact any B > 1 will suffice for us). Here we have defined

‖Ψ‖N,B :=

∑^ t

i=

∑^ d

j=

| ψ˙i(ej )| +

∑^ t

i=

ψi(0) N logB^ N

Note that ‖Ψ‖N, 0 = ‖Ψ‖N. The conclusion is the same, except that the error term in (5.2) must also depend on B.

Theorem 7. Let B > 0 be a positive quantity. Let everything be as in Theorem A, except assume that instead of condition (5.1) we have only the weaker condition (5.3). Then we have

∑

~n∈K∩Zd

∏^ t

i=

Λ(ψi(~n)) = β∞

p

βp + ot,d,L,B (N d),

where β∞ and the βp are given by the same formulae as before.

This extension in effect allows us to consider affine linear forms in which the constant terms ψi(0) can have size up to ≍ N logB^ N , whereas in Theorem A, they are restricted to have size O(N ). As mentioned above, the proof of Theorem 7 is deferred to Appendix A.

  1. PROOF OF LEMMA 2.1(I) In this section we deduce Lemma 2.1(i) from Theorem 7. Throughout this section, x and y obey (2.1), all o(1) terms may depend on r, and αr is defined in (2.3). It suffices to prove the lemma when x is an integer, which we henceforth assume. We first partition the range (x/ 4 , y] of q into blocks of size about x, so that p and q range over intervals of roughly the same size. Namely, for a non-negative integer m and u ∈ R we write

I(m, u) := Z ∩ [mx, (m + 1)x) ∩ (x/ 4 , ∞) ∩ [0, y − r!(r − 1)u].

Observe that

(6.1)

06 m 6 y/x

#I(m, n 1 ) ∼ y

uniformly for x/ 2 < n 1 6 x and that

(6.2) #(m, n 1 ) = x for all x/ 2 < n 1 6 x

for all except o(y/x) values of m, 0 6 m 6 y/x. We call these the exceptional values of m bad and the remaining 0 6 m 6 y/x obeying (6.2) good. Trivially |I(m, n 1 )| 6 x for all m, n 1. We claim the following estimate:

Proposition 1. We have

(6.3)

06 m 6 y/x x/ 2 <n 16 x

|F (m, n 1 )|^2 Λ(n 1 ) = o(yx^2 )

where

(6.4) F (m, n 1 ) :=

n 2 ∈I(m,n 1 )

r∏− 1

j=

Λ(n 2 + jr!n 1 ) − αr

20 KEVIN FORD, BEN GREEN, SERGEI KONYAGIN, AND TERENCE TAO

Let us assume this proposition for the moment and conclude the proof of Lemma 2.1(i). Let ε = ε(x) > 0 with ε decaying to zero sufficiently slowly. If n 1 is a prime in (x/ 2 , x], say that n 1 is exceptional and write n 1 ∈ E if the number of q for which x/ 4 < q < y − (r − 1)r!n 1 and q + jr!n 1 is prime for j = 0,... , r − 1 differs from αry/ logr^ x by at least εy/ logr^ x. It follows straightforwardly that if n 1 ∈ E then

∣∣ ∣∣ ∣

x/ 46 n 2 <y−(r−1)r!n 1

r∏− 1

j=

Λ(n 2 + jr!n 1 ) − αry

εy

if x is sufficiently large. (To see this, note that due to the restriction on the ranges of n 1 , n 2 , Λ(n 2 +jr!n 1 ) = log x + O(log 2 x) whenever n 2 + jr!n 1 is prime. Λ is also supported on prime powers, but the contribution from these is negligible.) Recall the definition (6.4) of⋃ F (m, n 1 ). Using the fact that [x/ 4 , y−(r−1)r!n 1 ] =

m I(m, n^1 )^ and (6.1), we conclude that ∣ ∣ ∣∣ ∣

06 m 6 y/x

F (m, n 1 )

εy

for sufficiently large x. By Cauchy’s inequality, we thus have

06 m 6 y/x

|F (m, n 1 )|^2 >

4 εy

y x + 2^

ε^2 xy (n 1 ∈ E ).

Since Λ(n 1 ) = log n 1 > log(x/2) for every prime n 1 , we therefore see that the left-hand side of (6.3) is at least

1 32

ε^2 xy log(x/2)#E.

Applying (6.3), we conclude that #E = o(x/ log x) if ε goes to zero slowly enough, and Lemma 2.1(i) follows. We now prove the proposition. After a change of variables, the left-hand side of (6.3) may be written as

06 m 6 y/x x/ 2 <n 16 x

n 2 ∈I(m,n 1 )−mx

( (^) r− 1 ∏

j=

Λ(n 2 + jr!n 1 + mx) − αr

2 Λ(n 1 ).

Expanding out the square, we can write this expression as

∑

06 m 6 y/x

Σ 2 (m) − 2 αr

06 m 6 y/x

Σ 1 (m) + α^2 r

06 m 6 y/x

Σ 0 (m)