\documentclass[11pt,a4paper]{article} \usepackage[T1]{fontenc} \usepackage{lmodern,amsmath,amssymb,amsthm} \usepackage[a4paper,margin=28mm]{geometry} \usepackage{microtype,xcolor} \usepackage[unicode,colorlinks=true,linkcolor=blue!55!black,citecolor=blue!55!black,urlcolor=blue!55!black]{hyperref} \hypersetup{pdftitle={Upper bounds for nearly equal largest prime factors of consecutive integers},pdfauthor={Yilin Liu}} \newtheorem{theorem}{Theorem}[section] \newtheorem{lemma}[theorem]{Lemma} \newcommand{\Pmax}{P^+} \setlength{\emergencystretch}{1em} \clubpenalty=10000 \widowpenalty=10000 \displaywidowpenalty=10000 \allowdisplaybreaks[1] \title{Upper bounds for nearly equal largest prime factors\\ of consecutive integers} \author{Yilin Liu} \date{23 November 2026} \begin{document} \makeatletter \begin{center} {\LARGE\bfseries\parbox{.99\linewidth}{\centering\@title}\par} \vspace{.8em} {\large\@author\par} \vspace{.4em} {\small\@date\par} \end{center} \makeatother \begin{abstract} Let \(p0\). \end{abstract} \section{Introduction} Write \(\Pmax(n)\) for the largest prime factor of \(n>1\). The largest prime factors \(p0\) define \[ \mathcal R_X(s,v)=\min\left\{s,\ X^{-1/6}v^{1/3},\ X^{-1/3}v^{-1/3}\right\}. \] \begin{theorem}\label{th:upper} For each fixed \(\eta>0\), uniformly in both orientations, \begin{equation}\label{eq:upper} 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). \end{equation} For \(H=X\) the bound is absolute. For sufficiently large \(X\) the count is zero if \((X+H)d^2\le2\). If \(H=X\) and \(10\), uniformly in both orientations, \begin{equation}\label{eq:band} 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). \end{equation} For \(H=X\) the bound is absolute. For sufficiently large \(X\) the count is zero if \[ wd\sqrt{\frac{X+H}{(1+d)(1-w)}}<1-\sqrt{3/X}. \] \end{theorem} The last two terms in \(\mathcal R_X(s,v)\) cross at \(v=X^{-1/4}\). Their minimum is at most \(X^{-1/4}\), giving the uniform threshold \(H\ge X^{3/4+\eta}\). For fixed positive widths the last term gives \(H\ge X^{2/3+\eta}\) after decreasing \(\eta\) in the estimates. \begin{theorem}\label{th:lower} For each fixed \(c>0\), uniformly for \(cL\le Y\le\sqrt X\), \begin{equation}\label{eq:lower} N_\sigma(X,X,d)\gg_c \frac{dX}{L^2}\log(2+Y/L), \end{equation} also with the strict endpoint \(q<(1+d)p\). Hence the order is \(dX\log Y/L^2\) when \(Y\ge L^{1+\delta}\) for fixed \(\delta>0\). \end{theorem} Erd\H{o}s and Pomerance~\cite{EP} used complementary cofactors to study the separation of the largest prime factors of consecutive integers. For fixed ratio windows about \(1\), Kim~\cite{Kim} obtained a lower bound, and Yang~\cite[Theorem~1.7 and Remark~1.8]{Yang} proved a lower bound of order \(X/\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. \section{Sieve estimates} For \(j\ge1\), write \(W_j(v)=(v/\varphi(v))^j\) for positive integers \(v\). For \(V\ge1\) we use \begin{equation}\label{eq:weights} \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(|hk\pm1|)\ll_j K\quad(K\ge h\ge2). \end{equation} Indeed \(W_j(v)=\sum_{l\mid v}g_j(l)\) with \(g_j\) multiplicative, supported on squarefree integers and \(0\le g_j(\ell)\ll_j\ell^{-1}\) for primes \(\ell\). The sum \(\sum_l g_j(l)/l\) converges. For the last bound, a divisor \(l\) is coprime to \(h\) and imposes one residue on \(k\). The terms \(K/l\) give \(O_j(K)\), and the errors sum to \(O_j((\log(2hK))^{O_j(1)})=O_j(K)\) by the Euler product over \(\ell\le2hK\) and Mertens' estimates. We record the uniform version of Selberg's upper sieve used below. For \(\nu\in\{1,2,3\}\) and \(D\ge1\), retain primes \(\ell>2\nu\) with \(\ell\nmid D\). Let \(00\), by \(\sum_{\ell\le x}(\log\ell)/\ell\ll\log(2x)\). At least half the mass lies at \(j\le z\). The product is \(\gg_\nu (\log z)^\nu/W_\nu(D)\), by \((1-g(\ell))^{-1}=(1-1/\ell)^{-\nu}(1+O_\nu(\ell^{-2}))\) and Mertens' estimates. This proves \eqref{eq:sieveweights}. \begin{lemma}\label{lem:line} For \(\nu\le3\) integral affine forms with nonzero slopes and pairwise nonzero determinants, let \(D\) be the absolute product of the slopes and determinants. Among integers in an interval of length \(T\ge2\), the number on which all forms are prime and exceed \(T^{1/20}\) is \[ \ll_\nu \frac{T W_\nu(D)}{\log^\nu(2T)} . \] \end{lemma} \begin{proof} For a retained prime there are exactly \(\nu\) distinct roots of the product of the forms. With \(z=T^{1/20}\), the squared sum of the weights \(\lambda_j\) over \(j\) dividing that product majorizes the prime-tuple indicator. Expansion gives the main term \(T/G(z)\) and error \(\ll\sum_{i,j\le z}|\lambda_i\lambda_j|\nu^{\omega([i,j])}\ll z^6\). This error is absorbed by the claimed bound. Bounded \(T\) is covered by trivial counting. \end{proof} In particular, for \(P\ge2\) and \(02\nu\), let a fraction \(g(\ell)=\nu/\ell+O_\nu(\ell^{-2})\) of residue pairs is forbidden, with \(00\). Frequencies within distance \(O(1+B)\) of the derivative range contribute \(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\mid k\) gives \[ C\left(\frac{M}{g}\sqrt{1+B}+\frac{U}{\sqrt{1+B}}\right). \] For \(B=0\) the same bound follows by Fourier decay. For \(l\ne0\), summing \(V|\widehat\psi(Vl/M)|(1+B)^{\pm1/2}\) over \(g\mid l\) gives \(O((M/g)(1+D)^{\pm1/2})\). For the plus sign use \((1+Dv)^{1/2}\le(1+D)^{1/2}(1+v)^{1/2}\), and for the minus sign compare the decreasing majorant \((1+v)^{-3}(1+Dv)^{-1/2}\) with its integral. After division by \(M^2\), the total is \[ C\left(\frac{\sqrt{1+D}}{g^2}+\frac{U}{Mg\sqrt{1+D}}\right). \] Use \(\sqrt{(k,l,m)}\le\sum_{g\mid(k,l,m)}\sqrt g\) and sum over \(g\mid m\). For \(l=0\), summing the cutoff transform over the nonzero multiples of \(g\) costs \(O(M/g)\); expanding the Ramanujan bound over divisors gives \(O(\tau(m)V/M)\). These estimates prove \eqref{eq:striperr}. For the sieve, expand the square of the weights in \eqref{eq:sieveweights}. For \(t=[i,j]\) the simultaneous forbidden conditions give \(t^2g(t)\) residue pairs. Their main terms sum to \(\varphi(m)(\iint F)g(t)/m^2\), and their errors cost at most \(t^2\mathcal E_m\). Since \(\sum_{i,j\le z}|\lambda_i\lambda_j|[i,j]^2\le z^8\), the stated bound follows. \end{proof} We use dimension two for the prime values \begin{equation}\label{eq:bilinear} P_1=(xy-c)/m,\qquad P_2=((x+m)y-c)/m,\qquad c=\pm1. \end{equation} For \(\ell\nmid m\) their zero sets modulo \(\ell\) are disjoint and each has \(\ell-1\) points. Thus \(g(\ell)=2(\ell-1)/\ell^2\). The same holds with \(x,y\) interchanged. \section{Determinant and progression estimates} Put \(e=(1-\sigma)/2\) and write \(n+e=ap\), \(n+1-e=bq\). With \(h=q-p\) and \(k=a-b\), \begin{equation}\label{eq:det} bh-kp=\sigma,\qquad n=\frac{k}{h}p(p+h)+\frac{\sigma p}{h}-e . \end{equation} For \(p>2\), the gap \(h\) is even, so \(bh-\sigma>0\), \(k\ge1\), and \((h,k)=1\). Since \(02\), by \(h\le dp\) and \(1\le k\ll dX/p\). There are therefore \(O(\log(2+Y))\) admissible dyads for \(p\). If \(H=X\) and \(12\) for large \(X\). Summing geometrically over \(d_0\) and then over \(P\) proves the progression case of \eqref{eq:upper}. For the product band, \(p\in[\sqrt{X/3},2\sqrt X]\), and \begin{equation}\label{eq:pq} \frac{n}{pq}=\frac{k}{h}+ \begin{cases} 1/(hq),&\sigma=+1,\\ -1/(hp),&\sigma=-1 . \end{cases} \end{equation} As \(k\ne h\), this gives \(1-1/p\le wh\) and \(|k-h|\ll wh\). The inequality \[ h\le d\sqrt{\frac{X+H}{(1+d)(1-w)}} \] follows from \(h=t\sqrt{n/((1+t)(n/(pq)))}\) and the monotonicity of \(t/\sqrt{1+t}\). This proves the exclusion in Theorem~\ref{th:band}. The integers \(b-p\) and \(k-h\) satisfy \((b-p)h-(k-h)p=\sigma\), so they have the same sign \(\tau\) and neither is zero. Put \(u_0=|b-p|\), \(j=|k-h|\), and \(c=\tau\sigma\). Then \begin{equation}\label{eq:banddet} u_0h-jp=c,\qquad q=p+h,\qquad n+1-e=(p+\tau u_0)q . \end{equation} Since \(1\le u_0\le wp+1/q\), we have \(u_0\ll w\sqrt X\). In dyads \(h\asymp d_0\sqrt X\), \(u_0\asymp w_0\sqrt X\), one has \(j\asymp d_0w_0\sqrt X\). If \(d_0\le rX^{-\varepsilon}\), use the \(h,k\) progression above with \(P\asymp\sqrt X\) and only \(O(d_0w_0\sqrt X)\) choices for \(k=h+\tau j\). If \(w_0\le rX^{-\varepsilon}\), fix \(u_0,j,\tau\) instead. Now \(u_0q-(u_0+j)p=c\) puts \(p\) in one class modulo \(u_0\), and \(n'(p)\asymp\sqrt X\) in \eqref{eq:banddet}. Enlarge the parameter interval to length \(\asymp r/w_0\), between \(X^\varepsilon\) and \(O(\sqrt X)\). The prime forms have slopes \(u_0,u_0+j\) and determinant of absolute value one. The weights \(W_2(u_0)W_2(u_0+j)\) sum to \(O(w_0\sqrt X)\) at fixed \(j\), by Cauchy--Schwarz and \eqref{eq:weights}. In both cases the sum of the weights cancels the reciprocal gap scale from the progression length. Thus the band dyad contributes \begin{equation}\label{eq:bandline} \ll_\varepsilon \frac{rd_0w_0X}{L^2} \qquad\bigl(\min(d_0,w_0)\le rX^{-\varepsilon}\bigr). \end{equation} If \(r\ge X^\eta\min(d,w)\), all gap dyads satisfy this condition for \(\varepsilon<\eta\). Summing over \(d_0,w_0\) proves the progression case of \eqref{eq:band}. \subsection{The outer prime-factor ranges} Take a dyad \(P\le p<2P\), and assume \(H\ge X^{2/3}\). For \(X^{1/10}0\). \begin{lemma}\label{lem:model} Suppose \(X^{-1/3+\eta}\le r\le1\), \(X_1,X_2,M\le X^2\), and \(M/X_i\ll1\). If \(M\gg1\) and \(X_i/M\ll r^{-1}X^{2\varepsilon}\) for \(i=1,2\), the count with weight \eqref{eq:model} is \begin{equation}\label{eq:modelsmall} \ll_\varepsilon \frac{rX_1 X_2}{L^2} +X^{O(\varepsilon)}\frac{M^{3/2}}{\sqrt r}. \end{equation} If \(M\ge X^{1/20}\) and \(X_1 X_2\gg X^{3/4}\), it is also \begin{equation}\label{eq:modellarge} \ll_{\eta,\varepsilon} \frac{rX_1 X_2}{L^2} +X^\varepsilon\frac{\sqrt{X_1 X_2}}{\sqrt r}. \end{equation} \end{lemma} \begin{proof} At fixed \(K\), solving \(K^2Q_1(u)Q_2(v)=1\) for \(v\) gives a graph with \(-v'\asymp1\) and \(v''\asymp1\), by \((\log Q_i)'\asymp1\) and \((\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)\) in \(v\), so Lemma~\ref{lem:strip} applies with \(U\asymp X_1\), \(V\asymp rX_2\), and \(D\asymp1/r\). The local densities outside \(m\) are \(2/\ell\) for the affine pair and \(2(\ell-1)/\ell^2\) for \eqref{eq:bilinear}. Summing the main terms by \eqref{eq:weights} and the errors \(O(X^{O(\varepsilon)}\sqrt M/\sqrt r)\) per modulus proves \eqref{eq:modelsmall}. For \eqref{eq:modellarge}, sieve the product of the two prime values. Every squarefree sieve divisor \(D\) splits uniquely into \(D_1D_2\), according to which value is divisible by each prime factor. The assignments are disjoint because a common prime divisor would divide \(c\). Let \(\alpha\equiv0\bmod D_1\), \(\alpha\equiv1\bmod D_2\). For the values \eqref{eq:bilinear} the sifted congruence is exactly \[ y(x+\alpha m)\equiv c\bmod mD . \] This follows by reducing modulo \(mD_1\) and \(mD_2\), whose least common multiple is \(mD\). Poisson summation gives \(S(k,c l;mD)\) with the phase \(e(-k\alpha/D)\), up to a choice of Fourier signs, and weight \((mD)^{-2}\widehat F_m(k/(mD),l/(mD))\). For \(x,x+m\) the restriction is \(x=D x'-\alpha m\) and \((m,D)=1\). Poisson summation uses \(x'y\equiv c\bar D\bmod m\) and the complete sum \(S(k,c l\bar D;m)\). Lift it using \[ S(Dk,c l;mD)=c_D(l)S(k,c l\bar D;m),\qquad (m,D)=1 . \] Here \(c_D(l)\) is a Ramanujan sum, nonzero for squarefree \(D\). The shift phase depends only on \(k\), the multiplier \(1/c_D(l)\) has modulus at most one, and M\"obius inversion removes \((m,D)=1\) at levels \(D d_0\), \(d_0\mid D\). In this case the weight is \(D(mD)^{-2}\widehat F_m(k/(mD),Dl/(mD))\). For the zero mode put \(W(m)=m^{-1}\iint F_m\). Changing \(v\) into \(K^2 Q_1(u)Q_2(v)\) at fixed \(K,u\) shows \[ \int W\ll rX_1 X_2,\qquad \sup |W|+\int|W'|\ll rX_1 X_2/M . \] The zero modes average \(D^{-1}\varphi(mD)/(mD)\) or \(D^{-1}\mathbf1_{(m,D)=1}\varphi(m)/m\) against \(W(m)\). Both have mean \(\zeta(2)^{-1}\prod_{\ell\mid D}(\ell+1)^{-1}\). Expanding \(\varphi(n)/n=\sum_{a\mid n}\mu(a)/a\) gives \(1-\ell^{-2}\) at unrestricted primes and \((1-1/\ell)/\ell\) at primes dividing \(D\). Partial summation in this expansion costs \(O(\tau(D)L(\sup |W|+\int |W'|))\), since each congruence contributes \(O(\tau(D))\) to the counting error and the reciprocal divisor sum is \(O(L)\). Thus summing the assignments gives \(g(\ell)=2/(\ell+1)\) in \eqref{eq:sieveweights}. The zero-mode main term is \(O_\varepsilon(rX_1 X_2/L^2)\), and the error saves a power since \(M\ge X^{1/20}\). Let \(\tilde k,\tilde l\) be the Fourier numerators at denominator \(mD\), with effective frequencies \(a_1=\tilde kX_1/(MD)\), \(a_2=\tilde lX_2/(MD)\). Fix \(B=X^{\varepsilon_0}\) with \(\varepsilon_0>0\) small. For \(\max(|a_1|,|a_2|)\le B\) away from the origin, \(M/X_i\ll1\) gives \(O((DB)^2)\) modes with original indices \(O(DB)\). The Weil bound and \(\widehat F_m\ll rX_1X_2\) give relative error \(M^{-1/2}X^{O(\varepsilon_0+c_0\varepsilon)}\), including modes on the axes. For the other modes use \(K^2Q_1(u)Q_2(v)=1+rs\). At fixed \(K,s\), \(-dv/du\asymp1\), so integration by parts in \(u\) discards incomparable frequencies. At fixed \(K,u\), \(\partial v/\partial s\asymp r\), which discards \(|a_2|>B/r\). In each discarded range repeated integration gives arbitrary power saving after summation. The remaining dyads have \(|a_1|,|a_2|\asymp U\) with \(B\ll U\ll B/r\). Apply the inverse Kuznetsov formula at level \(D\), or \(Dd_0\) for the lifted affine case \cite[Lemma~3]{BM}. The Bessel transform uses \(dm/m\). After extracting \(S(k',l';mD)/(mD)\), the measure is \(X_1X_2/(MD)\,du\,dv\,dK\), with an extra factor \(D\) in the affine case. Changing to \(\Theta=K^2Q_1(u)Q_2(v)=1+rs\) gives a smooth amplitude of size \(O(rX_1X_2/M)\). The product of the lifted indices has magnitude \(|\tilde k\tilde l|\) in either case, so the phase and Bessel argument are \begin{equation}\label{eq:separated} 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}}. \end{equation} The Bessel argument is \(O(U/\sqrt{X_1X_2})\ll X^{-1/24+O(\varepsilon_0)}\). Expand the inverse kernels using the series of \(J_{\pm2it}\) and \(I_{\pm2it}\). For real \(|t|\ge1\), Stirling's formula gives coefficients of size \(O(|t|^{-1/2})\) after extracting \(\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\pi a_1 u\ \pm t\log Q_1(u),\qquad -2\pi a_2 v\ \pm t\log Q_2(v). \] Unless \(|t|\asymp U\) with compatible signs, one derivative is \(\gg U+|t|\), giving arbitrary decay by integration by parts. For real \(|t|\le1\), the differences of Bessel series cost at most \(O(1+|\log\xi|)\). For imaginary \(t\) the powers have polynomial size in \(X\) and bounded logarithmic derivatives, so the same argument applies to the Fourier phases. For the holomorphic kernel \(J_{k-1}(\xi)\), integrate by parts when \(k\le U^{1/2}\) and use \((C\xi)^{k-1}/\Gamma(k)\) otherwise. The ordinary spectral large sieve \cite[Lemma~4]{BM} bounds the coefficient sums in these discarded ranges. With compatible signs, \((\log Q_i)'=2\pi|a_i|/|t|\) has a unique stationary solution since \((\log Q_i)'\) decreases from infinity to zero. The phase curvatures have size \(\asymp U\), uniformly in \(\gamma_i\). Applying stationary phase in each variable \cite[Theorem~3]{KPY} gives a finite expansion with arbitrary power-saving remainder. Each term has amplitude \(O(rX_1X_2/(MU^{3/2}))\), from two factors \(U^{-1/2}\) of stationary phase and the Bessel coefficient. Its phase separates into \(\exp(i\Phi_{1,\tilde k}(t))\exp(i\Phi_{2,\tilde l}(t))\), with the powers \(|a_i|^{\pm it}\) absorbed separately. The normalized amplitudes have bounded derivatives in the scaled indices. The stationary points depend smoothly on \(a_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)\) for their first \(t\)-derivatives and \(O_j(U^{1-j})\) for order \(j\ge2\). Expand the amplitudes in Fourier series in the normalized indices, with summable bounds on the suprema of the coefficients over \(t\). On each unit interval at \(|t|\asymp U\), remove the phase values at its midpoint. The resulting exponentials, with a smooth extension to a bounded interval, have Fourier expansions in \(t\) of \(\ell^1\) norm bounded by powers of \(\log X\), by the derivative bounds. The separated coefficient vectors have norm product \[ \ll X^{O(c_0\varepsilon)}\frac{M U}{\sqrt{X_1 X_2}}, \] by the frequency spacings in \(a_1,a_2\). For a nonempty dyad its length suffices for its lattice spacing. The lifted indices are \(\ll D^{O(1)}U\) since \(M/X_i\ll1\). At level \(q\), Zhang's unit-interval large sieve \cite[Theorem~2.2.1]{Zhang} bounds the cuspidal and continuous quadratic forms on coefficients supported at size \(N\) by \(\ll_\varepsilon(qUN)^\varepsilon(N+qU)\) times the squared norm. See also Lam \cite[Theorem~2.5]{Lam} for the cuspidal form. In the normalization of \cite[Lemma~3]{BM}, the coefficients in these quadratic forms are \(\sqrt{|n|}\rho(n)\), with spectral weight \(1/\cosh(\pi t)\). The identity \(W_{0,it}(4\pi|n|y)=2\sqrt{|n|y}K_{it}(2\pi|n|y)\) converts Zhang's \(K\)-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 \(U X^{O(\varepsilon_0+c_0\varepsilon)}\) times the norm product per unit interval. Summing \(O(U)\) intervals with the transform size gives \[ \ll X^{O(\varepsilon_0+c_0\varepsilon)}\,r\sqrt{X_1 X_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 \(\varepsilon_0,c_0\) proves the estimate. \end{proof} \section{Applying the product sieve} Write \(\omega=d\) for the full count and \(\omega=dw\) for the band, and put \[ S=\min\{X^{-1/6}\omega^{1/3},X^{-1/3}\omega^{-1/3}\}. \] The progression cases were proved in Section~3. The remaining hypothesis is \(r\ge X^\eta S\). By the exclusions in Theorems~\ref{th:upper} and~\ref{th:band}, a nonempty count has \(\omega\gg X^{-1/2}\). Hence \(r\gg X^{-1/3+\eta}\), which suffices for Lemma~\ref{lem:model} with a smaller \(\eta\). Throughout, \(\varepsilon\) is sufficiently small in terms of \(\eta\). \subsection{The full ratio window} For \(p\asymp P\), set \(A=X/P\). Section~3 covers \(P\le\sqrt H\) and \(A\le\sqrt H X^{-\varepsilon}\). Equation~\eqref{eq:dyadline} covers the gap dyads \(h\asymp d_0P\) with \(d_0\le rX^{-\varepsilon}\). In the remaining ranges set \(R=\min(P,A)\) and \(R'=X/R\). Use the scales \[ M=d_0 R,\qquad X_1=R,\qquad X_2=d_0 R'. \] For \(P\le\sqrt X\) take \((m,x,y)=(h,p,k)\). The congruence is \(xy\equiv-\sigma\bmod m\) and the prime forms are \(x,x+m\). For \(P>\sqrt X\) take \((m,x,y)=(k,b,h)\). The congruence is \(xy\equiv\sigma\bmod m\) and the primes are \eqref{eq:bilinear}. In both cases \[ \frac{n}{X}=K^2u(u+d_0)v+O\bigl(1/(d_0X)\bigr) \] under the substitutions in \eqref{eq:model}. The two identities giving this model are \eqref{eq:det} and \(n=(b+k)(bh-\sigma)/k-e\). The error is \(o(r)\) since \(d_0>rX^{-\varepsilon}\). Also \(R\le R'\) and \(R^2\ge H X^{-2\varepsilon}\), so the scales meet the hypotheses of Lemma~\ref{lem:model}. Choose its cutoffs to majorize the dyad and the interval for \(n\). Here \(p,q\ge P>\sqrt H\) exceed \(z\). \subsection{The product band} Use \(d_0,w_0,u_0,j\) from \eqref{eq:banddet} and the subsequent gap decomposition. Equation~\eqref{eq:bandline} covers \(\min(d_0,w_0)\le rX^{-\varepsilon}\). Otherwise take \((m,x,y)=(j,u_0,h)\) with \[ M=d_0w_0\sqrt X,\qquad X_1=w_0\sqrt X,\qquad X_2=d_0\sqrt X. \] The prime forms are \eqref{eq:bilinear} with \(c=\tau\sigma\). In the model variables, \eqref{eq:banddet} gives \(p=K\sqrt X\,uv-c/j\) and \[ \frac{n}{X}=K^2u(u+d_0)v(v+\tau w_0)+O\bigl(1/(d_0w_0X)\bigr). \] The error is \(o(r)\) since \(d_0,w_0>rX^{-\varepsilon}\) and \(r\gg X^{-1/3+\eta}\). The range \(b\asymp\sqrt X\) gives \(v+\tau w_0\asymp1\), which is imposed on the support of the majorant. The scale conditions follow from \(d_0,w_0>rX^{-\varepsilon}\). \subsection{Summation} Write \(\omega_0=d_0\) or \(d_0w_0\), so \(X_1X_2=\omega_0X\) and \(M\le\omega_0\sqrt X\). Use \eqref{eq:modelsmall} when \(\omega_0\le X^{-1/4}\) and \eqref{eq:modellarge} otherwise. In the latter range \(M\gg X^{1/12-\varepsilon}\), so both size conditions in \eqref{eq:modellarge} hold. The error in either case is \[ \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 \(\omega_0=X^{-1/4}\). Both the main term and this error sum geometrically over the gap dyads, since halving \(\omega_0\) multiplies each error term by at most \(2^{-1/2}\). The main terms total \(O_\eta(\omega H/L^2)\), per prime-factor dyad for the full count. The total error divided by \(\omega H\) is \(O(X^{O(\varepsilon)}(S/r)^{3/2})\), which saves a power of \(X\). Finally the full count sums over \(O(\log(2+Y))\) prime-factor dyads, including the possible dyad with \(p=2\). This proves the upper bounds. \section{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~\cite[\S5]{Yang} uses this decomposition for fixed \(d\). Here the range of prime dyads varies with \(Y\). Let \(P\) be a power of two with \(4\le\sqrt X/P\le Y^\beta\), where \(0<\beta\le1/1000\) is a small absolute constant. The prime number theorem gives \(S\gg P/L\) primes in \([P,2P)\). Divide this interval into at most \(3/d\) intervals of length at most \(dP/2\). Cauchy--Schwarz gives at least \((dS^2/3-S)/2\) pairs in a common interval, all with \(p1\), the same per-dyad upper proof uses \(q\asymp_d P\), \(h\ll_d P\), and cofactors of order \(X/P\), and one sums \(O(\log X)\) prime-factor dyads. The lower bound follows by inclusion. For a fixed descending window \(1-\varepsilon\le \Pmax(n+1)/\Pmax(n)<1\), take \(d=\varepsilon/(1-\varepsilon)\) in the opposite orientation. \par\medskip\noindent\textbf{Acknowledgment.}\enspace The author used OpenAI's GPT-6.2 Astra to formulate the results, develop and review the proofs, and draft the manuscript. \begin{thebibliography}{99} \bibitem{BM} V. Blomer and D. Mili\'cevi\'c, \href{https://doi.org/10.1007/s00039-015-0318-7}{The second moment of twisted modular \(L\)-functions}, \emph{Geom. Funct. Anal.} 25 (2015), 453--516. \bibitem{EP} P. Erd\H{o}s and C. Pomerance, \href{https://www.renyi.hu/~p_erdos/1978-29.pdf}{On the largest prime factors of \(n\) and \(n+1\)}, \emph{Aequationes Math.} 17 (1978), 311--321. \bibitem{Estermann} T. Estermann, \href{https://doi.org/10.1112/S0025579300002187}{On Kloosterman's sum}, \emph{Mathematika} 8 (1961), 83--86. \bibitem{GPY} D. A. Goldston, J. Pintz and C. Y. Y{\i}ld{\i}r{\i}m, \href{https://doi.org/10.4064/aa160-1-3}{Primes in tuples IV: Density of small gaps between consecutive primes}, \emph{Acta Arith.} 160 (2013), 37--53. \bibitem{IK} H. Iwaniec and E. Kowalski, \emph{Analytic Number Theory}, Amer. Math. Soc. Colloq. Publ. 53, American Mathematical Society, 2004. \bibitem{Kim} S. Kim, \href{https://cs.uwaterloo.ca/journals/JIS/VOL23/Kim/kim22.html}{Two remarks on the largest prime factors of \(n\) and \(n+1\)}, \emph{J. Integer Seq.} 23 (2020), Article 20.10.1. \bibitem{KPY} E. M. K{\i}ral, I. Petrow and M. P. Young, \href{https://doi.org/10.5802/jtnb.1072}{Oscillatory integrals with uniformity in parameters}, \emph{J. Th\'eor. Nombres Bordeaux} 31 (2019), 145--159. \bibitem{Lam} J. W. C. Lam, \href{https://doi.org/10.5802/jtnb.887}{A local large sieve inequality for cusp forms}, \emph{J. Th\'eor. Nombres Bordeaux} 26 (2014), 757--787. \bibitem{Yang} Z. Yang, \href{https://arxiv.org/abs/2610.23280v1}{Note on the largest prime factors of consecutive integers}, arXiv:2610.23280v1, 2026. \bibitem{Zhang} Q. Zhang, \href{https://rave.ohiolink.edu/etdc/view?acc_num=osu1429704681}{Bounds for Hecke eigenforms and their allied \(L\)-functions}, Ph.D. thesis, The Ohio State University, 2015. \end{thebibliography} \end{document}