Wiki
Wiki

Research notes on every problem, and a library of the papers behind them. Built from the open erdos repository.

Updated


This proves L228 at author-recorded standing. All logarithms without a subscript are natural. Write hn=(pn+1−pn)/2h_n=(p_{n+1}-p_n)/2 for n≥2n\ge2 and

Hm=∑r≥0hm+r2r+1(m≥2).H_m=\sum_{r\ge0}\frac{h_{m+r}}{2^{r+1}}\qquad(m\ge2).

We first derive the only distributional estimate used in the construction.

Very small gaps have small upper density

There are absolute constants AA and M0M_0 such that, for every M≥M0M\ge M_0 and 0<ϵ≤10<\epsilon\le1,

#{2≤n≤M:hn≤ϵlog⁡n}≤AϵM.(1)\#\{2\le n\le M:h_n\le\epsilon\log n\}\le A\epsilon M. \tag{1}

The source premise is the prime-pair bound at the beginning of the proof of Theorem 4.2, p. 10 of Nathan McNew, The convex hull of the prime number graph, author's preprint of the 2018 paper. Its library page identifies the edition and proof location. For D(t,x)=#{p≤x:p,p+t are prime}D(t,x)=\#\{p\le x:p,p+t\text{ are prime}\}, the displayed Brun-sieve bound is, with an absolute constant,

D(t,x)≪xlog⁡2x∏ℓ∣tℓ≤x(1−1ℓ)−1.(2)D(t,x)\ll \frac{x}{\log^2x} \prod_{\substack{\ell\mid t\\\ell\le x}} \left(1-\frac1\ell\right)^{-1}. \tag{2}

All products indexed by ℓ\ell in this proof run over primes.

We use it only for positive even t≤2log⁡xt\le2\log x, so that the product is t/ϕ(t)t/\phi(t). The statement, including the absolute constant, was inspected on the printed page. The sieve argument behind (2) is not reproved here.

For B≥1B\ge1, the identity t/ϕ(t)=∑e∣tμ(e)2/ϕ(e)t/\phi(t)=\sum_{e\mid t}\mu(e)^2/\phi(e) gives

∑t≤Btϕ(t)≤B∑e≥1μ(e)2eϕ(e)=B∏ℓ prime(1+1ℓ(ℓ−1))≪B.(3)\sum_{t\le B}\frac{t}{\phi(t)} \le B\sum_{e\ge1}\frac{\mu(e)^2}{e\phi(e)} =B\prod_{\ell\text{ prime}} \left(1+\frac1{\ell(\ell-1)}\right)\ll B. \tag{3}

If ϵlog⁡M<1\epsilon\log M<1, the set in (1) is empty. Otherwise its members have pn+1−pn≤2ϵlog⁡Mp_{n+1}-p_n\le2\epsilon\log M. Put x=pM∼Mlog⁡Mx=p_M\sim M\log M and sum (2) over the positive even differences up to B=2ϵlog⁡M≤2log⁡xB=2\epsilon\log M\le2\log x. By (3), the count is at most

O(xlog⁡2x ϵlog⁡M)=O(ϵM),O\left(\frac{x}{\log^2x}\,\epsilon\log M\right)=O(\epsilon M),

with constants independent of ϵ\epsilon and MM once MM is large. This proves (1) uniformly in ϵ\epsilon. In particular, if bn=o(log⁡n)b_n=o(\log n) is nonnegative, the indices with hn≤bnh_n\le b_n have density zero: bound bnb_n eventually by ϵlog⁡n\epsilon\log n and then let ϵ↓0\epsilon\downarrow0 in (1).

Choosing the positions and their capacity

Fix the moduli (qn)(q_n) and a prefix length NN. Put

Ωn=inf⁡m≥nlog⁡2log⁡mqm.\Omega_n=\inf_{m\ge n}\log_2\frac{\log m}{q_m}.

Since qn=o(log⁡n)q_n=o(\log n), the numbers Ωn\Omega_n are finite, nondecreasing and tend to infinity. Choose n0≥max⁡(N,3)n_0\ge\max(N,3) such that Ωn0≥8\Omega_{n_0}\ge8, and set Ln=⌊Ωn/4⌋L_n=\lfloor\Omega_n/4\rfloor for n≥n0n\ge n_0. Thus Ln≥2L_n\ge2 is nondecreasing and tends to infinity. Define

i0=n0,it=it−1+Lit−1(t≥1),Ut=2Lit+3.(4)i_0=n_0,\qquad i_t=i_{t-1}+L_{i_{t-1}}\quad(t\ge1),\qquad U_t=2^{L_{i_t}+3}. \tag{4}

The set of starts {it:t≥1}\{i_t:t\ge1\} has density zero, since its successive spacings tend to infinity. We choose distinct, increasing endpoints. Put j0=n0j_0=n_0 and let jtj_t be the least integer satisfying

