\documentclass[11pt,letterpaper]{article} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[margin=1.12in]{geometry} \usepackage{amsmath,amssymb,amsthm} \usepackage[hidelinks]{hyperref} \hypersetup{pdftitle={Bounded gaps between Goldbach primes for almost all even numbers}, pdfauthor={Wren Aquila}} \setlength{\emergencystretch}{1.8em} \newtheorem{theorem}{Theorem} \newtheorem{proposition}{Proposition}[section] \newtheorem{lemma}[proposition]{Lemma} \theoremstyle{remark} \newtheorem*{remark}{Remark} \newcommand{\PP}{\mathbb P} \newcommand{\Z}{\mathbb Z} \newcommand{\T}{\mathbb T} \newcommand{\E}{\mathbb E} \newcommand{\ind}{\mathbf 1} \newcommand{\MS}{Matom\"aki and Shao} \newcommand{\BST}{Bienvenu, Shao and Ter\"av\"ainen} \DeclareMathOperator{\diam}{diam} \DeclareMathOperator{\Bohr}{Bohr} \numberwithin{equation}{section} \title{Bounded gaps between Goldbach primes\\ for almost all even numbers} \author{Wren Aquila} \date{30 November 2026} \begin{document} \maketitle \begin{abstract} For each fixed \(m\ge2\) there is a finite \(H_m\) such that, for almost every even \(N\), an interval of diameter at most \(H_m\) in \([N/9,N/2)\) contains \(m\) primes \(p\) with \(N-p\) prime. In \([X,2X]\) almost every even \(N\) admits at least \(X/(\log X)^{B_m}\) disjoint such sets. This establishes the existence of Akeno's gap constant \(\Xi^*\). A separate argument gives \(\Xi=0\) for his normalized gap. Both proofs use finite Ramsey theory to match offsets in two prime clusters detected by a weighted Maynard sieve. For fixed diameter we use the distinct intercepts allowed by the sieve of \BST. \end{abstract} \section{The gap constants} Write \(\PP\) for the primes and \(\PP(N)=\PP\cap(N-\PP)\) for the Goldbach primes of an even integer \(N\). Products indexed by \(\ell\) run over primes. Put \[ \mathfrak S(N)=\prod_{\ell\ {\rm prime}} \left(1-\frac{|\{0,N\}\bmod\ell|}{\ell}\right) \left(1-\frac1\ell\right)^{-2}, \qquad G_{\epsilon}(N)= \min_{\substack{p,p'\in\PP(N)\\N^{1-\epsilon}0\), and \(\Xi^*\), if it exists, as the infimum of the \(h\ge0\) for which \eqref{eq:Xistar} holds for every \(\epsilon>0\) \cite[Definition~1.1]{ak}. \begin{align} G_\epsilon(N)&\le(c+\varepsilon)\mathfrak S(N)^{-1}(\log N)^2 &&\text{for almost all even \(N\)},\label{eq:Xi}\\ G_\epsilon(N)&\le h &&\text{for almost all even \(N\)}.\label{eq:Xistar} \end{align} After Definition~1.1 Akeno writes, \textquotedblleft We hope to show that \(\Xi=0\), or ultimately to establish the existence of \(\Xi^*\).\textquotedblright{} He asks more specifically, \textquotedblleft Is it possible to establish the existence of \(\Xi^*\), by considering (53) with \(D=[0,1]\times[0,1]\)?\textquotedblright{} \cite[Question~5.5]{ak}. Here (53) is Akeno's proposed sieve inequality. We prove existence by matching the prime offsets of two separately sieved tuples. \begin{theorem}[Fixed diameter]\label{thm:fixed} Unconditionally, for every integer \(m\ge2\) there exist positive integers \(H_m,B_m\) with the following property. As \(X\to\infty\), all but \(o_m(X)\) even integers \(N\in[X,2X]\) admit at least \(X/(\log X)^{B_m}\) pairwise disjoint \(m\)-element subsets of \(\PP(N)\cap[N/9,N/2)\), each of diameter at most \(H_m\). In particular \(\Xi^*\) exists and \(\Xi^*\le H_2\). \end{theorem} \begin{theorem}[Normalized gap]\label{thm:tight} Unconditionally, for every integer \(m\ge2\) there is a positive integer \(A_m\) such that for each \(d>0\) there are constants \(H=H(m,d)<\infty\) and \(c=c(m,d)>0\) with the following property. For all sufficiently large \(X\), all but at most \(dX\) even integers \(N\in[X,2X]\) admit at least \(cX/(\log X)^{A_m}\) distinct \(m\)-element subsets of \(\PP(N)\cap[N/9,N/2)\) of diameter at most \(H\). In particular \(\Xi=0\). \end{theorem} The thresholds in \(X\) are ineffective because Siegel's theorem enters through the Bombieri--Vinogradov estimates used in Matom\"aki--Shao's Lemma~8.1 and in the applications of Maynard's sieve \cite[Lemma~8.1 and Theorem~6.2]{ms} \cite[proof of Proposition~5.3]{bst}. The diameter \(H_m\) is effective in principle. Our exceptional-set bound in Theorem~\ref{thm:fixed} is qualitative. Akeno proved \(\Xi\le 7(4+\sqrt{15})/72\) and records the conjectural value \(\Xi^*=6\). For the gap constant \(\Xi'\) obtained by dropping \(N^{1-\epsilon}0\) in both the normalized and bounded-error theorems \cite[\S1, Theorems~1.2--1.3 and Proposition~1.4]{ak}. Allouch reduces the bounded-error constant to \(35\,910\) under his stated extension of Akeno's sieve criterion to \(142\) shifts \cite[Theorem~2]{allouch}. In subsequent work Akeno obtains level of distribution \(1/6\) for Goldbach primes for almost all even targets \cite[Theorem~1.1]{aklevel}. Maynard's sieve detects many primes among the values of an admissible tuple of linear forms. For a sufficiently large tuple of fixed admissible shifts his short-interval theorem counts such clusters with roots in \([x,x+y]\) for \(x^{7/12+\varepsilon}\le y\le x\) \cite[Theorems~3.1 and~3.4]{may}. \MS\ obtained a Bohr-weighted version and used it to represent large odd integers by three primes, each at the start of a bounded cluster. Their Proposition~7.1 allows the offsets to be prescribed before testing against a weight. In their Theorem~2.5 the prime subset is selected after the weight is given \cite[Theorems~1.1, 2.5, 6.2 and Proposition~7.1]{ms}. \BST\ allow distinct unit constant terms in a common slope, with a nilsequence weight \cite[Proposition~5.1]{bst}. Quiroga uses the forms \(Wn+b+h_j\) with fixed differences \(h_i-h_j\), together with the sieve estimate of Bienvenu, Shao and Ter\"av\"ainen and the binary transference principle of Alsetri and Shao, to obtain, for almost all even \(N\), a representation with one summand in a bounded prime cluster \cite[Theorem~1.1, Lemmas~2.1--2.2, (5) and Propositions~3.1 and~5.1]{quiroga}. His companion preprint allows finitely many translates of the target and obtains a logarithmic saving of arbitrary order in the exceptional set \cite[Theorem~1.1]{capture}. The exact-target conclusion here asks for bases \(a+b=N\) and \(m\) common shifts \(h\) for which \(a+h\) and \(b-h\) are both prime. The additional step is a two-colour Ramsey argument on the \(m\)-subsets of a fixed set of labels. Each \(k\)-tuple has some frequent \(m\)-subset on each side of a smoothed convolution. Testing \emph{every} \(k\)-tuple forces one \(m\)-subset to be frequent on both sides, with possibly different containing tuples. A related use of a common prime gap along arithmetic progressions appears in Pintz's Theorem~6 \cite{pintz}. We transfer the resulting lower bound to integers by testing against the large Fourier spectrum of the exceptional set, following the proof of Matom\"aki--Shao's Theorem~2.3 \cite[\S4]{ms}. Binary versions of this transference principle were given by Ter\"av\"ainen and by Alsetri and Shao \cite[Proposition~2.1]{ter} \cite[Proposition~3.1]{as}. Akeno remarks that a result similar to his bounded-error theorem could conceivably also be obtained by the transference principle, or by the circle method with a non-negative model \cite[\S1]{ak}. Grimmelt and Ter\"av\"ainen also discuss this passage to two summands in the setting of almost twin primes \cite[\S1]{grt}. \section{Weighted estimates for one tuple}\label{sec:inputs} Write \(e(u)=\exp(2\pi i u)\). A function on \(\Z\) has Fourier complexity at most \(M\) if it is a sum of at most \(M\) functions \(a e(\theta n)\) with \(|a|\le M\) and \(\theta\in\T=\mathbb R/\Z\). In particular its absolute value is at most \(M^2\). For an integer \(s\ge2\), a family \(\mathcal L\) of \(k\) integral linear forms, and \(\rho>0\), write \(U_s(\mathcal L,\rho)\) for the integers \(u\in[s,2s)\) such that at least \(m\) of the values \(L(u)\) are prime and every prime factor of \(\prod_{L\in\mathcal L}L(u)\) is at least \(s^\rho\). Our forms take positive values on this interval once \(s\) is large. Put \[ W=\prod_{\ell\le w,\ \ell\ {\rm prime}}\ell,\qquad D_s=\left(\frac{\varphi(W)}{W}\log s\right)^k . \] \begin{proposition}[Two weighted cluster estimates]\label{prop:weight} Fix an integer \(m\ge2\). In each of the two cases below there are an integer \(k=k(m)\ge m\), a roughness exponent \(0<\rho<1/2\), and a constant \(\delta>0\) depending only on \(m\). Let \(\chi\ge0\) on \(\Z\) have Fourier complexity at most \(M\ge1\), and let \(z\) be an integer with \(|z|\le5s\). Then \begin{equation} D_s\!\sum_{u\in U_s(\mathcal L,\rho)}\!\chi(z-u) \ \ge\ \delta\left(\sum_{s\le u<2s}\chi(z-u)-\mathcal E_s\right) \label{eq:weighted} \end{equation} with the following choices. \smallskip\noindent \textup{(i)} Let \(1\le b\le W\), \((b,W)=1\), and \(\mathcal L=\{W(u+h_i)+b:1\le i\le k\}\) for distinct integers \(|h_i|0\) is its exponent. For \(0<\eta<1\), let \(w\ge w_0(m,M,\eta)\), \(w>2k\), and \(\mathcal L=\{Wu+c_i:1\le i\le k\}\), where \begin{equation} |c_i|\le3W,\qquad (c_i,W)=1,\qquad 0<|c_i-c_j|2k+10\) and \(s\ge s_0(m,M,w)\), as proved in Appendix~\ref{sec:alternative}. In both parts the threshold is uniform in the indicated forms, the test function and its translate. \end{proposition} \begin{proof} Part (i) is Matom\"aki--Shao's Proposition~7.1. The choice of \(k\) is made at the start of their \S9. The halving of the exponent at the end of their proof of Proposition~7.2 changes roughness on a progression to roughness on the original interval. Decreasing \(\rho\) only enlarges \(U_s\). For (ii) we apply the degree-one case of \cite[Proposition~5.1]{bst}. We describe the test since that result sums over \(1\le u\le x\), and requires a function taking values in \([0,1]\) with Lipschitz norm at most one on its nilmanifold. Set \(x=2s\) and \(\tau=\eta/(16M^2)\). On \(\T\) take the continuous piecewise linear function \(\psi\) supported on \([1/3,2/3]\), equal to one on \([(1+\tau)/3,(2-\tau)/3]\), and linear between these intervals. The factor \(\psi(u/(3s))\) restricts the sum to \([s,2s)\). In the sum over all integers in this interval, inserting the factor costs at most \((2\tau s+2)M^2\le\eta s/2\) for sufficiently large \(s\). Write \(\chi(v)=\sum_{\nu=1}^{h}a_\nu e(\theta_\nu v)\), \(h\le M\). On \(\T^{h+1}\) use the nonnegative function \[ \Phi(\boldsymbol t,t_0)=\psi(t_0) \max\!\left(0,\operatorname{Re}\sum_{\nu=1}^{h}a_\nu e(t_\nu)\right). \] Along the affine orbit \(u\mapsto ((\theta_\nu(z-u))_{\nu\le h},u/(3s))\) its value is \(\psi(u/(3s))\chi(z-u)\). For the standard torus basis the supremum norm plus Lipschitz constant of \(\Phi\) is bounded by a number \(L=L(M,\eta)\ge1\). Indeed the exponential sum has Lipschitz constant at most \(2\pi M^2\) in the maximum metric, and \(\psi\) has slope at most \(3/\tau\). Dividing by \(L\) gives a \([0,1]\)-valued sequence in \(\Xi_1(\max(2,\lceil M\rceil+1),2)\) of \cite[Definition~2.9]{bst}. The standard torus has a rational basis and the orbit is of degree one. These bounds are independent of the frequencies and of \(z\). Use accuracy \(\eta/(4L)\) in that proposition, first taking \(w\) sufficiently large and then \(s\) large enough that \(3W\le\log(2s)\). The \(c_i\) are distinct integers and each is coprime to \(W\), by \eqref{eq:units}. The product of the local factors for these forms is \begin{equation} \mathfrak S(\mathcal L)= \left(\frac W{\varphi(W)}\right)^k \prod_{\ell>w}\left(1-\frac{k}{\ell}\right) \left(1-\frac1\ell\right)^{-k} \asymp_k \left(\frac W{\varphi(W)}\right)^k . \label{eq:series} \end{equation} Indeed there are zero forbidden roots at primes \(\ell\le w\) and \(k\) at every larger prime. Each factor of the last product is at most one by Bernoulli's inequality and is \(1+O_k(\ell^{-2})\). Its product for \(\ell>2k\) is positive, giving a uniform lower bound for the tail. Write \(\xi(u)=\Phi((\theta_\nu(z-u))_\nu,u/(3s))/L\). Let \(\mathcal U\) be the roots \(1\le u\le2s\) with at least \(m\) prime values and all prime factors of the product \(>(2s)^{\rho_{\rm B}}\). The proposition gives \[ \sum_{u\in\mathcal U}\xi(u) \gg_m \frac{\mathfrak S(\mathcal L)}{(\log(2s))^k} \left(\sum_{1\le u\le2s}\xi(u)-\frac{\eta}{4L}\,2s\right). \] Every \(u\in\mathcal U\) with \(\xi(u)>0\) lies in \(U_s(\mathcal L,\rho)\). Restoring the factor \(L\) makes the additive error \(\eta s/2\). Since \(0\le\psi\le1\) and \(\log(2s)\le2\log s\), the endpoint estimate and \eqref{eq:series} give \eqref{eq:weighted}. \end{proof} The two choices of \(k\) may be used independently. For (ii), the proof of \cite[Proposition~5.3]{bst} uses \cite[Proposition~6.1]{bst} with \(\theta=1/10\) and prime-density parameter \(1/2\). Its sieve guarantees at least \(\log k/(2C(1/10))\) primes. Thus a sufficiently large effectively computable \(k\) in terms of \(m\) suffices, before any choice of \(\eta,M,w\). \section{Offsets and local conditions}\label{sec:offsets} In each application take \(k,\rho,\delta\) from the corresponding part of Proposition~\ref{prop:weight}. Let \(t=R_m(k,k)\), the least integer such that every two-colouring of the \(m\)-subsets of a \(t\)-element set has a \(k\)-element subset all of whose \(m\)-subsets have the same colour. The finite Ramsey theorem gives \(t<\infty\) \cite[Theorem~B]{ramsey}. Use the labels \(V=\{1,\ldots,t\}\). We shall need two ways of assigning a positive offset \(v_j\) to \(j\in V\). In both, for each even class \(r\bmod W\) we choose \(1\le b_+,b_-\le W\) with \(b_++b_-\equiv r\bmod W\) and consider \begin{equation} L_j^+(u)=Wu+b_++v_j,\qquad L_j^-(u)=Wu+b_--v_j . \label{eq:forms} \end{equation} For Theorem~\ref{thm:tight} take \(v_j=Wj\) and \(w>2t\). Choose \(b_+\) and \(b_-\) to be units. Locally this requires \(b_+\not\equiv0,r\bmod\ell\) for every \(\ell\mid W\), which is possible at \(2\) by evenness and at odd primes since at most two classes are excluded. The Chinese remainder theorem gives the required residues. The resulting diameter is at most \(Wt\). For Theorem~\ref{thm:fixed} take instead \begin{equation} v_j=30j^2,\qquad H_m=30t^2. \label{eq:offsets} \end{equation} We use Akeno's quadratic-residue construction for Goldbach-admissible tuples \cite[Lemmas~5.7--5.8 and (60)]{ak}. The factor \(30\) makes all our offsets coincide at the three smallest primes. We give the local argument for these particular offsets. \begin{lemma}\label{lem:crt} Let \(t\ge1\) be an integer, \(v_j=30j^2\) for \(1\le j\le t\), and \(w\ge5\). For every even class \(r\bmod W\) one can choose \(b_+,b_-\) as in \eqref{eq:forms} so that \[ (b_++v_j,W)=(b_--v_j,W)=1\qquad(1\le j\le t). \] \end{lemma} \begin{proof} Write \(x=b_+\bmod\ell\). We must avoid both \(-v_j\) and \(r-v_j\). For \(\ell=2,3,5\) these are \(0,r\), which may be avoided as above. At \(\ell\ge7\), let \(\chi_\ell\) be the quadratic character of \(\mathbb F_\ell\), extended by zero, and put \(\sigma=-\chi_\ell(-30)\). The set \(C=\{x\in\mathbb F_\ell^\times:\chi_\ell(x)=\sigma\}\) avoids all \(-v_j\), including those congruent to zero. It suffices to take \(x,x-r\in C\). For \(r=0\bmod\ell\) any element of \(C\) works. Otherwise expansion of the indicators away from \(0,r\) gives \[ \#\{x:x,x-r\in C\} =\tfrac14\bigl(\ell-3-\sigma(\chi_\ell(r)+\chi_\ell(-r))\bigr) \ \ge\ (\ell-5)/4>0 . \] Here \(\sum_x\chi_\ell(x(x-r))=-1\), since \(y^2=x(x-r)\) is equivalent to \((2x-r-2y)(2x-r+2y)=r^2\) and has \(\ell-1\) solutions. This is the character count in Akeno's (60). Combine the choices of \(x\) by the Chinese remainder theorem, and take \(b_-\equiv r-b_+\bmod W\). \end{proof} If \(w>2H_m+10\), with \(W\ge H_m\), then \(\lvert b_\pm\pm v_j\rvert\le W+H_m\le 3W\). On either side the intercepts differ by \(v_i-v_j\) up to sign, with \(0<|v_i-v_j|2t\) at most \(2t\) classes are excluded, and at smaller primes all offsets vanish \cite[Lemmas~2.1--2.2]{quiroga}. Any Goldbach-admissible \(t\)-tuple in Akeno's Definition~5.6 can be used here after translation. Its least possible diameter is his \(H(t)\). He proves \(H(t)\le(15t/4)^2+O(t)\) and \(H(t)\gg t^{4/3}\), and asks for the limiting logarithmic exponent \cite[Lemmas~5.7--5.8, Proposition~5.11 and Question~5.12]{ak}. For \(t=142\) Allouch gives \(3570\le H(142)\le35\,910\) \cite[Proposition~3 and Remark~5]{allouch}. \end{remark} \section{A common set of offsets on the two sides}\label{sec:alignment} Fix one of the two choices in Section~\ref{sec:offsets}, with its own \(k,\rho,\delta,t\). For a large integer \(n\) set \(g=10n\), \(G=\Z/g\Z\), and identify \(G\) with \(\{1,\ldots,g\}\). We work with compressed targets \(T\) in the range \begin{equation} 6n\le T\le7n,\qquad N=WT+b_++b_- . \label{eq:target} \end{equation} For functions on \(G\) we use \[ \widehat f(\xi)=\E_{u\in G} f(u)e(-\xi u/g),\qquad f*h(z)=\E_{u\in G} f(u)h(z-u),\qquad \E_{u\in G}=\frac1g\sum_{u\in G}. \] Norms on the Fourier side use counting measure. The two intervals for the roots and the corresponding interior bands for the tests are \[ \begin{array}{c|c|c|c} &s_\pm&I_\pm=[s_\pm,2s_\pm)&Z_\pm\\ \hline +&n &[n,2n) &[5n/4,7n/4]\\ -&3n &[3n,6n)&[17n/4,23n/4]. \end{array} \] All intervals in sums and counts are intersected with \(\Z\). For \(K\in\binom Vk\) and \(F\in\binom Km\), define \(f_{K,F}^\pm\) on \(G\) to have the constant value \[ D=D_g=\left(\frac{\varphi(W)}{W}\log g\right)^k \] on those \(u\in I_\pm\) for which every \(L_j^\pm(u)\), \(j\in K\), has all prime factors at least \(s_\pm^\rho\), and \(L_j^\pm(u)\) is prime for every \(j\in F\). The function is zero elsewhere. Indices outside \(F\) may also give primes. \subsection{Restriction and the test function} For each \(K\) and sign put \(\mathcal L=\{L_j^\pm:j\in K\}\). No form vanishes modulo a prime of \(W\). At a prime \(\ell>w\) the leading coefficient is invertible and the intercepts are distinct modulo \(\ell\). For \(v_j=30j^2\) this follows from \(|v_i-v_j|2(30t^2)+10,\qquad W\ge30t^2,\qquad L_m M^2/\sqrt w\le\mu_0/8, \label{eq:wsize} \end{equation} and in the fixed-offset case also \(w\ge w_0(m,M,\eta)\) from Proposition~\ref{prop:weight}(ii). In particular \(w>2H_m+10\) in that case. Now fix \(W\), choose the residues for the target class, and take \(n\) sufficiently large in terms of the preceding parameters. Although \(\chi\) is determined by \(E\) on this particular group, only \(M\) and \(\mu_0\) entered these choices. The same thresholds work for every such \(E\) and every residue class. Set \(u_{K,F}^\pm=f_{K,F}^\pm*\chi/\mu\). We claim that for each \(K\in\binom Vk\), either sign, and every integer \(z\in Z_\pm\), \begin{equation} \sum_{F\in\binom Km}u_{K,F}^\pm(z)\ge\delta/2. \label{eq:onetuple} \end{equation} Indeed a root counted by \(U_{s_\pm}(\mathcal L,\rho)\) contributes to at least one summand. We have \(D\ge D_{s_\pm}\) and \(|z|\le5s_\pm\). By \eqref{eq:wsize} the error in \eqref{eq:weighted} is at most \(g\mu_0/8\) in either case. Apply \eqref{eq:weighted} and \eqref{eq:mass}, then divide by \(g\mu\). Since \(\alpha<1/100<1/4\), the resulting lower bound implies \eqref{eq:onetuple}. For the reflected forms in part (i) one can also use exclusively positive shifts. With \(h=t+1\), \[ W(y-j)+b_-=W((y-h)+(h-j))+b_- , \qquad 1\le h-j\le t2\) and \(6(9/8)<7\), with room for the integer parts. Thus the seven intervals \([6n_i,7n_i]\) cover all the targets in question. For large \(U\), each has \(U/10\le n_i\le U/3\). Summing \eqref{eq:good} over the cover and the \(W/2\) even residue classes costs at most \(C_0d_0X\) exceptions, with \(C_0=2\). Since \(g=10n_i\ge X/W\) and \(\log g\le2\log X\), \eqref{eq:count} gives at least \begin{equation} c_0(m,W)\frac{X}{(\log X)^{2k}}\quad\text{distinct sets},\qquad c_0(m,W)=\frac{a^2}{100J\,4^k W} \left(\frac{W}{\varphi(W)}\right)^{2k}, \label{eq:dyad} \end{equation} for each remaining target. In particular the factor \(1/W\) from compressing the target interval enters the lower bound. \begin{proof}[Proof of Theorem~\ref{thm:tight}] Use Proposition~\ref{prop:weight}(i) and \(v_j=Wj\). Given \(d>0\), take \(d_0=\min(1/2,d/(2C_0))\) and choose \(W=W(m,d_0)\) as in \eqref{eq:wsize}. Formula~\eqref{eq:dyad} proves the assertion with \(H(m,d)=Wt\), \(c(m,d)=c_0(m,W)\) and \(A_m=2k\). More generally, let \(\gamma(X)\) and \(v(X)\) be any positive functions tending to infinity. For each fixed \(d>0\), eventually \(\gamma(X)\ge H(m,d)\) and \(v(X)c(m,d)\ge1\). Thus the exceptional fraction for diameter \(\gamma(X)\) and count \(X/(v(X)(\log X)^{A_m})\) has upper limit at most \(d\). Letting \(d\downarrow0\) gives \(o(X)\) exceptions. For \(m=2\) take \(\gamma(X)=\sqrt{\log X}\) and \(v(X)=\log X\). For even \(N\), the factors of \(\mathfrak S(N)\) at primes \(\ell\nmid N\) are at most one. At the other primes one finds \[ \mathfrak S(N)\le\frac N{\varphi(N)} \le\zeta(2)\prod_{\ell\mid N}(1+1/\ell) \le\zeta(2)\sum_{d\mid N}\frac1d \le\zeta(2)(1+\log N). \] The second inequality uses \(\prod_\ell(1-\ell^{-2})^{-1}=\zeta(2)\). Hence for every \(\varepsilon>0\), eventually \(\gamma(X)\le\varepsilon(\log N)^2/\mathfrak S(N)\) uniformly on \([X,2X]\). For every fixed \(\epsilon>0\), also \(N/9>N^{1-\epsilon}\) eventually. The pair supplied by the theorem therefore satisfies \eqref{eq:Xi} with \(c=0\) outside \(o(X)\) even integers in the dyad. To pass to \(N\le X\), use the intervals \([X/2^{i+1},X/2^i]\). Above a fixed threshold their error bounds sum to at most any prescribed multiple of \(X\), and the initial segment below twice the threshold has bounded size. This proves \(\Xi=0\). \end{proof} \begin{proof}[Proof of Theorem~\ref{thm:fixed}] Use Proposition~\ref{prop:weight}(ii) and \eqref{eq:offsets}. The integer \(H_m=30R_m(k,k)^2\) was fixed in terms of \(m\) before \(d_0\). For any fixed \(d_0\), every set counted by \eqref{eq:dyad} has diameter at most this same \(H_m\). A prime \(p\) can belong to at most \(\binom{2H_m}{m-1}\) such sets, since every other member must lie in \([p-H_m,p+H_m]\setminus\{p\}\). Greedily keep one set and remove all sets meeting it. Each step removes at most \(m\binom{2H_m}{m-1}\) sets, including the one kept. We obtain at least \(c_1(m,W)X/(\log X)^{2k}\) pairwise disjoint sets. For fixed \(d_0\) the number \(c_1(m,W(m,d_0))\) is positive, so this bound exceeds \(X/(\log X)^{2k+1}\) for all sufficiently large \(X\). Take \(B_m=2k+1\). The property with \(H_m,B_m\) is independent of \(d_0\), while the upper limit of its exceptional count divided by \(X\) is at most \(C_0d_0\) for every \(00\). At a finite bound \(h\) the condition in \eqref{eq:Xistar} is equivalent to the one with \(\lfloor h\rfloor\), since prime differences are integral. The admissible bounds therefore have a least integer, and \(\Xi^*\le H_2\). \end{proof} \clearpage \appendix \section{The dependence on the small-prime cutoff}\label{sec:alternative} There is also a direct proof of Proposition~\ref{prop:weight}(ii) giving \(\mathcal E_s\ll_m M^2s/\sqrt w\) for \(w>2k+10\), with the choice of \(k\) and the halved sieve exponent of part (i). We give the changes to the progression argument of \MS\ \cite[Lemma~7.4 and \S9]{ms}. Take \(Q\le(\log s)^B\) from their Lemma~3.2 with their choice of \(A=A(k)\) and \(B=B(A,M)\). Let \(\mathcal C\) be the classes \(a\bmod Q\) where \((Wa+c_i,Q)=1\) for all \(i\). At \(\ell\mid Q\) there are zero excluded residues modulo \(\ell\) if \(\ell\mid W\), and \(k\) otherwise. Thus \(|\mathcal C|/Q=\prod_{\ell\mid Q,\,\ell>w}(1-k/\ell)\). On each allowed class use \(4Q\le a<5Q\), \(x=\lfloor s/Q\rfloor\), \(\omega_u=\chi(z-Qu-a)\), and \(L_i(u)=WQu+Wa+c_i\). The lift makes both coefficients positive and at most \(x^{1/8}\) for large \(s\), when also \(k\le(\log x)^{1/8}\). The new singular series is exactly \(\mathfrak S(\mathcal L)Q/|\mathcal C|\) by the same local count as \eqref{eq:series}, so the forms are admissible. The weight-distribution estimates (9.1) and (9.3) of \cite{ms} are uniform in this lift of \(a\). Each Fourier coefficient of the weight is multiplied by a phase \(e(\theta(z-a))\) of modulus one, independently of the forms. For (9.2) fix one \(i\). With their frequency \((Wb/q+\beta)Q\), substitution of \(P=L_i(u)\) gives \[ e((Wb/q+\beta)Qu)= e((b/q+\beta/W)P)\,e(-(b/q+\beta/W)(Wa+c_i)). \] The prime sum and its ordinary main term have the same constant factor. An eligible class \(u\equiv v\bmod r\) maps to the unit class \(WQv+Wa+c_i\bmod WQr\) already covered by the maximum in \cite[\S9.2]{ms}. Replacing the image endpoints by \(WQx,2WQx\) costs in total \(O_{m,M,w}(x^{1/8}(WQ+1)(\log x)^{O(1)})=O(x^{1/2})\). Their Lemma~8.1 applies for \(q\mid Q\). For \(q\nmid Q\), their Lemmas~8.3 and~8.5 apply with \(q/(q,(QW)^2)>(\log s)^A/W^2\). In particular the phase accuracy for Lemma~8.5 at modulus \(QW\) follows before rounding the bounds in (9.6). Terms with \(|\beta|\le 1/(Qx(\log x)^{111k^2})\) allow \(\beta=0\) at the error of (9.2), by \(|e(v)-1|\le2\pi|v|\) and summing the trivial progression counts. Otherwise Lemma~3.2 gives \[ q\ll W(\log s)^{100B+111k^2},\qquad \frac{|\beta|}{W}\le\frac{(\log s)^{100B}}{qs} <\frac{1}{4q^2(QW)^2(\log(QWx))^{3200k^2}} \] for sufficiently large \(s\), since \(Q,q,W\) in this last case are bounded by powers of \(\log s\). Thus the proof of (9.2) works for each intercept separately. Its \(r=1\) term gives (9.4) and hence the prime density (6.1) when the total weight is at least \(x/w^{10}\). The summation following (9.4) verifies Hypothesis~6.1(2) in that case. Apply \cite[Theorem~6.2]{ms} as in their Proposition~7.2 with \(\alpha=\theta=1/8\) and density parameter \(1/2\). The case \(\sum_{x\le u<2x}\omega_u