\makeatletter \@ifundefined{theoremBfull}{\theoremstyle{plain}\newtheorem*{theoremBfull}{Theorem B}}{} \@ifundefined{corollaryBone}{\theoremstyle{plain}\newtheorem*{corollaryBone}{Corollary B.1}}{} \makeatother \providecommand{\QRH}{\mathrm{QRH}} \providecommand{\RE}{\mathrm{RE}} \providecommand{\Bexp}{\mathfrak B_{\mathrm{exp}}} \providecommand{\Qsgn}{Q^{\mathrm{sgn}}_Y} \providecommand{\Qmaj}{Q^{(N),\mathrm{maj}}_Y} \providecommand{\fN}{\mathfrak N} \providecommand{\one}{\mathbf 1} \providecommand{\SG}{\mathfrak S} \providecommand{\XNd}{\mathcal X_N^\delta} \providecommand{\AN}{\mathcal A^N} \providecommand{\Atype}{A_{\mathrm I}} \providecommand{\Ctr}{C_{\mathrm{tr}}} \providecommand{\RI}{R_{\mathrm I}} \section{Band-prime cofactors: Theorem~B}\label{sec:thmB} This section states and proves Theorem~B. Throughout, $N$ is even, $\delta\in(0,1/4)$ is fixed, and $\XNd:=\{N/2^j:\ j\ge2\ \text{an integer},\ 2^{-j}\ge\delta\}$. For real $x$ we put $L:=L_x=\log x$, and $Z=\exp(L^{0.24})$, $U=V=x^{1/5}$, $R_Z$ and $c_V$ are those of Proposition~\ref{prop:vaughan}; $P_Z:=\prod_{p\le Z}p$. We fix an integer $K\ge1$ and exponents $1/102}\frac{p-1}{p-2},\qquad C_2:=\prod_{p>2}\Bigl(1-\frac1{(p-1)^2}\Bigr)=0.6601618158\ldots, \] and for integers $k$ we put $G_N(k):=\sum_{a\in\AN}\one_{a\mid N-k}\,\one_{\mathrm{prime}}((N-k)/a)$, the number of ways of writing $N-k=ah$ with $a\in\AN$ and $h$ prime. \subsection{Statement}\label{ssec:B-statement} The proof follows the structure of the proof by L\"u, Wang and Wu \cite{LWW} at the shift $+2$, with $N-k$ in place of $k+2$ and the weight $G_N$ in place of theirs: Vaughan's identity on $Z$-sifted integers (Proposition~\ref{prop:vaughan}), a Type~I estimate modelled on \cite[proof of Proposition~3.1]{LWW} (\S\ref{ssec:B-typeI}), and a reduction of the Type~II sum to the signed square of Definition~\ref{def:squares} (\S\ref{ssec:B-typeII}), which Hypothesis~RE bounds. Prior work is described in \S\ref{ssec:credit}. \begin{theoremBfull} Let $\theta<1$ be fixed, and assume $\QRH(\theta)$ \textup{(}Definition~\ref{def:qrh}\textup{)} and Hypothesis $\RE(\Bexp,\theta)$ \textup{(}\S\ref{ssec:RE}\textup{)}; the proof uses in addition Proposition~\ref{prop:vaughan}, which is \cite[Proposition~2.1]{LWW}, and the classical inputs of \S\ref{ssec:classical}. Fix $\delta\in(0,1/4)$ and $A'>0$. Let $K\ge K_0(A')$ be an integer, where $K_0(A'):=\lfloor200(E_0+8)\rfloor+1$ with $E_0:=2A'+15$, and fix exponents $1/10A+4C+2=2A'+14$ and $K>200(E_0+8)$, this pair is admissible for $(A,C)$ (Definition~\ref{def:chain}). The zero-free half-plane $\QRH(\theta)$ enters only through (RE2). As stated in Theorem~B, the proof also uses Proposition~\ref{prop:vaughan}, which is \cite[Proposition~2.1]{LWW}, and the classical results of \S\ref{ssec:classical}. The implied constant in \eqref{eq:B} is not effective because the constant in Lemma~\ref{lem:BV}, as proved, is not effectively computable and Hypothesis~RE does not assert effective constants. \begin{corollaryBone} In the setting of Theorem~B, put \[ P_N(x):=\#\{p\in(x,2x]\ \text{prime}:\ N-p=a\cdot h\ \text{with}\ a\in\AN\ \text{and}\ h\ \text{prime}\}. \] Then \begin{equation}\label{eq:B-count} P_N(x)=\sum_{a\in\AN}\frac{\SG(aN)}a\int_x^{2x}\frac{du}{\log u\cdot\log((N-u)/a)}+O\bigl(xL^{-A'-1}\bigr), \end{equation} and the main term equals $\SG(N)\bigl(\prod_iV_i^N\bigr)(x/L^2)\bigl(1+O_{K,\delta}(L^{-0.8})\bigr)=\SG(N)(\log2)^K(x/L^2)\bigl(1+O_{K,\delta}(L^{-0.1})\bigr)$. Uniformly in even $N$, the main term is at least $(\log2)^Kx/(2L^2)$ for large $x$, since $\SG(N)\ge2C_2>1.32$. Hence $P_N(x)=(1+O(L^{1-A'}))\cdot(\text{main term})$. At the same $K$, the sharper form \eqref{eq:B-sharp} of \eqref{eq:B} proved in \S\ref{ssec:B-proof} gives the error $O(xL^{-A'-2})$ in \eqref{eq:B-count}, that is, $P_N(x)=(1+O(L^{-A'}))\cdot(\text{main term})$. In particular, for every $A'>0$ and every $K\ge K_0(A')$, every sufficiently large even $N$ is $p+a\cdot h$, with $p\in(N/4,N/2]$ prime, $h$ prime, and $a$ a product of one prime from each band $\mathcal P_i$ \textup{(}formed with $L=\log(N/4)$\textup{)}, none dividing $N$. If only \eqref{eq:B} as stated is used, this needs $A'>1$. \end{corollaryBone} \begin{remark}\label{rem:B-scope} (i) \emph{What Theorem~B is not.} Every mark is a product of $K\ge K_0(A')$ primes, each larger than $\exp(L^{1/10})$; $a=1$ is not a mark, and Theorem~B gives no representation $N=p+h$ with $p$ and $h$ prime. It is an average over the marks: for each large $N$ it gives some admissible $a$, not a statement for each individual $a$. No effective numerical threshold is obtained. (ii) \emph{Marks sharing a prime with $N$ contribute nothing to $P_N$.} If $p\mid a$, $p\mid N$ and $N-p'=a\cdot h$ with $p'$ prime, then $p\mid p'$, which is impossible for a prime $p'>x>p$. So $P_N(x)$ is unchanged if $\AN$ is replaced by the set of all products of one prime from each $\mathcal P_i$. (iii) \emph{Dyadic $x$.} Theorem~B is stated for $x\in\XNd$ because Hypothesis~RE is formulated for $x=2^{-j}N$; the Type~I estimate (Proposition~\ref{prop:B-typeI}) holds for every real $x\in[\delta N,N/4]$. The existence statement uses only $x=N/4$, which lies in $\XNd$ for every $\delta<1/4$. (iv) \emph{Sizes.} $K_0(A')>4600$ for every $A'>0$, and $K_0(2)=5401$. The defining half-open intervals of the bands are pairwise disjoint whenever $L^{a_{i+1}-a_i}\ge2$ for every $i$. Since the $K$ exponents lie in an open interval of length $1/10$, this sufficient separation condition forces $L>2^{10(K-1)}$; the threshold obtained by this separation argument is astronomically large. \end{remark} \subsection{Elementary facts and Vaughan's identity}\label{ssec:B-vaughan} \begin{lemma}\label{lem:B-elem} Let $N$ be even and let $x$ be real with $\delta N\le x\le N/4$, large in terms of $\delta$, $K$ and $(a_i)$. \begin{enumerate} \item[(a)] Every band prime lies in $(\exp(L^{1/10}),\exp(2L^{1/5}))$, so it is odd, smaller than $Z$, and larger than $L^{C}$ for every fixed $C$, and the bands are pairwise disjoint. Every $a\in\AN$ is odd and squarefree, with $\exp(KL^{1/10})0$. \end{enumerate} \end{lemma} \begin{proof} (a) $2L^{1/5}2$; so each $a\in\AN$ comes from exactly one choice $(p_1,\dots,p_K)$, and $V_i^N\le V_i<1$ by (b). (b) $\omega(N)\le\log N/\log2\le(L+\log(1/\delta))/\log2\le2L$; Mertens' estimate gives $V_i$, and at most $\omega(N)$ primes of $\mathcal P_i$, each larger than $\exp(L^{a_i})$, divide $N$; and $a_i>1/10$. (c) is the definition and (a). (d) $(N-k)/a\le0$ is not a prime. (e) If $N-k=ah$ with $h$ prime, then $h\ge N/(3a)>\exp(2L^{1/5})$, so $h$ is not a band prime and $a$ is the product of all band-prime factors of $N-k$; so $a$ and $h$ are determined by $k$. For $k\le2x(1+L^{-B})$, $N-k\ge N/2-NL^{-B}/2>N/3$. \end{proof} Fix $y\in(x,2x]$, put $I:=(x,y]$ and $F:=G_N\one_I$. Then $\|F\|_\infty\le1$ by Lemma~\ref{lem:B-elem}(e), and Proposition~\ref{prop:vaughan} gives \begin{equation}\label{eq:B-vaughan} T_N(x;y)=T_1(F)-T_2(F)+T_3(F)+O(Z). \end{equation} \subsection{The Type I sums}\label{ssec:B-typeI} \begin{proposition}\label{prop:B-typeI} For every $\Atype>0$, \[ (T_1-T_2)(F)=M_N(x;y)+O_{\Atype,\delta,K}\bigl(xL^{-\Atype}\bigr), \] uniformly in even $N$, in real $x\in[\delta N,N/4]$ with $x\ge x_1(\Atype,\delta,K,(a_i))$, and in $y\in(x,2x]$. \end{proposition} This uses no hypothesis: its inputs are Proposition~\ref{prop:vaughan}, Lemma~\ref{lem:BV} and the classical results of \S\ref{ssec:classical}. The indicator $R_Z(k)$ of the variable $k$ is replaced by a truncated inclusion--exclusion, as in \cite[proof of Proposition~3.1]{LWW}, and the resulting sums over primes in progressions are handled by Lemma~\ref{lem:BV}. \begin{lemma}\label{lem:B-trunc} For every integer $n\ge1$ and every integer $R\ge0$, \[ \Bigl|R_Z(n)-\sum_{\substack{r\mid(n,P_Z)\\ \omega(r)\le R}}\mu(r)\Bigr|\le\#\{r\mid(n,P_Z):\ \omega(r)=R+1\}. \] \end{lemma} \begin{proof} Let $s:=\omega((n,P_Z))$. If $s=0$, both sides are $0$. If $s\ge1$, then $R_Z(n)=0$, and the truncated sum is $\sum_{j\le R}(-1)^j\binom sj=(-1)^R\binom{s-1}R$, while $\binom{s-1}R\le\binom s{R+1}$. \end{proof} \begin{lemma}\label{lem:B-m01} Put $\mathfrak m_0(y):=\sum_{n\le y}\mu(n)/n$ and $\mathfrak m_1(y):=\sum_{n\le y}\mu(n)\log n/n$. There is an absolute $c_1>0$ such that, for $y\ge2$, $\mathfrak m_0(y)\ll\exp(-c_1\sqrt{\log y})$ and $\mathfrak m_1(y)=-1+O(\exp(-c_1\sqrt{\log y}))$. For all $y\ge1$, $|\mathfrak m_0(y)|\le1+\log y$ and $|\mathfrak m_1(y)|\le(1+\log y)^2$. \end{lemma} \begin{proof} Let $M(y):=\sum_{n\le y}\mu(n)\ll y\exp(-c_0\sqrt{\log y})$ (\S\ref{ssec:classical}). Since $\sum_n\mu(n)/n=0$, partial summation gives $\mathfrak m_0(y)=M(y)/y-\int_y^\infty M(t)t^{-2}\,dt\ll\exp(-c_0\sqrt{\log y})(1+\sqrt{\log y})$. Next, $\mathfrak m_1(y)=\mathfrak m_0(y)\log y-\int_1^y\mathfrak m_0(t)\,dt/t$; the integral converges, so $\mathfrak m_1(y)$ tends to $\mathfrak m_1(\infty):=-\int_1^\infty\mathfrak m_0(t)\,dt/t$ with error $\ll\exp(-c_1\sqrt{\log y})$ for any $c_10$ such that, for large $x$ and uniformly in even $N$ with $\omega(N)\le2L$, \[ S_0\ll\exp(-c\sqrt L),\qquad S_1=-\SG(N)/V_Z(N)+O(\exp(-c\sqrt L)). \] \end{lemma} \begin{proof} Put $f(d):=\mu(d)R_Z(d)\one_{(d,N)=1}\,d/\varphi(d)$. Then $S_0=\sum_{d\le U}f(d)/d$, $S_1=\sum_{d\le U}f(d)\log d/d$, and $f$ is multiplicative and supported on squarefree $d$, with $f(p)=-p/(p-1)$ if $p>Z$ and $p\nmid N$, and $f(p)=0$ otherwise. Put $g:=f*1$, so $f=g*\mu$; $g$ is multiplicative with $g(p^j)=1+f(p)$ for $j\ge1$, that is, $g(p^j)=1$ if $p\le Z$ or $p\mid N$, and $g(p^j)=-1/(p-1)$ if $p>Z$ and $p\nmid N$. Then \[ S_0=\sum_{e\le U}\frac{g(e)}e\,\mathfrak m_0(U/e),\qquad S_1=\sum_{e\le U}\frac{g(e)}e\bigl(\log e\cdot\mathfrak m_0(U/e)+\mathfrak m_1(U/e)\bigr). \] The series $\Sigma_g:=\sum_{e\ge1}g(e)/e$ converges absolutely. Its Euler factor is $p/(p-1)$ at $p\le Z$ and at $p\mid N$, and $1-(p-1)^{-1}\sum_{j\ge1}p^{-j}=p(p-2)/(p-1)^2$ at $p>Z$, $p\nmid N$. Since $N$ is even, $\SG(N)=\prod_{p\nmid N}p(p-2)(p-1)^{-2}\prod_{p\mid N}p(p-1)^{-1}$, and comparing factor by factor, \[ \Sigma_g=\prod_{p\le Z}\frac p{p-1}\prod_{\substack{p>Z\\ p\mid N}}\frac p{p-1}\prod_{\substack{p>Z\\ p\nmid N}}\frac{p(p-2)}{(p-1)^2} =\frac{\SG(N)}{V_Z(N)}. \] \emph{Rankin.} With $\sigma:=1/\log Z$, \[ \sum_e\frac{|g(e)|}{e^{1-\sigma}}=\prod_{p\le Z}\bigl(1-p^{-1+\sigma}\bigr)^{-1}\prod_{\substack{p>Z\\ p\mid N}}\bigl(1-p^{-1+\sigma}\bigr)^{-1} \prod_{\substack{p>Z\\ p\nmid N}}\Bigl(1+\frac{p^{-1+\sigma}}{(p-1)(1-p^{-1+\sigma})}\Bigr)\ll\log Z. \] For $p\le Z$, $p^\sigma-1\le(e-1)\sigma\log p$, so the first product differs from $\prod_{p\le Z}(1-1/p)^{-1}\ll\log Z$ by a factor $\exp(O(\sigma\sum_{p\le Z}\log p/p))=O(1)$. In the second, $p^{-1+\sigma}\le p^{-1/2}\le Z^{-1/2}$, so it is at most $\exp(4\omega(N)Z^{-1/2})\le2$; this is where $\omega(N)\le2L$, and with it the uniformity in $N$, enters. The third is at most $\exp(4\sum_{p>Z}p^{-3/2})\le2$. Hence $\sum_{e>\sqrt U}|g(e)|/e\le U^{-\sigma/2}O(\log Z)=O(L^{0.24}\exp(-L^{0.76}/10))$, and $\sum_e|g(e)|/e\ll L^{0.24}$. \emph{$S_0$.} For $e\le\sqrt U$, $\log(U/e)\ge L/10$ and $|\mathfrak m_0(U/e)|\ll\exp(-c_1\sqrt{L/10})$; for $e>\sqrt U$, $|\mathfrak m_0(U/e)|\le1+L$ and the Rankin tail applies. So $S_0\ll L^{0.24}\exp(-c_1\sqrt{L/10})+L^{1.24}\exp(-L^{0.76}/10)$. \emph{$S_1$.} The part with $\log e\cdot\mathfrak m_0$ is at most $L$ times the bound for $S_0$. The part with $\mathfrak m_1$ is $-\sum_{e\le\sqrt U}g(e)/e+O(L^{0.24}\exp(-c_1\sqrt{L/10}))+O(L^{2.24}\exp(-L^{0.76}/10))$, and $\sum_{e\le\sqrt U}g(e)/e=\Sigma_g+O(L^{0.24}\exp(-L^{0.76}/10))$. All errors are $\ll\exp(-c\sqrt L)$ with $c:=c_1/4$. \end{proof} \begin{proof}[Proof of Proposition~\ref{prop:B-typeI}] \emph{Shape.} Grouping $q=d\ell$ in $T_2$ as in Remark~\ref{rem:typeI-forms}, \[ T_1(F)=\sum_{q\le U}\mu(q)R_Z(q)\,I_q(\log),\qquad T_2(F)=\sum_{q\le x^{2/5}}\gamma_qR_Z(q)\,I_q(1), \] where $I_q(w):=\sum_{k:\ qk\in I}R_Z(k)\,w(k)\,G_N(qk)$ for $w=\log$ and $w=1$. We write $\varrho_q$ for the coefficient $\mu(q)\one_{q\le U}$ or $\gamma_q$, so that $|\varrho_q|\le L$. Every $q$ with $R_Z(q)=1$ is $Z$-rough, so $(a,q)=1$ for $a\in\AN$ (Lemma~\ref{lem:B-elem}(c)). Writing $N-qk=ah$, \begin{equation}\label{eq:B-Iq} I_q(w)=\sum_{a\in\AN}\ \sum_{\substack{h\in J_a\ \mathrm{prime}\\ q\mid N-ah}}R_Z\Bigl(\frac{N-ah}q\Bigr)\,w\Bigl(\frac{N-ah}q\Bigr),\qquad J_a:=\Bigl[\frac{N-y}a,\frac{N-x}a\Bigr), \end{equation} a bijection between the pairs $(k,a)$ counted by $I_q(w)$ and the pairs $(a,h)$ with $h\in J_a$ prime and $q\mid N-ah$. For $h\in J_a$: $N-ah\in(x,y]$; $h\ge(N-2x)/a\ge N/(2a)>\max(Z,\exp(2L^{1/5}))$; $|J_a|\le x/a$; and $H_a:=(N-x)/a\ge3x/a\ge x^{1-o(1)}$. \emph{Moduli not coprime to $N$.} If a prime $p$ divides $(q,N)$, then $q\mid N-ah$ gives $p\mid ah$, and since $p\nmid a$, $p\mid h$, so $h=p\le q\le x^{2/5}$. But $h\ge N/(2a)\ge2x\exp(-2KL^{1/5})>x^{2/5}$. So $I_q(w)=0$ when $(q,N)>1$. From now on $(q,N)=1$, and $q\mid N-ah$ means $h\equiv N\bar a\pmod q$, a reduced class ($\bar a$ is the inverse of $a$ modulo $q$). \emph{The sieve on $k$.} Fix $\Ctr>e$ with $\Ctr\log(\Ctr/e)\ge\Atype+6$, and put $\RI:=\lceil\Ctr\log L\rceil$. Apply Lemma~\ref{lem:B-trunc} with $n=(N-ah)/q$ and $R=\RI$. Since $q$ is $Z$-rough and $r\mid P_Z$, $r\mid n$ if and only if $qr\mid N-ah$. Let $p\mid r$. If $p\mid a$, then $p\mid N-ah$ would force $p\mid N$, which the puncturing excludes. If $p\mid N$ and $p\nmid a$, then $p\mid ah$ gives $p\mid h$, so $h=p\le Z$, which is impossible. So only $r\in\mathcal R(a):=\{r\mid P_Z:\ (r,aN)=1,\ \omega(r)\le\RI\}$ contribute to the truncated sum, and for these $qr\mid N-ah$ if and only if $h\equiv N\bar a\pmod{qr}$, a reduced class ($qr$ is odd because $2\mid N$). Hence \[ I_q(w)=\sum_{a\in\AN}\sum_{r\in\mathcal R(a)}\mu(r)\,\Pi_a(q,r;w)+E^{\mathrm{tr}}_q,\qquad \Pi_a(q,r;w):=\sum_{\substack{h\in J_a\ \mathrm{prime}\\ h\equiv N\bar a\ (\mathrm{mod}\ qr)}}w\Bigl(\frac{N-ah}q\Bigr), \] \[ |E^{\mathrm{tr}}_q|\le(L+1)\sum_{a\in\AN}\ \sum_{\substack{r\mid P_Z,\ \omega(r)=\RI+1\\ (r,a)=1}}\Bigl(\frac x{aqr}+1\Bigr); \] in the last bound the primality of $h$ is dropped, $|w|\le L+1$, and $qr\mid N-ah$ is one class of $h$ modulo $qr$ in an interval of length at most $x/a$. Using $\sum_{r\mid P_Z,\,\omega(r)=j}1/r\le(\sum_{p\le Z}1/p)^j/j!\le(\log L)^j/j!$, $\#\{r\mid P_Z:\ \omega(r)=j\}\le Z^j$, $(\RI+1)!\ge((\RI+1)/e)^{\RI+1}$, $\sum_{q\le x^{2/5}}1/q\le L$ and $\sum_a1/a\le1$, \[ \sum_q|\varrho_q|\,|E^{\mathrm{tr}}_q|\le2L^2\Bigl[xL\Bigl(\frac{e\log L}{\RI+1}\Bigr)^{\RI+1}+x^{\frac25}\,\#\AN\,Z^{\RI+1}\Bigr] \ll xL^{3-\Ctr\log\frac{\Ctr}e}+x^{\frac25+o(1)}\ll xL^{-\Atype-3}. \] \emph{Primes in progressions.} Every modulus is $m=qr\le Q_0:=x^{2/5}Z^{\RI}=x^{2/5+o(1)}$, and $m$ determines $q$ (its $Z$-rough part) and $r$ (its $Z$-smooth part); so, for fixed $a$, each $m$ occurs at most once in $T_1$ and at most once in $T_2$. The weight $W(h):=w((N-ah)/q)$ is monotone on $J_a$, with $\sup|W|\le L+1$ and total variation at most $\log(y/x)\le\log2$. Put $\Delta(H;m):=\max_{(c,m)=1}\max_{2\le z\le H}|\pi(z;m,c)-\operatorname{li}(z)/\varphi(m)|$. Partial summation against $\pi(\cdot;m,c)-\operatorname{li}(\cdot)/\varphi(m)$ on $J_a\subset[2,H_a]$ (with left limits at the endpoints, to which the maximum passes since $\operatorname{li}$ is continuous) gives \[ \Pi_a(q,r;w)=\frac1{\varphi(qr)}\int_{J_a}w\Bigl(\frac{N-at}q\Bigr)\frac{dt}{\log t}+E^{\mathrm{BV}}_a(q,r), \] with $|E^{\mathrm{BV}}_a(q,r)|\le(2\sup|W|+\operatorname{Var}W)\,\Delta(H_a;qr)\le3L\,\Delta(H_a;qr)$, because the class $N\bar a$ modulo $qr$ is reduced. Since $Q_0\le H_a^{1/2}(\log H_a)^{-\Atype-5}$ for large $x$, the form of Lemma~\ref{lem:BV} displayed after it, at precision $\Atype+3$, gives, for each of $T_1$ and $T_2$, \[ \sum_{q,r}|\varrho_q\mu(r)|\,|E^{\mathrm{BV}}_a(q,r)|\le3L^2\sum_{m\le Q_0}\Delta(H_a;m)\ll L^2H_a(\log H_a)^{-\Atype-3}\ll\frac NaL^{-\Atype-1}, \] and $\sum_a(N/a)L^{-\Atype-1}\le(x/\delta)L^{-\Atype-1}$. The integer $N$ enters only through the residue class, which the maximum covers; so the bound is uniform in $N$ and in $a$. \emph{Completing the sum over $r$.} For $(q,r)=1$, $\varphi(qr)=\varphi(q)\varphi(r)$, and $\sum_{r\mid P_Z,\,(r,aN)=1}\mu(r)/\varphi(r)=V_Z(aN)$. With $s:=\sum_{2\RI$ total at most $\sum_{j>\RI}s^j/j!\le e^s(es/(\RI+1))^{\RI+1}\le L^{1-\Ctr\log(\Ctr/e)}$. Since $|\int_{J_a}w((N-at)/q)\,dt/\log t|\le(L+1)(x/a)(2/L)$ and $\sum_{q\le x^{2/5}}1/\varphi(q)\ll L$, collecting the three steps gives \begin{equation}\label{eq:B-Iq-main} I_q(w)=\frac1{\varphi(q)}\sum_{a\in\AN}V_Z(aN)\int_{J_a}w\Bigl(\frac{N-at}q\Bigr)\frac{dt}{\log t}+E_q,\qquad \sum_q|\varrho_q|\,|E_q|\ll_\delta xL^{-\Atype-1}. \end{equation} \emph{Summing over the Vaughan coefficients.} By \eqref{eq:B-Iq-main} and the discard of $(q,N)>1$, $(T_1-T_2)(F)=MT_1-MT_2+O(xL^{-\Atype-1})$, where \begin{align*} MT_1&:=\sum_{d\le U,\,(d,N)=1}\frac{\mu(d)R_Z(d)}{\varphi(d)}\sum_{a\in\AN}V_Z(aN)\int_{J_a}\bigl(\log(N-at)-\log d\bigr)\frac{dt}{\log t},\\ MT_2&:=\sum_{\substack{d\le U,\ \ell\le V\\ (d\ell,N)=1}}\frac{\mu(d)\Lambda(\ell)R_Z(d\ell)}{\varphi(d\ell)}\sum_{a\in\AN}V_Z(aN)\int_{J_a}\frac{dt}{\log t}. \end{align*} In $MT_2$, $R_Z(d\ell)=R_Z(d)R_Z(\ell)$ and $\one_{(d\ell,N)=1}=\one_{(d,N)=1}\one_{(\ell,N)=1}$; for squarefree $d$ and $\ell=p^j$, $\varphi(d)/\varphi(d\ell)$ is $1/\varphi(\ell)$ if $p\nmid d$ and $1/\ell$ if $p\mid d$. Hence \[ \sum_{\ell\le V,\,(\ell,N)=1}\Lambda(\ell)R_Z(\ell)\frac{\varphi(d)}{\varphi(d\ell)}=A_V(N)-\varpi(d),\qquad A_V(N):=\sum_{\ell\le V,\,(\ell,N)=1}\frac{\Lambda(\ell)R_Z(\ell)}{\varphi(\ell)}, \] where, for $d$ with $\mu(d)R_Z(d)\ne0$, $0\le\varpi(d)=\sum_{p\mid d}\sum_{p^j\le V}\log p/(p^j(p-1))\le\sum_{p\mid d}\log p/(p-1)^2\le 2L\log Z/Z^2$. Only $0\le A_V(N)\le2\sum_{n\le V}\Lambda(n)/n\le2L$ is needed. With $S_0$, $S_1$ as in Lemma~\ref{lem:B-S01} and $S_\varpi:=\sum_{d\le U,\,(d,N)=1}\mu(d)R_Z(d)\varpi(d)/\varphi(d)\ll L^2\log Z/Z^2$, \begin{equation}\label{eq:B-MT} MT_1-MT_2=\sum_{a\in\AN}V_Z(aN)\int_{J_a}\Bigl[\bigl(\log(N-at)-A_V(N)\bigr)S_0-S_1+S_\varpi\Bigr]\frac{dt}{\log t}. \end{equation} \emph{The singular series.} In \eqref{eq:B-MT}, $|\log(N-at)-A_V(N)|\le3L$ and $\sum_aV_Z(aN)\int_{J_a}dt/\log t\le\sum_a(x/a)(2/L)\le 2x/L$. Since $\omega(N)\le2L$ (Lemma~\ref{lem:B-elem}(b)), Lemma~\ref{lem:B-S01} gives \[ MT_1-MT_2=\frac{\SG(N)}{V_Z(N)}\sum_{a\in\AN}V_Z(aN)\int_{J_a}\frac{dt}{\log t}+O\bigl(x\exp(-c\sqrt L)\bigr)+O\bigl(xL^2\log Z/Z^2\bigr). \] Every prime $p\mid a$ satisfies $20$, let $K\ge K_0(A')$, and fix the exponents $a_i$. Then, for $x\in\XNd$ with $x\ge x_2(\delta,A',K,(a_i),\theta)$, uniformly in $y\in(x,2x]$ and in even $N$, \[ T_3(F)\ll_{\delta,A',K,(a_i),\theta}xL^{-A'-1}. \] \end{proposition} \begin{proof} Put $B:=A'+4$ and $D_*:=2A'+4$. \emph{Variables not coprime to $N$.} Delete from $T_3(F)$ the terms in which some prime $P\mid N$ divides $mn$. Since $m$ and $n$ are $Z$-rough, $P>Z$. By Lemma~\ref{lem:B-elem}(e), $|\mu(m)c_V(n)|\le\log(2x)$, $\tau(Pj)\le2\tau(j)$ and $\sum_{j\le t}\tau(j)\le t(\log t+1)$, the deleted terms total at most $\mathcal E_{\mathrm{del}}:=\sum_{P\mid N,\,P>Z}\sum_{k\le2x,\,P\mid k}\tau(k)\log(2x) \le\sum_{P\mid N,\,P>Z}4(x/P)(L+2)^2\le8x(L+2)^3/Z$. \emph{Smoothing, boxes, Mellin separation} (as in \cite[\S4.1]{LWW}). Choose a smooth $\psi_I\colon(0,\infty)\to[0,1]$ equal to $\one_{I/x}$ outside the $L^{-B}$-neighbourhoods of $1$ and $y/x$, with $\psi_I^{(j)}\ll_jL^{Bj}$ uniformly in $I$ and total variation at most $2$. Replacing $\one_I(mn)$ by $\psi_I(mn/x)$ changes only terms with $mn$ in two intervals $\mathcal J_1,\mathcal J_2\subset[x/2,3x]$ of length $2xL^{-B}$, where $G_N\le1$ by Lemma~\ref{lem:B-elem}(e). Since $\sum_{k\in\mathcal J}\tau(k)\le2\sum_{d\le\sqrt{3x}}(|\mathcal J|/d+1)\le2|\mathcal J|(\log3x+1)+4\sqrt x$ for intervals $\mathcal J\subset[x/2,3x]$, this costs $\mathcal E_{\mathrm{sm}}\le L^2\sum_{k\in\mathcal J_1\cup\mathcal J_2}\tau(k)\ll xL^{3-B}+x^{1/2}L^2$. Split $m>U$ and $n>V$ into dyadic intervals $(M,2M]$ and $(\fN,2\fN]$ with $M\in2^{\mathbb Z_{\ge0}}U$ and $\fN\in2^{\mathbb Z_{\ge0}}V$, and keep the boxes that meet the support of $\psi_I(mn/x)$, which lies in $[x(1-L^{-B}),x(2+L^{-B})]$. With $X:=M\fN$, so that $mn\in(X,4X]$, a kept box has $x/51$, no $k\equiv N\pmod a$ is divisible by $d$, since a common prime would divide $N$. With $\tau(k)\le2\#\{d\mid k:\ d\le\sqrt t\}$ for $k\le t$, this gives $\sum_{k\le t,\ k\equiv N\,(a)}\tau(k)\le2\sum_{d\le\sqrt t,\,(d,a)=1}(t/(da)+1)\le(t/a)(2+\log t)+2\sqrt t$; at $t=12x$, by Lemma~\ref{lem:B-elem}(a), $\sum_{k\le12x,\,k2A'+14$ and $K\ge K_0(A')$. Its hypotheses hold. First, $x=2^{-j}N$ with $j\ge2$, $M,\fN\ge x^{1/5}$, $x/5x/5\ge\delta N/5=\delta_0N$, so $(x,M,\fN)\in\mathcal R_{\delta_0}(N)$ (Definition~\ref{def:range}). Second, by the deletion above, $\alpha\in\mathcal C^\mu_N(M;B)$ (with the interval $(M,2M]$ and $|v|\le L^{2B}$), $\alpha\in\mathcal C_N(M)$ and $\beta\in\mathcal C_N(\fN)$ with $C=2$ (Definition~\ref{def:coeff}). Third, the marks are those of $\Bexp$, punctured at $N$. Then (RE1) and (RE2) give $\Qsgn\le|\Qsgn-\Qmaj|+|\Qmaj|\le2C_0XYL^{-D_*}$ for every $Y\in2^{\mathbb Z}$ and every $x\ge x_0^{\RE}$, where $C_0$ and $x_0^{\RE}$ are the constants of Hypothesis~RE for this instance (Remark~\ref{rem:RE-use}(i)). Since $\prod_iV_i^N\le1$, \eqref{eq:B-cauchy} gives $|\mathcal T_Y|\ll_\delta C_0^{1/2}XL^{-(D_*+1)/2}$. \emph{Summing up.} $|\mathcal T|\le3KL^{1/5}\max_Y|\mathcal T_Y|\ll_{\delta,K}L^{1/5}\,x\,L^{-(D_*+1)/2}$, and by \eqref{eq:B-T3} \[ |T_3(F)|\ll_{\delta,K,B}L^{1.2}\log L\cdot xL^{-(D_*+1)/2}+xL^{3-B}+x^{1/2}L^2+xL^3/Z. \] With $D_*=2A'+4$ and $B=A'+4$, every term is $\ll xL^{-A'-1}$. \end{proof} The conventions (G1) and (G2) make every mark and every Type~II variable a unit modulo $N$; with them the reduction runs over all even $N$, including those with many small prime factors. Hypothesis~RE includes in $\Qsgn$ the pairs of marks $(a,b)$ with a common prime factor; for coprime marks, Lemma~\ref{lem:kernel}(ii) turns the condition on $(m,n,r,s)$ into the determinant equation \eqref{eq:det}. The next lemma, the reflected form of \cite[Lemma~4.1]{LWW}, bounds the pairs with a common prime factor. Neither fact is used in the proof of Theorem~B. \begin{lemma}\label{lem:B-shared} Let $\mathcal M$ be a set of odd squarefree integers coprime to $N$ whose prime factors are all at least $p_{\min}\ge3$. Let $|\alpha_m|\le1$ and $|\beta_n|\le L^2$ be supported on $(M,2M]$ and $(\fN,2\fN]$, with $X=M\fN\le3x$, and put $S_\ell(h):=\sum_{N-mn=\ell h}\alpha_m\beta_n$. If $Y\in2^{\mathbb Z}$ and $Y\le X^{1/4}$, then $\sum_{a,b\in\mathcal M,\,(a,b)>1}\eta(a/Y)\eta(b/Y)\sum_{h\ne0}|S_a(h)|\,|S_b(h)|\ll XYL^7/p_{\min}$, with an absolute implied constant. For $\mathcal M=\AN$ with the bands of $\Bexp$, the right-hand side is $\ll XYL^7\exp(-L^{1/10})$. \end{lemma} \begin{proof} Let $\ell\in\mathcal M$ with $Y\le\ell\le4Y$. Then $|S_\ell(h)|\le L^2\tau(N-\ell h)$, and $S_\ell(h)=0$ unless $X1$, the count is $0$, since a common prime would divide $N$; otherwise it is at most $3X/(\ell d)+1$. Hence the sum is $\ll(X/Y)L^3+X^{3/4}L^2\ll(X/Y)L^3$, because $Y\le X^{1/4}$. By Cauchy's inequality, each pair $(a,b)$ contributes $\ll L^4(X/Y)L^3$. The pairs in $[Y,4Y]^2$ sharing a prime number at most $\sum_{p\ge p_{\min}}(4Y/p)^2\le32Y^2/p_{\min}$. For $\Bexp$, $p_{\min}>\exp(L^{1/10})$, and $Y\le\exp(2KL^{1/5})\le X^{1/4}$ for large $x$, by Lemma~\ref{lem:B-elem}(a). \end{proof} \subsection{Proof of Theorem~B and of Corollary~B.1; the order of choices}\label{ssec:B-proof} \begin{proof}[Proof of Theorem~B] Insert Proposition~\ref{prop:B-typeI} with $\Atype:=A'+1$ and Proposition~\ref{prop:B-typeII} into \eqref{eq:B-vaughan}: \begin{equation}\label{eq:B-sharp} T_N(x;y)=M_N(x;y)+O\bigl(xL^{-A'-1}\bigr)+O\bigl(xL^{-A'-1}\bigr)+O(Z)=M_N(x;y)+O\bigl(xL^{-A'-1}\bigr), \end{equation} uniformly in even $N$, in $y\in(x,2x]$ and in $x\in\XNd$ with $x\ge x_0:=\max(x_1,x_2)$, with the bands fixed at $L=\log x$. This is \eqref{eq:B}, with the error $O(xL^{-A'-1})$, better than stated. \end{proof} \begin{proof}[Proof of Corollary~B.1] \emph{$G_N$ on primes.} By Lemma~\ref{lem:B-elem}(e), $G_N(p)\in\{0,1\}$ for $p\in(x,2x]$, and $G_N(p)=1$ if and only if $N-p=ah$ with $a\in\AN$ and $h$ prime. So $P_N(x)=\sum_{x0$ the sharper form gives $P_N(N/4)>0$ for every even $N\ge N_0(A',K,(a_i),\theta)$; with only \eqref{eq:B} as stated this needs $A'>1$. \end{proof} \paragraph{The order of choices.} (1) Fix $\theta<1$, $\delta\in(0,1/4)$ and the target $A'>0$. (2) Put $D_*:=2A'+4$. This is legitimate because the loss in \eqref{eq:B-T3} and in the sum over $Y$ (at most $8L$ boxes, $\int|\widehat{\psi_I}|\ll\log L$, at most $3KL^{1/5}$ values of $Y$) is $L^{1.2+o(1)}$, with an exponent independent of $K$ and of the $a_i$; $K$ enters only the implied constant. (3) Hypothesis~RE at $A=D_*$, $C=2$: $E_0:=D_*+4C+3=2A'+15$, then $A_0=\lceil E_0+9\rceil$ (Definition~\ref{def:chain}), then $K_0(A'):=\lfloor200(E_0+8)\rfloor+1$; every $K\ge K_0(A')$ is admissible, independently of the $a_i$, of $N$ and of $\delta$ (for $A'=2$: $D_*=8$, $E_0=19$, $K_0=5401$). (4) Fix $K\ge K_0(A')$ and the exponents $a_i$. (5) $B:=A'+4$; it depends on $A'$ only, since the Mellin truncation is bounded without a bound for $G_N$ in terms of $K$, so it may equally be fixed before $K$; the constants of Hypothesis~RE may depend on $B$. (6) Type~I: $\Atype:=A'+1$, $\Ctr$ as in the proof of Proposition~\ref{prop:B-typeI}, and Lemma~\ref{lem:BV} at precision $\Atype+3$; these are free. (7) Last, $x\ge x_0(\delta,A',K,(a_i),\theta)$, equivalently $N$ large; the constants are not effective. There is no circularity: $D_*$ and $B$ depend on $A'$ only, and $K$ is chosen after $E_0>D_*+4C+2$. The $K$ chosen serves the one precision $A'$; the argument does not give every precision at a fixed $K$.