jt≥max⁡(it+1,jt−1+1),hjt≥qjtUt+1.(5)j_t\ge\max(i_t+1,j_{t-1}+1),\qquad h_{j_t}\ge q_{j_t}U_t+1. \tag{5}

Each choice exists. For fixed tt, qjUt+1=o(log⁡j)q_jU_t+1=o(\log j), and the last consequence of (1) says that almost all sufficiently large jj satisfy the second condition in (5). No quantitative bound for the first such endpoint is needed.

For j≥itj\ge i_t, the definition of Ω\Omega gives

qjUt≤23−3Ωit/4log⁡j=:ϵtlog⁡j,ϵt↓0.(6)q_jU_t\le 2^{3-3\Omega_{i_t}/4}\log j =:\epsilon_t\log j, \qquad \epsilon_t\downarrow0. \tag{6}

Define the set of position indices

D=⋃t≥1{it+1,it+2,…,jt}.(7)D=\bigcup_{t\ge1}\{i_t+1,i_t+2,\ldots,j_t\}. \tag{7}

It has density zero. To prove this, fix an integer T≥1T\ge1 and discard the finite union of intervals in (7) with t<Tt<T. If a remaining n∈Dn\in D is not an endpoint, choose the smallest tt with it<n≤jti_t<n\le j_t. Every earlier endpoint is below nn: otherwise its start is smaller than it<ni_t<n, so its interval would contain nn. Therefore n≥max⁡(it+1,jt−1+1)n\ge\max(i_t+1,j_{t-1}+1) and n<jtn<j_t. By the minimality of jtj_t, hn<qnUt+1h_n<q_nU_t+1, hence, since these are integers,

hn≤qnUt≤ϵtlog⁡n≤ϵTlog⁡n.h_n\le q_nU_t\le\epsilon_t\log n\le\epsilon_T\log n.

The endpoint set has density zero because jt>itj_t>i_t, so its count up to MM is at most the count of starts up to MM. By (1), the upper density of DD is at most AϵTA\epsilon_T. Letting T→∞T\to\infty proves the assertion. It also proves

jtit⟶1:jt−itjt≤∣D∩[1,jt]∣jt⟶0.(8)\frac{j_t}{i_t}\longrightarrow1: \quad\frac{j_t-i_t}{j_t}\le \frac{|D\cap[1,j_t]|}{j_t}\longrightarrow0. \tag{8}

The set DD, the starts, endpoints and caps depend on the given primes and moduli, not on the value of the series to be attained.

If, additionally, qn≤C(log⁡n)αq_n\le C(\log n)^\alpha eventually, where 0≤α<10\le\alpha<1, then

Ωn≥(1−α)log⁡2log⁡n−log⁡2C\Omega_n\ge(1-\alpha)\log_2\log n-\log_2 C

for all large nn. The start spacings are consequently bounded below by a positive constant times log⁡log⁡it\log\log i_t. There are O(M/log⁡log⁡M)O(M/\log\log M) starts up to MM, by splitting at M\sqrt M, and at most that many endpoints. By (8), intervals with it<Mi_t<\sqrt M end below 2M2\sqrt M for all sufficiently large MM. An index of DD above 2M2\sqrt M which is not an endpoint therefore has, by the same minimal-endpoint argument as above,

hn≤ηMlog⁡n,ηM=8 2−3Ω⌊M⌋/4=O((log⁡M)−3(1−α)/4).h_n\le\eta_M\log n,\qquad \eta_M=8\,2^{-3\Omega_{\lfloor\sqrt M\rfloor}/4} =O\left((\log M)^{-3(1-\alpha)/4}\right).

Apply the uniform bound (1), with this ηM\eta_M, to obtain

∣D∩[1,M]∣≤2M+O(M/log⁡log⁡M)+AηMM=O(M/log⁡log⁡M).(8a)|D\cap[1,M]| \le2\sqrt M+O(M/\log\log M)+A\eta_M M =O(M/\log\log M). \tag{8a}

This proves the additional quantitative clause about DD.

Filling an interval of values

Define positive real weights

wt=qjt(2−(it−n0+1)−2−(jt−n0+1)).(9)w_t=q_{j_t}\left(2^{-(i_t-n_0+1)}-2^{-(j_t-n_0+1)}\right). \tag{9}

By (8), qjt=o(log⁡jt)=o(log⁡it)q_{j_t}=o(\log j_t)=o(\log i_t), so wt→0w_t\to0. Since jt>itj_t>i_t, the factor 1−2−(jt−it)1-2^{-(j_t-i_t)} lies in [1/2,1)[1/2,1). Since the moduli form a divisibility chain and the endpoints increase, qjt−1≤qjtq_{j_{t-1}}\le q_{j_t}. Consequently, for t≥2t\ge2,

