betaFeedback

WorksMathematics

Upper bounds for nearly equal largest prime factors of consecutive integers

Abstract

Let p<qp<q be the largest prime factors of nn and n+1n+1, in either order. For X3/4+η≤H≤XX^{3/4+\eta}\le H\le X, the number of n∈(X,X+H]n\in(X,X+H] with q/p≤1+dq/p\le1+d is Oη(dHlog⁡(2+dX)/(log⁡X)2)O_\eta(dH\log(2+d\sqrt X)/(\log X)^2), uniformly for 0<d≤10<d\le1. Imposing ∣n/(pq)−1∣≤w≤1/2|n/(pq)-1|\le w\le1/2 gives Oη(wdH/(log⁡X)2)O_\eta(wdH/(\log X)^2). For fixed window widths both estimates hold down to H=X2/3+ηH=X^{2/3+\eta}. At H=XH=X, matching lower bounds give the order of the first count whenever dX≥(log⁡X)1+δd\sqrt X\ge(\log X)^{1+\delta} for fixed δ>0\delta>0.

Introduction

Write P+(n)P^{+}(n) for the largest prime factor of n>1n>1. The largest prime factors p<qp<q of n,n+1n,n+1 are distinct since nn and n+1n+1 are coprime. Let Nσ(X,H,d)N_\sigma(X,H,d) count the integers X<n≤X+HX<n\le X+H with q≤(1+d)pq\le(1+d)p, where σ=+1\sigma=+1 if p=P+(n)p=P^{+}(n) and σ=−1\sigma=-1 otherwise. Let Bσ(X,H,d,w)B_\sigma(X,H,d,w) count those that also satisfy ∣n/(pq)−1∣≤w|n/(pq)-1|\le w. We take 0<H≤X0<H\le X, 0<d≤10<d\le1, 0<w≤1/20<w\le1/2, and put L=log⁡XL=\log X, Y=dXY=d\sqrt{X}, and r=H/Xr=H/X.

For s,v>0s,v>0 define

RX(s,v)=min⁡{s, X−1/6v1/3, X−1/3v−1/3}.\mathcal{R}_X(s,v)=\min\left\{s,\ X^{-1/6}v^{1/3},\ X^{-1/3}v^{-1/3}\right\}.

Theorem 1.1. For each fixed η>0\eta>0, uniformly in both orientations,

Nσ(X,H,d)≪ηdHlog⁡(2+Y)L2if r≥XηRX(d,d).(1)N_\sigma(X,H,d)\ll_\eta\frac{dH\log(2+Y)}{L^2}\qquad\text{if }r\ge X^\eta\mathcal{R}_X(d,d). \tag*{(1)}

For H=XH=X the bound is absolute. For sufficiently large XX the count is zero if (X+H)d2≤2(X+H)d^2\le2.

If H=XH=X and 1<Y≤21<Y\le\sqrt{2}, one also has

Nσ(X,X,d)≪1+(Y−1)Xlog⁡2(2+(Y−1)X).(2)N_\sigma(X,X,d)\ll\frac{1+(Y-1)\sqrt{X}}{\log^2(2+(Y-1)\sqrt{X})}. \tag*{(2)}

Theorem 1.2. For each fixed η>0\eta>0, uniformly in both orientations,

Bσ(X,H,d,w)≪ηwdHL2if r≥XηRX(min⁡(d,w),dw).(3)B_\sigma(X,H,d,w)\ll_\eta\frac{wdH}{L^2}\qquad\text{if }r\ge X^\eta\mathcal{R}_X(\min(d,w),dw). \tag*{(3)}

For H=XH=X the bound is absolute. For sufficiently large XX the count is zero if

wdX+H(1+d)(1−w)<1−3X.wd\sqrt{\frac{X+H}{(1+d)(1-w)}}<1-\sqrt{\frac{3}{X}}.

The last two terms in RX(s,v)\mathcal{R}_X(s,v) cross at v=X−1/4v=X^{-1/4}. Their minimum is at most X−1/4X^{-1/4}, giving the uniform threshold H≥X3/4+ηH\ge X^{3/4+\eta}. For fixed positive widths the last term gives H≥X2/3+ηH\ge X^{2/3+\eta} after decreasing η\eta in the estimates.

Theorem 1.3. For each fixed c>0c>0, uniformly for cL≤Y≤XcL\le Y\le\sqrt{X},

Nσ(X,X,d)≫cdXL2log⁡(2+Y/L).(4)N_\sigma(X,X,d)\gg_c\frac{dX}{L^2}\log(2+Y/L). \tag*{(4)}

also with the strict endpoint q<(1+d)pq<(1+d)p. Hence the order is dXlog⁡Y/L2dX\log Y/L^2 when Y≥L1+δY\ge L^{1+\delta} for fixed $\delta>0.

Erdős and Pomerance [2] used complementary cofactors to study the separation of the largest prime factors of consecutive integers. For fixed ratio windows about 1, Kim [6] obtained a lower bound, and Yang [9, Theorem 1.7 and Remark 1.8] proved a lower bound of order X/log⁡XX/\log X and proposed the matching upper bound. We obtain that order in each orientation. Our upper bound uses reciprocal congruences modulo differences of prime factors or cofactors. A change to product coordinates separates the stationary phases, allowing the spectral large sieve on unit intervals.

Sieve estimates

For j≥1j \ge1, write Wj(v)=(v/φ(v))jW_j(v) = (v/\varphi(v))^j for positive integers vv. For V≥1V \ge1 we use

∑v≤VWj(v)≪jV,∑v≤VWj(v)v≪jlog⁡(2V),∑k≤KWj(∣hk±1∣)≪jK(K≥h≥2).(5)\sum_{v \le V} W_j(v) \ll_j V,\qquad\sum_{v \le V} \frac{W_j(v)}{v} \ll_j \log(2V),\qquad\sum_{k \le K} W_j(\lvert hk \pm1\rvert) \ll_j K \quad(K \ge h \ge2). \tag*{(5)}

Indeed Wj(v)=∑ℓ∣vgj(ℓ)W_j(v) = \sum_{\ell\mid v} g_j(\ell) with gjg_j multiplicative, supported on squarefree integers and 0≤gj(ℓ)≪jℓ−10 \le g_j(\ell) \ll_j \ell^{-1} for primes ℓ\ell. The sum ∑ℓgj(ℓ)/ℓ\sum_\ell g_j(\ell)/\ell converges. For the last bound, a divisor ℓ\ell is coprime to hh and imposes one residue on kk. The terms K/ℓK/\ell give Oj(K)O_j(K), and the errors sum to Oj((log⁡(2hK))Oj(1))=Oj(K)O_j((\log(2hK))^{O_j(1)}) = O_j(K) by the Euler product over ℓ≤2hK\ell\le2hK and Mertens’ estimates.