wt−1wt≤2it−it−1+1=2Lit−1+1≤2Lit+1.(10)\frac{w_{t-1}}{w_t}\le2^{i_t-i_{t-1}+1} =2^{L_{i_{t-1}}+1}\le2^{L_{i_t}+1}. \tag{10}

Also w1≥2−Ln0−2w_1\ge2^{-L_{n_0}-2}. For any b∈[0,1]b\in[0,1] define

r0=b,ut=⌊rt−1wt⌋,rt=rt−1−utwt(t≥1).(11)r_0=b,\qquad u_t=\left\lfloor\frac{r_{t-1}}{w_t}\right\rfloor,\qquad r_t=r_{t-1}-u_tw_t\quad(t\ge1). \tag{11}

Then 0≤rt<wt0\le r_t<w_t, so rt→0r_t\to0 and ∑t≥1utwt=b\sum_{t\ge1}u_tw_t=b. Moreover 0≤u1≤2Ln0+2<U10\le u_1\le2^{L_{n_0}+2}<U_1, and for t≥2t\ge2, (10) gives 0≤ut<wt−1/wt≤2Lit+1<Ut0\le u_t<w_{t-1}/w_t\le2^{L_{i_t}+1}<U_t. Thus every digit fits its prescribed capacity.

Set vt=qjtutv_t=q_{j_t}u_t and, for all n≥1n\ge1, put

an=pn+2∑it<n≤jtvt.(12)a_n=p_n+2\sum_{i_t<n\le j_t}v_t. \tag{12}

This finite sum is nonnegative. It vanishes for n≤n0n\le n_0 and for n∉Dn\notin D. For n≥2n\ge2, the new halved gap is

hn′:=an+1−an2=hn+∑it=nvt−∑jt=nvt.(13)h'_n:=\frac{a_{n+1}-a_n}{2} =h_n+\sum_{i_t=n}v_t-\sum_{j_t=n}v_t. \tag{13}

There is at most one term in each of the two sums. If an endpoint equals nn, then vt<qnUt<hnv_t<q_nU_t<h_n by (5); therefore hn′≥1h'_n\ge1, including when a start and an endpoint coincide. Also a1=2a_1=2, a2=3a_2=3. This proves strict increase and positivity.

For every active interval in (12), n≤jtn\le j_t, so qn∣qjtq_n\mid q_{j_t}. It follows that an≡pn(mod2qn)a_n\equiv p_n\pmod{2q_n} for n≥2n\ge2. Equation (13) also shows hn′≡hn(modqn)h'_n\equiv h_n\pmod{q_n}, including at starts, because it<jti_t<j_t and qit∣qjtq_{i_t}\mid q_{j_t}.

The density-zero conclusion for DD implies an/pn→1a_n/p_n\to1. Indeed, an≥pna_n\ge p_n, and for every fixed η>0\eta>0 and all large nn there is an m∈[n,(1+η)n]m\in[n,(1+\eta)n] outside DD. Monotonicity and the prime number theorem give an≤am=pm≤(1+η+o(1))pna_n\le a_m=p_m\le(1+\eta+o(1))p_n; let η↓0\eta\downarrow0.

The changes to gaps are small even on their support. By (6), vt≤ϵtlog⁡jtv_t\le\epsilon_t\log j_t, and by (8), log⁡jt/log⁡it→1\log j_t/\log i_t\to1. Thus a positive term in (13) is o(log⁡it)o(\log i_t) and a negative term is o(log⁡jt)o(\log j_t). There are at most two incident terms at any index, so hn′−hn=o(log⁡n)h'_n-h_n=o(\log n). These changes also have density-zero support, since only starts and endpoints can occur.

Finally, all the terms vtv_t in (12) are nonnegative. Tonelli's theorem and a finite geometric sum give

∑n≥1an−pn2n=2∑t≥1vt∑n=it+1jt2−n=2∑t≥1vt(2−it−2−jt)=22−n0∑t≥1utwt=22−n0b.(14)\begin{aligned} \sum_{n\ge1}\frac{a_n-p_n}{2^n} &=2\sum_{t\ge1}v_t\sum_{n=i_t+1}^{j_t}2^{-n}\\ &=2\sum_{t\ge1}v_t(2^{-i_t}-2^{-j_t})\\ &=2^{2-n_0}\sum_{t\ge1}u_tw_t =2^{2-n_0}b. \end{aligned} \tag{14}

Take δ=22−n0\delta=2^{2-n_0} and b=(T−S)/δb=(T-S)/\delta for any T∈[S,S+δ]T\in[S,S+\delta]. Equations (12)--(14) prove every clause of L228. Dyadic rationals are dense, so one can choose such a T>ST>S that is dyadic rational. The construction makes no assertion that the altered terms are prime. □\square