We record the uniform version of Selberg’s upper sieve used below. For ν∈{1,2,3}\nu\in\{1,2,3\} and D≥1D \ge1, retain primes ℓ>2ν\ell> 2\nu with ℓ∤D\ell\nmid D. Let 0<g(ℓ)≤ν/ℓ0 < g(\ell) \le\nu/\ell with g(ℓ)=ν/ℓ+Oν(ℓ−2)g(\ell) = \nu/\ell+ O_\nu(\ell^{-2}), and extend gg multiplicatively on squarefree products of the retained primes. There are weights λj\lambda_j, supported on those products j≤zj \le z, such that

λ1=1,∣λj∣≤j,∑i,jλiλjg([i,j])≪νWν(D)(log⁡z)ν(z≥2).(6)\lambda_1 = 1,\qquad\lvert\lambda_j\rvert\le j,\qquad\sum_{i,j}\lambda_i\lambda_j g([i,j]) \ll_\nu\frac{W_\nu(D)}{(\log z)^\nu}\qquad(z \ge2). \tag*{(6)}

To see this, put A(j)=∏ℓ∣j(1/g(ℓ)−1)A(j) = \prod_{\ell\mid j}(1/g(\ell)-1) and G(z)=∑j1/A(j)G(z) = \sum_j 1/A(j), summing over the support. The quadratic form equals ∑jA(j)(∑j∣kλkg(k))2\sum_j A(j)(\sum_{j\mid k}\lambda_k g(k))^2. Choose the inner sum to be μ(j)/(G(z)A(j))\mu(j)/(G(z)A(j)). Inversion gives λ1=1\lambda_1 = 1 and ∣λj∣≤1/(g(j)A(j))≤2ω(j)≤j\lvert\lambda_j\rvert\le1/(g(j)A(j)) \le2^{\omega(j)} \le j. This choice gives the value 1/G(z)1/G(z). In the Euler product for ∑j1/A(j)\sum_j 1/A(j) over retained primes up to zcνz^{c_\nu}, the weighted mean of log⁡j\log j is ∑ℓ≤zcνg(ℓ)log⁡ℓ\sum_{\ell\le z^{c_\nu}} g(\ell)\log\ell with the sum restricted to retained primes. This is at most 12log⁡z\frac12\log z for small fixed cν>0c_\nu> 0, by ∑ℓ≤x(log⁡ℓ)/ℓ≪log⁡(2x)\sum_{\ell\le x}(\log\ell)/\ell\ll\log(2x). At least half the mass lies at j≤zj \le z. The product is ≫ν(log⁡z)ν/Wν(D)\gg_\nu(\log z)^\nu/W_\nu(D), by (1−g(ℓ))−1=(1−1/ℓ)−ν(1+Oν(ℓ−2))(1-g(\ell))^{-1} = (1-1/\ell)^{-\nu}(1+O_\nu(\ell^{-2})) and Mertens’ estimates. This proves (6).

Lemma 2.1. For ν≤3\nu\le3 integral affine forms with nonzero slopes and pairwise nonzero determinants, let DD be the absolute product of the slopes and determinants. Among integers in an interval of length T≥2T \ge2, the number on which all forms are prime and exceed T1/20T^{1/20} is

≪νTWν(D)log⁡ν(2T).\ll_\nu\frac{T W_\nu(D)}{\log^\nu(2T)}.

Proof. For a retained prime there are exactly ν\nu distinct roots of the product of the forms. With z=T1/20z = T^{1/20}, the squared sum of the weights λj\lambda_j over jj dividing that product majorizes the prime-tuple indicator. Expansion gives the main term T/G(z)T/G(z) and error ≪∑i,j≤z∣λiλj∣≪z6\ll\sum_{i,j\le z}\lvert\lambda_i\lambda_j\rvert\ll z^6. This error is absorbed by the claimed bound. Bounded TT is covered by trivial counting. □

In particular, for P≥2P \ge2 and 0<d≤10 < d \le1, applying Lemma 2.1 to pp, p+hp+h and summing over 1≤h≤2dP1 \le h \le2dP gives

#{P≤p<2P, p<q≤(1+d)p: p,q prime}≪dP2log⁡2(2P).(7)\#\{P \le p < 2P,\ p < q \le(1+d)p:\ p,q\text{ prime}\} \ll\frac{dP^2}{\log^2(2P)}. \tag*{(7)}

Lemma 2.2. Let m≥1m \ge1, (c,m)=1(c,m)=1, and

F(x,y)=χ((x−x0)/U) ψ((y−f(x))/V),F(x,y)=\chi((x-x_0)/U)\,\psi((y-f(x))/V),

where χ,ψ\chi,\psi are fixed smooth nonnegative functions of compact support. On an interval containing the support in xx, suppose either ff is constant and D=0D=0, or

∣f′′(x)∣≍DV/U2,∣f′′′(x)∣≪DV/U3.|f''(x)|\asymp DV/U^2,\qquad|f'''(x)|\ll DV/U^3.

For each residue pair modulo tt with (t,m)=1(t,m)=1, the FF-weighted count on xy≡c(modm)xy\equiv c\pmod m in that pair is

φ(m)(mt)2∬F+Oε(mε[m(1+D+Um1+D)+Vm]).(8)\frac{\varphi(m)}{(mt)^2}\iint F+O_{\varepsilon}\left(m^{\varepsilon}\left[\sqrt{m}\left(\sqrt{1+D}+\frac{U}{m\sqrt{1+D}}\right)+\frac{V}{m}\right]\right). \tag*{(8)}

At primes ℓ∤m\ell\nmid m, ℓ>2ν\ell>2\nu, let a fraction g(ℓ)=ν/ℓ+Oν(ℓ−2)g(\ell)=\nu/\ell+O_{\nu}(\ell^{-2}) of residue pairs is forbidden, with 0<g(ℓ)≤ν/ℓ0<g(\ell)\le\nu/\ell. The count avoiding those pairs for ℓ≤z\ell\le z is

≪εUVWν(m)m(log⁡z)2+z8Em,\ll_{\varepsilon}\frac{UV W_{\nu}(m)}{m(\log z)^2}+z^8\mathcal{E}_m,

where Em\mathcal{E}_m is the error bound in (8) with its implied constant. Proof. Put M=mtM=mt and use Poisson summation on the two residue coordinates. The zero mode gives the stated integral, and each other mode k,lk,l has coefficient M−2F^(k/M,l/M)M^{-2}\widehat{F}(k/M,l/M) times a Kloosterman sum modulo mm, with both indices multiplied by units and with a factor of modulus one. Write S(k,l;m)=∑u mod m∗e((ku+luˉ)/m)S(k,l;m)=\sum_{u\bmod m}^{*}e((ku+l\bar{u})/m), where e(t)=e2πite(t)=e^{2\pi it} and the star restricts to units. We use the Weil–Estermann bound τ(m)m(k,l,m)\tau(m)\sqrt{m(k,l,m)} and the Ramanujan bound ∣S(k,0;m)∣≤(k,m)|S(k,0;m)|\le(k,m) [3, 5].

Integration in yy gives Vψ^(Vl/M)V\widehat{\psi}(Vl/M). For the xx-integral, let B=DV∣l∣/MB=DV|l|/M and scale xx by UU. The derivative of the ff-term ranges over an interval of length O(B)O(B), and the second derivative has size ≍B\asymp B for B>0B>0. Frequencies within distance O(1+B)O(1+B) of the derivative range contribute O(U/1+B)O(U/\sqrt{1+B}) each by the second-derivative bound. Outside this interval, two integrations by parts give quadratic decay in the frequency distance. Summing over g∣kg\mid k gives

C(Mg1+B+U1+B).C\left(\frac{M}{g}\sqrt{1+B}+\frac{U}{\sqrt{1+B}}\right).

For B=0B=0 the same bound follows by Fourier decay. For l≠0l\ne0, summing V∣ψ^(Vl/M)∣(1+B)±1/2V|\widehat{\psi}(Vl/M)|(1+B)^{\pm1/2} over g∣lg\mid l gives O((M/g)(1+D)±1/2)O((M/g)(1+D)^{\pm1/2}). For the plus sign use (1+Dv)1/2≤(1+D)1/2(1+v)1/2(1+Dv)^{1/2}\le(1+D)^{1/2}(1+v)^{1/2}, and for the minus sign compare the decreasing majorant (1+v)1/2(1+Dv)−1/2(1+v)^{1/2}(1+Dv)^{-1/2} with its integral. After division by M2M^2, the total is

C(1+Dg2+UMg1+D).C\left(\frac{\sqrt{1+D}}{g^2}+\frac{U}{Mg\sqrt{1+D}}\right).

Use (k,l,m)≤∑g∣(k,l,m)g\sqrt{(k,l,m)}\le\sum_{g\mid(k,l,m)}\sqrt{g} and sum over g∣mg\mid m. For l=0l=0, summing the cutoff transform over the nonzero multiples of gg costs O(M/g)O(M/g); expanding the Ramanujan bound over divisors gives O(τ(m)V/M)O(\tau(m)V/M). These estimates prove (8).

For the sieve, expand the square of the weights in (6). For t=[i,j]t=[i,j] the simultaneous forbidden conditions give t2g(t)t^2g(t) residue pairs. Their main terms sum to φ(m)(∬F)g(t)/m2\varphi(m)(\iint F)g(t)/m^2, and their errors cost at most t2Emt^2\mathcal{E}_m. Since ∑i,j≤z∣λiλj∣[i,j]2≤z8\sum_{i,j\le z}|\lambda_i\lambda_j|[i,j]^2\le z^8, the stated bound follows. □

We use dimension two for the prime values

P1=(xy−c)/m,P2=((x+m)y−c)/m,c=±1.(9)P_1=(xy-c)/m,\qquad P_2=((x+m)y-c)/m,\qquad c=\pm1. \tag*{(9)}

For ℓ∤m\ell\nmid m their zero sets modulo ℓ\ell are disjoint and each has ℓ−1\ell-1 points. Thus g(ℓ)=2(ℓ−1)/ℓ2g(\ell)=2(\ell-1)/\ell^2. The same holds with x,yx,y interchanged.

Determinant and progression estimates

Put e=(1−σ)/2e=(1-\sigma)/2 and write n+e=apn+e=ap, n+1−e=bqn+1-e=bq. With h=q−ph=q-p and k=a−bk=a-b,

bh−kp=σ,n=khp(p+h)+σph−e.(10)bh-kp=\sigma,\qquad n=\frac{k}{h}p(p+h)+\frac{\sigma p}{h}-e. \tag*{(10)}

For p>2p>2, the gap hh is even, so bh−σ>0bh-\sigma>0, k≥1k\ge1, and (h,k)=1(h,k)=1. Since 0<t=h/p≤d0<t=h/p\le d and q≠2pq\ne2p, (10) gives

hk<nt2=hk+(hk+σ)t−et2≤3hk.(11)hk<nt^2=hk+(hk+\sigma)t-et^2\le3hk. \tag*{(11)}

Here hk≥2hk\ge2 makes the lower inequality strict in both orientations. In particular hk<(X+H)d2hk<(X+H)d^2. The case p=2p=2 requires q=3q=3 and d≥1/2d\ge1/2, so the exclusion in Theorem 1.1 follows for large XX. Also 2/d≤p≪dX2/d\le p\ll dX for p>2p>2, by h≤dph\le dp and 1≤k≪dX/p1\le k\ll dX/p. There are therefore O(log⁡(2+Y))O(\log(2+Y)) admissible dyads for pp.

If H=XH=X and 1<Y≤21<Y\le\sqrt{2}, then hk<4hk<4, hence h=2h=2 and k=1k=1. By (10), n≥p2/2n\ge p^2/2, so the prime pair p,p+2p,p+2 has pp in [2/d,2X][2/d,2\sqrt{X}]. Apply Lemma 2.1 on an interval of length 2+O((Y−1)X)2+O((Y-1)\sqrt{X}) to obtain (2).

Progressions in the two counts

On a dyad p≍Pp\asymp P, write A=X/PA=X/P and take a gap dyad h≍d0Ph\asymp d_0P. Then k≍d0Ak\asymp d_0A by (10). At fixed h,kh,k, the congruence kp≡−σ(modh)kp\equiv-\sigma\pmod h puts pp in one class modulo hh, and n′(p)≍An'(p)\asymp A in (10). The progression parameter lies in an interval of length O(r/d0)O(r/d_0). If d0≤rX−εd_0\le rX^{-\varepsilon}, enlarge the interval to length ≍r/d0\asymp r/d_0, which is ≫Xε\gg X^\varepsilon and O(P)O(P). Lemma 2.1 applies to p,p+hp,p+h, with weight W2(h)W_2(h). Summing over h,kh,k gives

≪εrAL2∑h≍d0PW2(h)≪εrd0XL2.(12)\ll_{\varepsilon}\frac{rA}{L^2}\sum_{h\asymp d_0P}W_2(h)\ll_{\varepsilon}\frac{rd_0X}{L^2}. \tag*{(12)}

When r≥Xηdr\ge X^\eta d, choose ε<η\varepsilon<\eta so this covers all gap dyads, since d0≪dd_0\ll d. In this range p>2p>2 for large XX. Summing geometrically over d0d_0 and then over PP proves the progression case of (1).

For the product band, p∈[X/3,2X]p\in[\sqrt{X}/3,2\sqrt{X}], and

npq=kh+{1/(hq),σ=+1,−1/(hp),σ=−1.(13)\frac{n}{pq}=\frac{k}{h}+ \begin{cases} 1/(hq), & \sigma=+1,\\ -1/(hp), & \sigma=-1. \end{cases} \tag*{(13)}

As k≠hk\ne h, this gives 1−1/p≤wh1-1/p\le wh and ∣k−h∣≪wh|k-h|\ll wh. The inequality

h≤dX+H(1+d)(1−w)h\le d\sqrt{\frac{X+H}{(1+d)(1-w)}}

follows from h=tn/((1+t)(n/(pq)))h=t\sqrt{n/((1+t)(n/(pq)))} and the monotonicity of t/1+tt/\sqrt{1+t}. This proves the exclusion in Theorem 1.2.

The integers b−pb-p and k−hk-h satisfy (b−p)h−(k−h)p=σ(b-p)h-(k-h)p=\sigma, so they have the same sign τ\tau and neither is zero. Put u0=∣b−p∣u_0=|b-p|, j=∣k−h∣j=|k-h|, and c=τσc=\tau\sigma. Then

u0h−jp=c,q=p+h,n+1−e=(p+τu0)q.(14)u_0h-jp=c,\qquad q=p+h,\qquad n+1-e=(p+\tau u_0)q. \tag*{(14)}

Since 1≤u0≤wp+1/q1\le u_0\le wp+1/q, we have u0≪wXu_0\ll w\sqrt{X}. In dyads h≍d0Xh\asymp d_0\sqrt{X}, u0≍w0Xu_0\asymp w_0\sqrt{X}, one has j≍d0w0Xj\asymp d_0w_0\sqrt{X}. If d0≤rX−εd_0\le rX^{-\varepsilon}, use the h,kh,k progression above with P≍XP\asymp\sqrt{X} and only O(d0w0X)O(d_0w_0\sqrt{X}) choices for k=h+τjk=h+\tau j. If w0≤rX−εw_0\le rX^{-\varepsilon}, fix u0,j,τu_0,j,\tau instead. Now u0q−(u0+j)p=cu_0q-(u_0+j)p=c puts pp in one class modulo u0u_0, and n′(p)≪Xn'(p) \ll\sqrt{X} in (14). Enlarge the parameter interval to length ≍r/w0\asymp r/w_0, between XεX^\varepsilon and O(X)O(\sqrt{X}). The prime forms have slopes u0u_0, u0+ju_0+j and determinant of absolute value one. The weights W2(u0)W2(u0+j)W_2(u_0)W_2(u_0+j) sum to O(w0X)O(w_0\sqrt{X}) at fixed jj, by Cauchy–Schwarz and (5). In both cases the sum of the weights cancels the reciprocal gap scale from the progression length. Thus the band dyad contributes

≪εrd0w0XL2(min⁡(d0,w0)≤rX−ε).(15)\ll_\varepsilon\frac{r d_0 w_0 X}{L^2} \qquad(\min(d_0,w_0) \le rX^{-\varepsilon}). \tag*{(15)}

If r≥Xηmin⁡(d,w)r \ge X^\eta\min(d,w), all gap dyads satisfy this condition for ε<η\varepsilon< \eta. Summing over d0,w0d_0,w_0 proves the progression case of (3).

The outer prime-factor ranges

Take a dyad P≤p<2PP \le p < 2P, and assume H≥X2/3H \ge X^{2/3}. For X1/10<P≤HX^{1/10} < P \le\sqrt{H}, each prime pair gives at most 1+H/(pq)≪H/P21+H/(pq) \ll H/P^2 integers by the Chinese remainder theorem. Equation (7) gives O(dH/L2)O(dH/L^2) in the dyad.

For 2≤P≤X1/102 \le P \le X^{1/10} every prime factor of aa is at most 2P2P. Multiply its prime factors, with multiplicity, until their product vv is in [X1/10,2PX1/10][X^{1/10},2PX^{1/10}]. This is possible since a≥X/(2P)a \ge X/(2P). Set ξ=1/(2log⁡(2P))\xi=1/(2\log(2P)) and define gξg_\xi multiplicatively by gξ(ℓj)=ℓjξ−ℓ(j−1)ξg_\xi(\ell^j)=\ell^{j\xi}-\ell^{(j-1)\xi} for primes ℓ≤2P\ell\le2P, and zero for other prime powers. Then

Xξ/10≤vξ≤∑j∣aj≤2PX1/10gξ(j),∑j≥1gξ(j)j=∏ℓ≤2P1−1/ℓ1−ℓ−1+ξ≪1.X^{\xi/10} \le v^\xi\le\sum_{\substack{j\mid a\\j\le2PX^{1/10}}} g_\xi(j), \qquad\sum_{j\ge1}\frac{g_\xi(j)}{j}=\prod_{\ell\le2P}\frac{1-1/\ell}{1-\ell^{-1+\xi}}\ll1.

The last estimate follows from ℓξ−1≪ξlog⁡ℓ\ell^\xi-1\ll\xi\log\ell and ∑ℓ≤2P(log⁡ℓ)/ℓ≪log⁡(2P)\sum_{\ell\le2P}(\log\ell)/\ell\ll\log(2P). For a fixed pair p,qp,q and an eligible jj, the conditions pj∣n+epj\mid n+e and q∣n+e+σq\mid n+e+\sigma give at most O(H/(pqj))O(H/(pqj)) integers since pqj≪X2/5pqj\ll X^{2/5}. If q∣jq\mid j the conditions are incompatible. Using (7), the dyad contributes

≪dHlog⁡2(2P)exp⁡(−L20log⁡(2P))≪dHL2.\ll\frac{dH}{\log^2(2P)}\exp\left(-\frac{L}{20\log(2P)}\right)\ll\frac{dH}{L^2}.

At the opposite end, put A=X/PA=X/P and suppose A≤HX−εA\le\sqrt{H}X^{-\varepsilon}. Then a,b≍Aa,b\asymp A, and 1≤k≤2bh/p≪dA1\le k\le2bh/p\ll dA by (10). For fixed a,ba,b, (a,b)=1(a,b)=1 and ap+σ=bqap+\sigma=bq gives two affine forms for p,qp,q with slopes b,ab,a and determinant of absolute value one. Their parameter interval has length H/(ab)≍H/A2≫X2εH/(ab)\asymp H/A^2\gg X^{2\varepsilon}, and the prime values are ≫P\gg P. Lemma 2.1 gives Oε(HW2(a)W2(b)/(A2L2))O_\varepsilon(HW_2(a)W_2(b)/(A^2L^2)). At each kk the sum of W2(a)W2(a−k)W_2(a)W_2(a-k) over the relevant a≍Aa\asymp A is O(A)O(A) by Cauchy–Schwarz and (5). Summing over k≪dAk\ll dA gives Oη(dH/L2)O_\eta(dH/L^2) in the dyad.

A sieve for product constraints

For m=MKm=MK, x=X1Kux=X_1Ku, and y=X2Kvy=X_2Kv, take the nonnegative weight

Fm(x,y)=χ(K,u,v)Ψ(K2Q1(u)Q2(v)−1r).(16)F_m(x,y)=\chi(K,u,v)\Psi\left(\frac{K^2Q_1(u)Q_2(v)-1}{r}\right). \tag*{(16)}

Here K,u,vK,u,v lie in fixed compact positive intervals. Each Qi(t)Q_i(t) is tt or t(t+γi)t(t+\gamma_i), with bounded γi\gamma_i and with t+γit+\gamma_i in a fixed positive compact interval on the support. The smooth cutoffs have uniformly bounded derivatives and are supported where K2Q1(u)Q2(v)≍1K^2Q_1(u)Q_2(v)\asymp1. We count xy≡c(modm)xy\equiv c\pmod m, c=±1c=\pm1, with either xx, x+mx+m or the pair in (9) prime above z=Xc0εz=X^{c_0\varepsilon}, for

Lemma 4.1. Suppose X−1/3+η≤r≤1X^{-1/3+\eta} \le r \le1, X1,X2,M≤X2X_1,X_2,M \le X^2, and M/Xi≪1M/X_i \ll1. If M≫1M \gg1 and Xi/M≪r−1X2εX_i/M \ll r^{-1}X^{2\varepsilon} for i=1,2i=1,2, the count with weight (16) is

≪εrX1X2L2+XO(ε)M3/2r.(17)\ll_{\varepsilon} \frac{rX_1X_2}{L^2}+X^{O(\varepsilon)}\frac{M^{3/2}}{\sqrt{r}}. \tag*{(17)}

If M≥X1/20M \ge X^{1/20} and X1X2≫X3/4X_1X_2 \gg X^{3/4}, it is also

≪η,εrX1X2L2+XεX1X2r.(18)\ll_{\eta,\varepsilon} \frac{rX_1X_2}{L^2}+X^\varepsilon\frac{\sqrt{X_1X_2}}{\sqrt{r}}. \tag*{(18)}

Proof. At fixed KK, solving K2Q1(u)Q2(v)=1K^2Q_1(u)Q_2(v)=1 for vv gives a graph with −v′≍1-v' \asymp1 and v′′≍1v'' \asymp1, by (log⁡Qi)′≍1(\log Q_i)' \asymp1 and (log⁡Qi)′′≍−1(\log Q_i)'' \asymp-1. Its derivatives are uniformly bounded on the relevant compact intervals. The weight is majorized by a strip of thickness O(r)O(r) in vv, so Lemma 2.2 applies with U≍X1U \asymp X_1, V≍rX2V \asymp rX_2, and D≍1/rD \asymp1/r. The local densities outside mm are 2/ℓ2/\ell for the affine pair and 2(ℓ−1)/ℓ22(\ell-1)/\ell^2 for (9). Summing the main terms by (5) and the errors O(XO(ε)M/r)O(X^{O(\varepsilon)}\sqrt{M}/\sqrt{r}) per modulus proves (17).

For (18), sieve the product of the two prime values. Every squarefree sieve divisor DD splits uniquely into D1D2D_1D_2, according to which value is divisible by each prime factor. The assignments are disjoint because a common prime divisor would divide cc. Let α≡0(modD1)\alpha\equiv0 \pmod{D_1}, α≡1(modD2)\alpha\equiv1 \pmod{D_2}.

For the values (9) the sifted congruence is exactly

y(x+αm)≡c(modmD).y(x+\alpha m)\equiv c \pmod{mD}.

This follows by reducing modulo mD1mD_1 and mD2mD_2, whose least common multiple is mDmD. Poisson summation gives S(k,cl;mD)S(k,cl;mD) with the phase e(−kα/D)e(-k\alpha/D), up to a choice of Fourier signs, and weight (mD)−2F^m(k/(mD),l/(mD))(mD)^{-2}\widehat{F}_m(k/(mD),l/(mD)).

For x,x+mx,x+m the restriction is x=Dx′−αmx=Dx'-\alpha m and (m,D)=1(m,D)=1. Poisson summation uses x′y≡cD‾(modm)x'y\equiv c\overline{D}\pmod m and the complete sum S(k,clD‾;m)S(k,cl\overline{D};m). Lift it using

S(Dk,cl;mD)=cD(l)S(k,clD‾;m),(m,D)=1.S(Dk,cl;mD)=c_D(l)S(k,cl\overline{D};m), \qquad(m,D)=1.

Here cD(l)c_D(l) is a Ramanujan sum, nonzero for squarefree DD. The shift phase depends only on kk, the multiplier 1/cD(l)1/c_D(l) has modulus at most one, and Möbius inversion removes (m,D)=1(m,D)=1 at levels Dd0Dd_0, d0∣Dd_0\mid D. In this case the weight is D(mD)−2F^m(k/(mD),Dl/(mD))D(mD)^{-2}\widehat{F}_m(k/(mD),Dl/(mD)).

For the zero mode put W(m)=m−1∬FmW(m)=m^{-1}\iint F_m. Changing vv into K2Q1(u)Q2(v)K^2Q_1(u)Q_2(v) at fixed K,uK,u shows

∫W≪rX1X2,sup⁡∣W∣+∫∣W′∣≪rX1X2/M.\int W \ll rX_1X_2,\qquad\sup|W|+\int|W'|\ll rX_1X_2/M.

The zero modes average D−1φ(mD)/(mD)D^{-1}\varphi(mD)/(mD) or D−11(m,D)=1φ(m)/mD^{-1}\mathbf{1}_{(m,D)=1}\varphi(m)/m against W(m)W(m). Both have mean ζ(2)−1∏ℓ∣D(ℓ+1)−1\zeta(2)^{-1}\prod_{\ell\mid D}(\ell+1)^{-1}. Expanding φ(n)/n=∑a∣nμ(a)/a\varphi(n)/n=\sum_{a\mid n}\mu(a)/a gives 1−ℓ−21-\ell^{-2} at unrestricted primes and (1−1/ℓ)/ℓ(1-1/\ell)/\ell at primes dividing DD. Partial summation in this expansion costs O(τ(D)L(sup⁡∣W∣+∫∣W′∣))O(\tau(D)L(\sup|W|+\int|W'|)), since each congruence contributes O(τ(D))O(\tau(D)) to the counting error and the reciprocal divisor sum is O(L)O(L). Thus summing the assignments gives g(ℓ)=2/(ℓ+1)g(\ell)=2/(\ell+1) in (6). The zero-mode main term is Oε(rX1X2/L2)O_\varepsilon(rX_1X_2/L^2), and the error saves a power since M≥X1/20M\ge X^{1/20}.

Let k~,l~\widetilde{k},\widetilde{l} be the Fourier numerators at denominator mDmD, with effective frequencies a1=k~X1/(mD)a_1=\widetilde{k}X_1/(mD), a2=l~X2/(mD)a_2=\widetilde{l}X_2/(mD). Fix B=Xε0B=X^{\varepsilon_0} with ε0>0\varepsilon_0>0 small. For max⁡(∣a1∣,∣a2∣)≤B\max(|a_1|,|a_2|)\le B away from the origin, M/Xi<1M/X_i<1 gives O((DB)2)O((DB)^2) modes with original indices O(DB)O(DB). The Weil bound and F^m≪rX1X2\widehat{F}_m\ll rX_1X_2 give a relative error M−1/2XO(ε0)M^{-1/2}X^{O(\varepsilon_0)}, including modes on the axes. For the other modes use K2Q1(u)Q2(v)=1+rsK^2Q_1(u)Q_2(v)=1+rs. At fixed K,sK,s, −dv/du≍1-dv/du\asymp1, so integration by parts in uu discards incomparable frequencies. At fixed K,uK,u, ∂v/∂s≪r\partial v/\partial s\ll r, which discards ∣a2∣>B/r|a_2| > B/r. In each discarded range repeated integration gives arbitrary power saving after summation. The remaining dyads have ∣a1∣,∣a2∣≍U|a_1|, |a_2| \asymp U with B≪U≪B/rB \ll U \ll B/r.

Apply the inverse Kuznetsov formula at level DD, or Dd0Dd_0 for the lifted affine case [1 Lemma 3]. The Bessel transform uses dm/mdm/m. After extracting S(k′,l′;mD)/(mD)S(k',l';mD)/(mD), the measure is X1X2/(MD) du dv dKX_1X_2/(MD)\,du\,dv\,dK, with an extra factor DD in the affine case. Changing to Θ=K2Q1(u)Q2(v)=1+rs\Theta=K^2Q_1(u)Q_2(v)=1+rs gives a smooth amplitude of size O(rX1X2/M)O(rX_1X_2/M). The product of the lifted indices has magnitude ∣k~l~∣|\widetilde{k}\widetilde{l}| in either case, so the phase and Bessel argument are

e(−a1u−a2v),ξ=4π∣a1a2∣X1X2Q1(u)Q2(v)Θ.(19)e(-a_1u-a_2v), \qquad\xi=\frac{4\pi\sqrt{|a_1a_2|}}{\sqrt{X_1X_2}}\sqrt{\frac{Q_1(u)Q_2(v)}{\Theta}}. \tag*{(19)}

The Bessel argument is O(U/X1X2)≪X−1/24+O(ε0)O(U/\sqrt{X_1X_2})\ll X^{-1/24+O(\varepsilon_0)}.

Expand the inverse kernels using the series of J±2itJ_{\pm2it} and I±2itI_{\pm2it}. For real ∣t∣≥1|t|\ge1, Stirling’s formula gives coefficients of size O(∣t∣−1/2)O(|t|^{-1/2}) after extracting ξ±2it\xi^{\pm2it}, and the small Bessel argument permits truncation with arbitrary power saving by taking enough terms. At fixed Θ\Theta the two spatial phases are

−2πa1u±tlog⁡Q1(u),−2πa2v±tlog⁡Q2(v).-2\pi a_1u\pm t\log Q_1(u), \qquad-2\pi a_2v\pm t\log Q_2(v).

Unless ∣t∣≍U|t|\asymp U with compatible signs, one derivative is ≫U+∣t∣\gg U+|t|, giving arbitrary decay by integration by parts. For real ∣t∣≤1|t|\le1, the differences of Bessel series cost at most O(1+∣log⁡ξ∣)O(1+|\log\xi|). For imaginary tt the powers have polynomial size in XX and bounded logarithmic derivatives, so the same argument applies to the Fourier phases. For the holomorphic kernel Jk−1(ξ)J_{k-1}(\xi), integrate by parts when k≤U1/2k\le U^{1/2} and use (Cξ)k−1/Γ(k)(C\xi)^{k-1}/\Gamma(k) otherwise. The ordinary spectral large sieve [1 Lemma 4] bounds the coefficient sums in these discarded ranges.

With compatible signs, (log⁡Qi)′=2π∣ai∣/∣t∣(\log Q_i)'=2\pi|a_i|/|t| has a unique stationary solution since (log⁡Qi)′(\log Q_i)' decreases from infinity to zero. The phase curvatures have size ≍U\asymp U, uniformly in γi\gamma_i. Applying stationary phase in each variable [7 Theorem 3] gives a finite expansion with arbitrary power-saving remainder. Each term has amplitude O(rX1X2/(MU3/2))O(rX_1X_2/(MU^{3/2})), from two factors U−1/2U^{-1/2} of stationary phase and the Bessel coefficient. Its phase separates into exp⁡(iΦ1,k~(t))exp⁡(iΦ2,l~(t))\exp(i\Phi_{1,\widetilde{k}}(t))\exp(i\Phi_{2,\widetilde{l}}(t)), with the powers ∣ai∣±it|a_i|^{\pm it} absorbed separately. The normalized amplitudes have bounded derivatives in the scaled indices. The stationary points depend smoothly on ai/U,t/U,γia_i/U,t/U,\gamma_i, stay in compact subsets of the positive domains, and may be evaluated against cutoffs extended by zero. Differentiation of the stationary actions gives bounds O(log⁡X)O(\log X) for their first tt-derivatives and Oj(U1−j)O_j(U^{1-j}) for order j≥2j\ge2.

Expand the amplitudes in Fourier series in the normalized indices, with summable bounds on the suprema of the coefficients over tt. On each unit interval at ∣t∣≲U|t|\lesssim U, remove the phase values at its midpoint. The resulting exponentials, with a smooth extension to a bounded interval, have Fourier expansions in tt of ℓ1\ell^1 norm bounded by powers of log⁡X\log X, by the derivative bounds. The separated coefficient vectors have norm product

≪XO(ε0)MUX1X2.\ll X^{O(\varepsilon_0)}\frac{MU}{\sqrt{X_1X_2}}.

by the frequency spacings in a1,a2a_1,a_2. For a nonempty dyad its length suffices for its lattice spacing. The lifted indices are ≪DO(1)U\ll D^{O(1)}U since M/Xi≪1M/X_i\ll1.

At level qq, Zhang’s unit-interval large sieve [10 Theorem 2.2.1] bounds the cuspidal and continuous quadratic forms on coefficients supported at size NN by ≪ε(qUN)ε(N+qU)\ll_\varepsilon(qUN)^\varepsilon(N+qU) times the squared norm. See also Lam [8 Theorem 2.5] for the cuspidal form. In the normalization of [1 Lemma 3], the coefficients in these quadratic forms are ∣n∣ρ(n)\sqrt{|n|}\rho(n), with spectral weight 1/cosh⁡(πt)1/\cosh(\pi t). The identity W0,it(4π∣n∣y)=2∣n∣yKit(2π∣n∣y)W_{0,it}(4\pi|n|y)=2\sqrt{|n|y}K_{it}(2\pi|n|y) converts Zhang’s KK-Bessel coefficients. Dividing Zhang’s estimate by the hyperbolic volume converts his probability-measure cusp basis to the area-measure basis and cancels the explicit volume multiplying his Eisenstein term. The Gaussian is bounded below on the unit interval. Thus Cauchy–Schwarz costs UXO(ε0+c0ε)UX^{O(\varepsilon_0+c_0\varepsilon)} times the norm product per unit interval. Summing O(U)O(U) intervals with the transform size gives

≪XO(ε0+c0ε)rX1X2 U3/2.\ll X^{O(\varepsilon_0+c_0\varepsilon)}r\sqrt{X_1X_2}\,U^{3/2}.

The coefficient norms are unchanged for negative indices, by parity for cusp forms and reflection of cusps for Eisenstein series. Summing dyads and sieve terms with small ε0,c0\varepsilon_0,c_0 proves the estimate.

Applying the product sieve

Write ω=d\omega=d for the full count and ω=dw\omega=dw for the band, and put

S=min⁡{X−1/6ω1/3,X−1/3ω−1/3}.S=\min\{X^{-1/6}\omega^{1/3},X^{-1/3}\omega^{-1/3}\}.

The progression cases were proved in § 3. The remaining hypothesis is r≥XηSr\ge X^\eta S. By the exclusions in Theorems 1.1 and 1.2, a nonempty count has ω≫X−1/2\omega\gg X^{-1/2}. Hence r≫X−1/3+ηr\gg X^{-1/3+\eta}, which suffices for Lemma 4.1 with a smaller η\eta. Throughout, ε\varepsilon is sufficiently small in terms of η\eta.

The full ratio window

For p≍Pp\asymp P, set A=X/PA=X/P. § 3 covers P≤HP\le\sqrt{H} and A≤HX−εA\le\sqrt{H}X^{-\varepsilon}. Equation (12) covers the gap dyads h≍d0Ph\asymp d_0P with d0≤rX−εd_0\le rX^{-\varepsilon}. In the remaining ranges set R=min⁡(P,A)R=\min(P,A) and R′=X/RR'=X/R. Use the scales

M=d0R,X1=R,X2=d0R′.M=d_0R,\qquad X_1=R,\qquad X_2=d_0R'.

For P≤XP\le\sqrt{X} take (m,x,y)=(h,p,k)(m,x,y)=(h,p,k). The congruence is xy≡−σ(modm)xy\equiv-\sigma\pmod m and the prime forms are x,x+mx,x+m. For P>XP>\sqrt{X} take (m,x,y)=(k,b,h)(m,x,y)=(k,b,h). The congruence is xy≡σ(modm)xy\equiv\sigma\pmod m and the primes are (9). In both cases

nX=K2u(u+d0)v+O(1d0X).\frac{n}{X}=K^2u(u+d_0)v+O\left(\frac{1}{d_0X}\right).

under the substitutions in (16). The two identities giving this model are (10) and n=(b+k)(bh−σ)/k−en=(b+k)(bh-\sigma)/k-e. The error is o(r)o(r) since d0>rX−εd_0>rX^{-\varepsilon}. Also R≤R′R\le R' and R2≥HX−2εR^2\ge HX^{-2\varepsilon}, so the scales meet the hypotheses of Lemma 4.1. Choose its cutoffs to majorize the dyad and the interval for nn. Here p,q≥P>Hp,q\ge P>\sqrt{H} exceed zz.

The product band

Use d0,w0,u0,jd_0,w_0,u_0,j from (14) and the subsequent gap decomposition. Equation (15) covers min⁡(d0,w0)≤rX−ε\min(d_0,w_0)\le rX^{-\varepsilon}. Otherwise take (m,x,y)=(j,u0,h)(m,x,y)=(j,u_0,h) with

M=d0w0X,X1=w0X,X2=d0X.M=d_0w_0\sqrt{X},\qquad X_1=w_0\sqrt{X},\qquad X_2=d_0\sqrt{X}.

The prime forms are (9) with c=τσc=\tau\sigma. In the model variables, (14) gives p=KX uv−c/jp=K\sqrt{X}\,uv-c/j and

nX=K2u(u+d0)v(v+τw0)+O(1d0w0X).\frac{n}{X}=K^2u(u+d_0)v(v+\tau w_0)+O\left(\frac{1}{d_0w_0X}\right).

The error is o(r)o(r) since d0,w0>rX−εd_0,w_0>rX^{-\varepsilon} and r≫X−1/3+ηr\gg X^{-1/3+\eta}. The range b≍Xb\asymp\sqrt{X} gives v+τw0≍1v+\tau w_0\asymp1, which is imposed on the support of the majorant. The scale conditions follow from d0,w0>rX−εd_0,w_0>rX^{-\varepsilon}.

Summation

Write ω0=d0\omega_0=d_0 or d0w0d_0w_0, so X1X2=ω0XX_1X_2=\omega_0X and M≤ω0XM\le\omega_0\sqrt{X}. Use (17) when ω0≤X−1/4\omega_0\le X^{-1/4} and (18) otherwise. In the latter range M≫X1/12−εM\gg X^{1/12-\varepsilon}, so both size conditions in (18) hold. The error in either case is

≪XO(ε)rmin⁡{X3/4,ω03/2,X1/2ω0},\ll\frac{X^{O(\varepsilon)}}{\sqrt{r}}\min\{X^{3/4},\omega_0^{3/2},X^{1/2}\sqrt{\omega_0}\},

with the terms crossing at ω0=X−1/4\omega_0=X^{-1/4}. Both the main term and this error sum geometrically over the gap dyads, since halving ω0\omega_0 multiplies each error term by at most 2−1/22^{-1/2}. The main terms total Oη(ωH/L2)O_\eta(\omega H/L^2), per prime-factor dyad for the full count. The total error divided by ωH\omega H is O(XO(ε)(S/r)3/2)O(X^{O(\varepsilon)}(S/r)^{3/2}), which saves a power of XX. Finally the full count sums over O(log⁡(2+Y))O(\log(2+Y)) prime-factor dyads, including the possible dyad with p=2p=2. This proves the upper bounds.

The matching range

We count integers with two prescribed prime divisors and discard those for which a prescribed prime is smaller than the largest prime factor. Yang [9 §5] uses this decomposition for fixed dd. Here the range of prime dyads varies with YY.

Let PP be a power of two with 4≤X/P≤Yβ4\le\sqrt{X}/P\le Y^\beta, where 0<β≤1/10000<\beta\le1/1000 is a small absolute constant. The prime number theorem gives S≫P/LS\gg P/L primes in [P,2P)[P,2P). Divide this interval into at most 3/d3/d intervals of length at most dP/2dP/2. Cauchy–Schwarz gives at least (dS2/3−S)/2(dS^2/3-S)/2 pairs in a common interval, all with p<q<(1+d)pp<q<(1+d)p after ordering. Thus there are ≫dP2/L2\gg dP^2/L^2 pairs whenever dP≥C0LdP\ge C_0L for a large absolute C0C_0. As pq≤X/4pq\le X/4, the congruences p∣n+ep\mid n+e, q∣n+1−eq\mid n+1-e give at least X/(2pq)X/(2pq) integers X<n≤2XX<n\le2X for each pair. The initial count is ≫dX/L2\gg dX/L^2.

In a discarded triple (n,p,q)(n,p,q), one cofactor is mρm\rho with ρ\rho a larger prime and m≤M=3X/P2m\le M=3X/P^2. For each choice of cofactor, the number of such tuples is

≪dXlog⁡(2M)L3+X4/511{d≥X−1/100}.(20)\ll\frac{dX\log(2M)}{L^3}+X^{4/51}\mathbf{1}_{\{d\ge X^{-1/100}\}}. \tag*{(20)}

uniformly in β\beta. For d≥X−1/100d\ge X^{-1/100}, fix mm and the prime ss on the side without ρ\rho. The other prescribed prime vv lies in an interval of length O(dP)O(dP), and vρ≡±m−1(mods)v\rho\equiv\pm m^{-1}\pmod{s} since s∤ms\nmid m. Sift both coordinates in Lemma 2.2 with ff constant, second side 3X/(mP)3X/(mP), z=X1/1000z=X^{1/1000}, and local density 2/ℓ−1/ℓ22/\ell-1/\ell^2. The main term is O(dX/(mPL2))O(dX/(mPL^2)) per m,sm,s. Summing over m≤Mm\le M and O(P/L)O(P/L) primes ss gives the first term of (20). The total error is

≪PMz8P1/1000(P+1+M)≪X4/5,\ll PMz^8P^{1/1000}(\sqrt{P}+1+M)\ll X^{4/5},

since M≤3Y2β≤3XβM\le3Y^{2\beta}\le3X^\beta.

For d<X−1/100d<X^{-1/100}, fix h=q−ph=q-p, mm, and k=a−bk=a-b. With s=qs=q if a=mρa=m\rho, and s=ps=p if b=mρb=m\rho, (10) gives hmρ=ks+σhm\rho=ks+\sigma and 1≤k≪hM1\le k\ll hM. Since (k,hm)=1(k,hm)=1, ss lies in one class modulo hmhm. The forms s,s±h,ρs,s\pm h,\rho have slopes hm,hm,khm,hm,k and absolute determinants h2m,1,∣σ∓kh∣h^2m,1,|\sigma\mp kh|, all nonzero as hh is even. Enlarge the parameter interval to length 2P/(hm)≫1/(dM)≫X9/10002P/(hm)\gg1/(dM)\gg X^{9/1000}. Lemma 2.1 bounds the contribution by

≪PhmL3W3(h)W3(m)W3(k)W3(∣σ∓kh∣).\ll\frac{P}{hmL^3}W_3(h)W_3(m)W_3(k)W_3(|\sigma\mp kh|).

The last two weights sum to O(hM)O(hM) over k≪hMk\ll hM by Cauchy–Schwarz and (5). Summing over m≤Mm\le M and h≤2dPh\le2dP proves (20).

Since log⁡(2M)≤log⁡6+βL\log(2M) \le\log6 + \beta L, a sufficiently small β\beta makes the first term of (20) smaller than a fixed fraction of the initial count. The second term is negligible for dX≥X99/100dX \ge X^{99/100}. Each surviving triple specifies the actual largest prime factors and so contributes a distinct integer in its orientation.

When Y/LY/L exceeds a large absolute constant, use the dyads with 4≤X/P≤min⁡{Yβ,Y/(C0L)}4 \le\sqrt{X}/P \le\min\{Y^\beta, Y/(C_0L)\}. There are ≫βlog⁡(2+Y/L)\gg_\beta\log(2+Y/L) such dyads and all satisfy dP≥C0LdP \ge C_0L.

For cL≤Y≤C1LcL \le Y \le C_1L with c,C1c,C_1 fixed, take 4≤X/P<84 \le\sqrt{X}/P < 8. Goldston, Pintz and Yıldırım [4], Theorem 1, {(1.3)} give ≫cP/L\gg_c P/L consecutive prime pairs in this dyad with gap at most λ0log⁡P\lambda_0 \log P for a fixed 0<λ0<c/160 < \lambda_0 < c/16. They lie in the strict ratio window since dP≥cL/8dP \ge cL/8, and P/L≫C1dP2/L2P/L \gg_{C_1} dP^2/L^2. Here M=O(1)M=O(1) and d<X−1/100d<X^{-1/100}, so (20) discards only O(dX/L3)O(dX/L^3) tuples. This gives (4) in the remaining range.

For fixed 0<d≤10<d\le1, summing dyadic intervals gives the upper bound of order x/log⁡xx/\log x up to xx, and the final dyadic interval supplies the lower bound. For fixed d>1d>1, the same per-dyad upper proof uses q≍dPq\asymp_d P, h≪dPh\ll_d P, and cofactors of order X/PX/P, and one sums O(log⁡X)O(\log X) prime-factor dyads. The lower bound follows by inclusion. For a fixed descending window 1−ε≤P+(n+1)/P+(n)<11-\varepsilon\le P^+(n+1)/P^+(n)<1, take d=ε/(1−ε)d=\varepsilon/(1-\varepsilon) in the opposite orientation.

Acknowledgment. The author used OpenAI’s GPT-6.2 Astra to formulate the results, develop and review the proofs, and draft the manuscript.

References

  1. [1]V. Blomer and D. Milićević, The second moment of twisted modular L-functions, Geom. Funct. Anal. 25 (2015), 453–516.DOI
  2. [2]P. Erdős and C. Pomerance, On the largest prime factors of n and n + 1, Aequationes Math. 17 (1978), 311–321.
  3. [3]T. Estermann, On Kloosterman’s sum, Mathematika 8 (1961), 83–86.DOI
  4. [4]D. A. Goldston, J. Pintz and C. Y. Yıldırım, Primes in tuples IV: Density of small gaps between consecutive primes, Acta Arith. 160 (2013), 37–53.arxiv.org/abs/1103.5886
  5. [5]H. Iwaniec and E. Kowalski, Analytic Number Theory, Amer. Math. Soc. Colloq. Publ. 53, American Mathematical Society, 2004.
  6. [6]S. Kim, Two remarks on the largest prime factors of n and n + 1, J. Integer Seq. 23 (2020), Article 20.10.1.
  7. [7]E. M. Kiral, I. Petrow and M. P. Young, Oscillatory integrals with uniformity in parameters, J. Théor. Nombres Bordeaux 31 (2019), 145–159.DOI
  8. [8]J. W. C. Lam, A local large sieve inequality for cusp forms, J. Théor. Nombres Bordeaux 26 (2014), 757–787.DOI
  9. [9]Z. Yang, Note on the largest prime factors of consecutive integers, arXiv:2610.23280v1, 2026.arxiv.org/abs/2610.23280
  10. [10]Q. Zhang, Bounds for Hecke eigenforms and their allied L-functions, Ph.D. thesis, The Ohio State University, 2015.

Paper details

vlnc:W_xt9zuzhd
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
  • Mathematics

OpenAI’s GPT-6.2 Astra

View statement
Looking for related papers…
Contents