\makeatletter \@ifundefined{thmAfull}{\theoremstyle{plain}\newtheorem*{thmAfull}{Theorem A}}{} \@ifundefined{corAfull}{\theoremstyle{plain}\newtheorem*{corAfull}{Corollary A.1}}{} \makeatother \providecommand{\QRH}{\mathrm{QRH}} \providecommand{\one}{\mathbf 1} \providecommand{\QsA}{\mathcal Q^{\mathrm{sgn}}_Y} \providecommand{\QmA}{\mathcal Q^{\mathrm{maj}}_Y} \providecommand{\Mpad}{M_{\mathrm{pad}}} \providecommand{\Haux}{H_{\mathrm{aux}}} \providecommand{\SLtwo}{\mathrm{SL}_2} \section{The reflected higher-order Titchmarsh divisor problem}\label{sec:thmA} Throughout this section $k\ge3$ is a fixed integer and $N$ is a large integer, even or odd; $L:=\log N$ and $S_k(N):=\sum_{1\le t0$ there is $N_0(k,\varepsilon)$, independent of the factorisation of $N$, such that the $o_k(1)$ has modulus at most $\varepsilon$ for every $N\ge N_0(k,\varepsilon)$ in that class. Combining \textup{(a)} and \textup{(b)}, \[ \lim_{X\to\infty}\ \sup_{N\ge X}\ \biggl|\frac{S_k(N)}{C_k(N)N(\log N)^{k-1}}-1\biggr|=0. \] \end{thmAfull} \begin{corAfull} Under the assumptions of Theorem~A, for each fixed integer $k\ge3$, \[ \sum_{p1-1/k$, with maxima over reduced residues and over endpoints, then \eqref{eq:A-T} follows by the classical argument: the generalised hyperbola method singles out a largest factor of an ordered $k$-factorisation of $N-t$, and the prime then lies in an interval in the class $N$ modulo the remaining product $d\le N^{1-1/k}$. For fixed shifts, Matom\"aki, Radziwi{\l}{\l} and Tao note that sieve methods give the asymptotic under a level of distribution of $\Lambda$ greater than $1-1/k$ \cite[\S1.1]{MRT}; see also \cite[\S1]{HLWW}. We do not use this hypothesis. \end{remark} \begin{remark}[Where $\QRH(7/8)$ enters, and what is transferred]\label{rem:A-where} $\QRH(7/8)$ is used only through Lemma~\ref{lem:A-short}, in the reflected major arcs (Propositions~\ref{prop:A-maj} and~\ref{prop:A-char}). It is asserted in \cite{QRH}, and the result announced in \cite{Alpoge} (\S\ref{ssec:qrh}) would also give it. Without it the proof below still reduces Theorem~A to the bounds \eqref{eq:A-G19} and \eqref{eq:A-G211}, and these we do not prove without it: at conductor $q\asymp N$ and for primes of size $P=e^{L^a}$, $a<1$, a zero-free region of width $\asymp1/\log q$ saves only $\exp(-O(\log P/\log q))=1-o(1)$. The proof follows \cite{HLWW}, with their fixed-shift estimates \cite[Lemma~4.1 and Proposition~4.2]{HLWW} replaced by Propositions~\ref{prop:A-G1} and~\ref{prop:A-G2} at the shift $-N$. Written out in full are the root count (Lemma~\ref{lem:A-root}) and its transport to index-$N$ class lattices (Proposition~\ref{prop:A-det}), the character estimates at polynomial conductor, the displacement-$N$ pairing (Proposition~\ref{prop:A-disp}), the exact principal centring, and the local and endpoint bookkeeping uniform in $N$; the density model, marks, graph architecture and Boolean assembly are those of \cite{PD}, \cite{WDG}, \cite{Walsh} and \cite{HLWW}. \end{remark} \subsection{Notation, the local factor and the density model}\label{ssec:A-model} Put $y=e^{L^{2/5}}$, $S=\{p\le y\}$, $E=e^{\sqrt L}$, $Z=e^{L^{0.24}}$, $V(w)=\prod_{p\le w}(1-1/p)$ and $V_y=V(y)$. For a set $\mathcal U$ of primes, $n_{\mathcal U}=\prod_{p\in\mathcal U}p^{v_p(n)}$ and $\mathcal U'$ is the complement. Let $\widetilde M_k(v)=\operatorname{Res}_{s=1}(\zeta(s)^k\prod_{p\in S}(1-p^{-s})^kv^{s-1})$, fix a smooth $\varsigma\colon[0,\infty)\to[0,1]$ equal to $0$ on $[0,1/2]$ and to $1$ on $[1,\infty)$, and let $M_k(v)=\varsigma(v/N^{1/2}) \widetilde M_k(v)$ for $v>N^{1/2}/2$ and $M_k(v)=0$ otherwise. Put \[ D_k(u)=\tau_k(u_S)M_k(u_{S'})/V_y,\qquad\xi_k=\tau_k-D_k,\qquad\Xi_k=\tau_k+D_k. \] For large $N$, $M_k\ge0$: the leading term of the residue is $V_y^k(\log v)^{k-1}/(k-1)!$, the lower coefficients have relative size $O_k(\log y/\log v)$ by \cite[(2.4)--(2.6)]{Walsh}, and $\log v\ge L/2-O(1)$. So $M_k$ is a smooth nonnegative model, equal to the residue for $v\ge N^{1/2}$, with $M_k(v)\ll_kV_y^kL^{k-1}$ for $v\le N^2$, as in \cite[\S2.2]{Walsh}; on scales $u=N^{1+o(1)}$, $u_S\le E$ implies $N^{1/2}0$ and $G_k:=\prod_pg_k(p)$, \[ C_k(N)=\frac{G_k}{(k-1)!}\Bigl(\frac{\varphi(N)}N\Bigr)^{k-1}\prod_{p\mid N}g_k(p)^{-1}\asymp_k\Bigl(\frac{\varphi(N)}N\Bigr)^{k-1} \gg_k(\log\log3N)^{-(k-1)}. \] \end{lemma} \begin{proof} $\int_{\mathbb Z_p}\tau_k(p^{v_p(u)})\,du=(1-1/p)\sum_{a\ge0}\binom{k+a-1}ap^{-a}=(1-1/p)^{1-k}$. If $p\nmid N$ the excluded class $u\equiv N\pmod p$ has valuation zero and measure $1/p$; if $p\mid N$, $p\nmid N-u$ forces $u$ to be a unit. The rest is arithmetic. \end{proof} So \eqref{eq:A-C} is the local-density prediction, and Lemma~\ref{lem:A-model} shows that it is the constant of the density model; $J_{k,p}(N)$ is the factor $J_p$ of \cite[(2.6)]{HLWW} with $N$ in place of $h$. \begin{lemma}[Moments and deletions]\label{lem:A-moments} \textup{(i)} For fixed $a,r$ and $0<\delta\le C$, uniformly for $N^\delta\le T\le N^C$, $\sum_{u\asymp T}\tau_a(u)^r\ll TL^{C_{a,r}}$ and $\sum_{u\asymp T}\tau_a(u)^r\one_{u_S>E}\ll TL^{C_{a,r}}e^{-c_{a,r}L^{1/10}}$; for $T\asymp N$ the same holds with $N-u$ in place of $u$; and, by H\"older, both hold for any fixed product of the divisor weights used below. \textup{(ii)} $D_k(u)\ll L^{k-1}\tau_k(u_S)$, and on a fixed interior support $u\asymp N$ with $u_S\le E$, \begin{equation}\label{eq:A-D22} D_k(u)=B_k\tau_k(u_S)\bigl(1+O(L^{-1/2})\bigr),\qquad B_k=V_y^{k-1}L^{k-1}/(k-1)!. \end{equation} \textup{(iii)} For every set $\mathfrak B$ of primes, \begin{equation}\label{eq:A-D23} \sum_{p\in\mathfrak B,\ p\mid N}1/p\le\omega(N)/\min\mathfrak B\ll L/\min\mathfrak B. \end{equation} \textup{(iv)} For $M\ge N^\delta$ and an interval of length $\asymp M$, \begin{equation}\label{eq:A-D24} \#\{m\asymp M:\ P^-(m)>Z,\ (m,N)>1\}\ll ML/Z+L. \end{equation} \end{lemma} \begin{proof} (i) is \cite[Lemma~2.2]{Walsh}, whose tilted moment bound contains the ordinary one, at every scale $N^\delta\le T\le N^C$ (see also \cite[Lemma~2.2]{HLWW}); (ii) is \cite[Lemma~2.1]{Walsh} and \cite[Lemmas~2.1--2.2]{HLWW}, whose hypotheses concern the size of $u$, not a shift. In (iv) a prime factor of $N$ dividing $m$ exceeds $Z$, so the count is at most $\sum_{p\mid N,\,p>Z}(M/p+1)$; the term $L$ must be kept, since $M/p$ need not exceed $1$. \end{proof} H\"older's inequality and (i)--(ii) turn \eqref{eq:A-D23}--\eqref{eq:A-D24} into errors $\ll NL^{-A}$ for every fixed $A$; the same argument with threshold $y$ removes integers divisible by a prime $p\mid N$, $p>y$, in the progression reductions. \begin{lemma}[The density model]\label{lem:A-model} For each fixed $\Phi\in C_c^\infty((0,1))$ and $A>0$, uniformly in $N$, \begin{equation}\label{eq:A-D31} \sum_{tE$ contribute $NL^{O_k(1)}e^{-cL^{1/10}}$, so $d\le E$. If $(d,N)>1$, $t\equiv N\pmod d$ and $\Lambda(t)\ne0$ force $t$ to be a power of a prime dividing $N$: $O(L^2)$ terms. For $(d,N)=1$ let $\mathcal E_d$ be the difference between $\sum_{ty$ costs $1+O_k(1/y)$, and the primes $p\mid N$, $p>y$, a factor $1+O_k(L/y)$. With $B_k=V_y^{k-1}L^{k-1}/(k-1)!$ the main coefficient is $C_k(N)L^{k-1}(1+O_k(L/y))$. \end{proof} \subsection{Positive envelopes and small moduli}\label{ssec:A-envelopes} The upper-bound input is the corrected theorem \cite[New Theorem~5, p.~377]{Henriot} (Appendix~\ref{app:contracts}), whose constant does not depend on the discriminant or the coefficients once its parameters are fixed, and which allows absolute values, hence negative slopes. Below it is applied to products of two primitive linear forms of height $N^{O(1)}$ on dyadic intervals of length $\ge N^{\delta_1}$, with its height exponent small, its interval exponent $1/2$, and then its growth parameter small. For a finite set $\mathcal U$ of primes not dividing $N$, $\mu^*_{N,k}$ is the product law normalising $\tau_k(p^{v_p(u)})\one_{p\nmid N-u}\,du$ at each $p\in\mathcal U$ (normaliser $J_{k,p}(N)$), and $\mu_{k,j}$ is the product law on pairs of valuations with unnormalised masses $1-2/p$ at $(0,0)$, $(1-1/p)\tau_k(p^a)p^{-a}$ at $(a,0)$ and $(1-1/p)\tau_j(p^b)p^{-b}$ at $(0,b)$, $a,b\ge1$ (normaliser $(1-1/p)^{1-k}+(1-1/p)^{1-j}-1$). \begin{lemma}[Positive envelopes]\label{lem:A-env} Fix $\Phi\in C_c^\infty((0,1))$, $\Phi\ge0$. Uniformly in $N$, with constants depending only on fixed orders, $\Phi$ and fixed exponents: \begin{enumerate} \item[\textup{(i)}] if $\mathcal U\subset\{e^{L^{1/10}}Z}F\ll C_k(N)NL^{k+j-2}V(Z)^j\,\mathbb E_{\mu_{k,j}}F+NL^{C'}e^{-cL^{1/10}}; \] \item[\textup{(iii)}] for fixed $\gamma>0$ and $j\ge1$, if $b_1,\dots,b_j$ are supported on $Z$-rough $m_i\asymp H_i$ with $H_i\ge N^\gamma/2$, $\prod_iH_i\asymp N$ and $|b_i|\le(\gamma LV(Z))^{-1}$, then on a fixed interior product support $\sum\Xi_k(N-m_1\cdots m_j)\prod_i|b_i(m_i)|\ll C_k(N)NL^{k-j-1}$; \item[\textup{(iv)}] for fixed $0<\eta_1<1/4$ and $\epsilon>0$, $\sum_{t2$, and $p=2$ costs at most a factor $3$. At $p\in\mathcal U$ this gives the masses of $\mu_{k,j}$; other $p\nmid N$ give $L^{k+j-2}V(Z)^j$ up to constants; at $p\mid N$, $p\le Z$, roughness forces $u$ to be a unit, a factor $(1-1/p)^{k-1}(1+O(p^{-2}))$ relative to the generic one; primes dividing $N$ above $Z$ have reciprocal mass $O(L/Z)$. This extracts $C_k(N)$, with no factor involving $\tau(N)$. For $D_k$ use \eqref{eq:A-D22} and the same positive calculation (the density-model part of \cite[Lemma~5.3]{HLWW}). The argument sums positively against any $F\ge0$. For (i) dominate the prime condition by an upper-bound sieve to a fixed power of the scale: the local density is $J_{k,p}(N)$ and the sieve gives $L^{-1}$. For (iii) fix $m_2,\dots,m_j$, put $a=\prod_{i\ge2}m_i$ and apply the theorem to $m$ and $N-am$: the inner sum is $\ll C_k(N)H_1V(Z)L^{k-1}$, and each other variable supplies $H_iV(Z)$. For (iv) bound the variable below $N^{1/2}$ pointwise, and on dyadic $[R',2R']$, $R'\ge N^{1/2}$, the two-form bound gives $\ll C_k(N)R'L^{k-1}$. \end{proof} \begin{lemma}[Small moduli and the sifted model]\label{lem:A-small} Let $c_0=1/(2(k+2))$. \textup{(i)} For every function $\mathfrak h$ of $u_S$ with $|\mathfrak h|\le L^C$ and every $A$, \begin{equation}\label{eq:A-D51} \sum_{r\le N^{c_0}}\Bigl|\sum_{u:\ r\mid N-u}\Phi\Bigl(\frac uN\Bigr)\mathfrak h(u_S)\xi_k(u)\Bigr|\ll_{A,k,C,\Phi}NL^{-A}. \end{equation} \textup{(ii)} Let $s$ be a large even integer, $\gamma=c_0/(8s+8)$ and $z=N^\gamma$; fix a mark system \eqref{eq:A-banks} and $\varpi$, and let $m_W=\mathbb E_{\mu^*_{N,k}}W_\varpi$, which lies between positive constants depending only on $K$, $k$ and $\varpi$, uniformly in $N$. For every real $\Phi\in C_c^\infty((0,1))$, \begin{equation}\label{eq:A-D52} \limsup_{N\to\infty,\ 2\mid N}\frac{|\sum_u\Phi(u/N)\xi_k(u)W_\varpi(u)\one_{P^-(N-u)>z}|}{C_k(N)NL^{k-2}m_W}\ll_{k,\Phi}\frac{e^{-s}}\gamma, \end{equation} with an implied constant depending only on $k$ and $\Phi$: not on $s$, $\gamma$, $K$, the mark system or its exponents, or $N$. \end{lemma} \begin{proof} (i) is the reflected form of \cite[Lemma~3.1]{HLWW}, from the divisor-progression estimate \cite[(3.2)]{HLWW}. Restrict to $a=u_S\le E$, put $g=(a,r)$, which must divide $N$, and $q=r/g$; the rough part of $u=av$ lies in the class $v\equiv(N/g)(a/g)^{-1}\pmod q$. A class not reduced at some $p\le y$ contains no rough $v$; one not reduced at some $p>y$ forces $p\mid N$ and $p\mid u$, and is deleted with Lemma~\ref{lem:A-moments}, multiplicity $\tau(N-u)$ included. In reduced classes the two principal terms agree up to the large-prime Euler factors of \cite[(3.3)--(3.4)]{HLWW}: for $G_{j,q}(s)=\prod_{p\mid q,\,p>y}(1-p^{-s})^j$ the needed derivatives of $G_{k,q}-1$ at $1$ and $G_{1,q}(1)-1$ are $O_k(e^{-L^{2/5}}L^{C_k})$ for $q\le N^{c_0}$, and $\sum_{q\le N^{c_0}}1/\varphi(q)\ll L$. The contour errors $O(Y_0^{1/2}q^{k/2})$ of \cite[(3.2)]{HLWW}, at summation length $Y_0\le N$, sum to $N^{1/2+(k/2+1)c_0+o(1)}=N^{3/4+o(1)}$, and the multiplicity of $g$, at most $\tau(a)$, costs $L^{O_k(1)}$; this replaces every bound depending on the divisors of $h$ in \cite{HLWW}. (ii) For the additional sieve insertion of \cite[Lemma~3.2]{HLWW} use $\sum_{a\ S\text{-smooth}}\tau_k(a)(a,d)/a\le V_y^{-k}(k+1)^{\omega(d)}$ for squarefree $d$ supported on $S$; the positive Bonferroni remainder at degree $\lceil C_A\log L\rceil$ saves any power of $L$, with no condition on $(d,N)$; restrict the rough-supported coefficients to $r\le N^{c_0/2}$; as a Bonferroni divisor satisfies $d\le y^{\lceil C_A\log L\rceil+1}=N^{o(1)}$, $rd0$ and $C_k(N)\gg(\log\log N)^{-(k-1)}$; \cite{HLWW} state the same independence for \cite[(3.10)]{HLWW}. A real $\Phi$ is $(\Phi+\|\Phi\|_\infty\Phi_0)-\|\Phi\|_\infty\Phi_0$ with $\Phi_0\ge0$ smooth in $(0,1)$ and $\ge1$ on $\operatorname{supp}\Phi$. \end{proof} \subsection{Arithmetic tools under the zero-free half-plane}\label{ssec:A-arith} This subsection is the only place where $\QRH(7/8)$ is used. We also use the local formulas \cite[Proposition~19, Exercise~45(ii), (46)]{TaoNotes} (Appendix~\ref{app:contracts}): for fixed $C,\epsilon>0$, uniformly in $q$, in non-principal $\chi\bmod q$ and in $\epsilon\le\sigma\le C$, $-L'/L(s,\chi)=-\sum_{|s-\rho|\le\epsilon/2}(s-\rho)^{-1}+O(\log(q(2+|t|)))$; the same for $\zeta$ with the extra term $1/(s-1)$; and $L(s,\chi)=\zeta(s)\prod_{p\mid q}(1-p^{-s})$ for principal $\chi$. \begin{lemma}[Bank primes at polynomial conductor]\label{lem:A-short} Assume $\QRH(7/8)$ and fix $a,B,D>0$. Uniformly for $e^{L^a}\le P\le N^B$, characters $\chi$ modulo $q\le N^B$, $|t|\le N^D$ and smooth $w$ supported in $[1/2,3]$ with logarithmic derivatives bounded by fixed powers of $L$, \begin{equation}\label{eq:A-A1} \frac1P\sum_p\chi(p)w\Bigl(\frac pP\Bigr)p^{it}=\one_{\chi\text{ principal}}P^{it}\int_0^\infty\frac{w(u)u^{it}}{\log(Pu)}\,du+O\bigl(P^{-1/16} L^{C_w}\bigr). \end{equation} For non-principal characters the harmonic prime sums over a bank $\{e^{L^a}Z}}{V(Z)\log m}\Bigr)\ll_{A,B,\delta}ML^{-A}. \end{equation} \end{lemma} \begin{proof} For the primes use Lemma~\ref{lem:A-short} after smoothing the endpoints in strips of relative width $L^{-B_1}$: the main term is $\one_{\psi\text{ principal}}\int_It^{iu}/\log t\,dt$. For the rough part use Bonferroni truncations to products of at most $r$ primes $\le Z$, $r$ a large fixed multiple of $\log L$: in a reduced class modulo $q$ the count for $d$ coprime to $q$ is $|I|/(qd)+O(1)$, the main term is $|I|V(Z)/\varphi(q)$, and the omitted degree has mass $\le M(\sum_{p\le Z}1/p)^{r+1}/(r+1)!+Z^{r+1}q\ll ML^{-D}$. Summing over classes gives $0$ for non-principal $\psi$ and $V(Z)|I|$ otherwise; partial summation costs $L^{O(B)}$, and the principal terms cancel. The unit restriction removes $O(ML/Z+L)$ rough integers and $O(L)$ primes. \end{proof} \subsection{The reflected prime-versus-rough estimate}\label{ssec:A-G1} \begin{proposition}\label{prop:A-G1} Assume $\QRH(7/8)$ and the inputs from \cite{PD}. Let $N$ be even. Fix $\delta,C,A>0$ and $0<\varpi<1$. Let $M,R\ge N^\delta$ with $X=MR\asymp N$, take the banks \eqref{eq:A-banks}, let $|F|\le1$ be invariant under all bank primes, let $\beta_n$ be supported on $Z$-rough $n\in[R,2R]$ with $|\beta_n|\le L^C$, and let $\alpha_m=\one_I(m)m^{it}(\one_{m\text{ prime}}-\one_{P^-(m)>Z}/(V(Z)\log m))$ with $I\subset[M,2M]$ an interval and $|t|\le L^C$. If $K$ is large enough in terms of $\delta,C,A,\varpi$, independently of the exponents $a_i$ and of $N$, then \begin{equation}\label{eq:A-G1} \sum_{m,n}\alpha_m\beta_nF(N-mn)W_\varpi(N-mn)\ll_{A,C,\delta,\varpi}XL^{-A}, \end{equation} where $F(N-mn)W_\varpi(N-mn)$ is $0$ when $mn\ge N$; the threshold may depend on the $a_i$. The same holds after inserting a fixed smooth product cutoff supported on an interior subset of $\{00$; $C$ affects only the threshold. The two completions modulo $2$ give total density $1/(3\zeta(2))$. The error is additive, not relative for small boxes. \end{lemma} \begin{proof} \emph{Case $U_1\le U_2$.} Put $q=2S_0$. For fixed $u\equiv u_*\pmod q$, the pairs $(c,v)$ modulo $uq$ with $c\equiv c_*$, $v\equiv v_* \pmod q$ and $cv\equiv ud_*-1\pmod{uq}$ number $u\prod_{p\mid u,\,p\nmid q}(1-1/p)$, as in \cite[(3.25)--(3.28)]{PD}. Use the torus coordinates $x_1=c/(uq)$, $x_2=v/(uq)$ and $x_3=-2Nc/(uq)=(-Nc/u)/S_0$: the conditions are $x_1\in[0,1/q)$ and $x_3\in(\mathfrak f_*+I_3)/S_0\pmod1$, and $x_3$ is a function of $x_1$. Split the range of $v$ into periods of length $uq$, smooth the indicators at width $U_1^{-1/1000}$, and cut frequencies at $F_0=U_1^{1/100}$; the tail is $O(U_1^{-1/10})$, and a retained triple $(h,b,h')$ has frequency $a=h-2Nh'$ on $c$. If $b\ne0$, \cite[(3.24)]{PD} bounds the complete sums of \cite[(3.28)]{PD} by $q^{O(1)}u^{3/4+o(1)}F_0^{1/4}$, since $(a,b,u)\le|b|$, whatever the size of $a$; the total is $O(U_1U_2q^{O(1)}U_1^{-1/5+o(1)})$. If $b=0$ and $(h,h')\ne(0,0)$, then $a\ne0$ as $N>F_0$; the sums are Ramanujan sums, $\ll q^{O(1)}(a,u)u^{o(1)}$, and summing over $u$ first, \begin{equation}\label{eq:A-G12a} \sum_{u\asymp U_1}(a,u)=\sum_{d\mid a}\varphi(d)\#\{u\asymp U_1:\ d\mid u\}\ll U_1\tau(|a|)=U_1N^{o(1)}, \end{equation} which gives $O(U_1U_2q^{O(1)}U_1^{-1}F_0^2N^{o(1)})$. This step admits large $(u,N)$ and every fixed $\delta$: no root is discarded. The zero mode and the strips give the volume with error $O(U_1U_2q^{O(1)}U_1^{-1/1000+o(1)})$; averaging $\prod_{p\mid u,\,p\nmid q}(1-1/p)$ over $u\equiv u_*\pmod q$, as at the end of the proof of \cite[Lemma~3.3]{PD}, gives density $\zeta(2)^{-1}\prod_{p\mid q}(1-p^{-2})^{-1}$, and $|\SLtwo(\mathbb Z/q\mathbb Z)|=q^3\prod_{p\mid q}(1-p^{-2})$. All powers of $q$ are $N^{o(1)}$, so $c_\delta=\delta/1000-o(1)$ works. \emph{Case $U_20$ fixed), delete the primes dividing $N$, and write $\mathcal P_g$ for the resulting sets, $V_g=\sum_{p\in\mathcal P_g}1/p$, $\omega_g(u)=\#\{p\in\mathcal P_g:p\mid u\}$, and $\mathcal P$ for their union; these primes exceed $Z$. Put $A_{\mathcal P}(u)=\tau_k(u_{\mathcal P'})-\tau_k(u_{S\setminus\mathcal P})M_k(u_{S'})/V_y$ and $\Omega_{\mathcal P}(u)=\prod_gV_g^{-1}\one_{\omega_g(u)=1}$. \begin{proposition}\label{prop:A-G2} Assume $\QRH(7/8)$ and the inputs from \cite{WDG}, \cite{Walsh} and \cite{HLWW}. Let $\mathfrak h(u)=\mathfrak h(u_{S\setminus\mathcal P})$ with $|\mathfrak h|\le L^C$, and let $\mathfrak t(pv)=\mathfrak t(v)$ for $p\in\mathcal P$, $|\mathfrak t(v)|\le L^C\tau_j(v_{\mathcal P'})$, and $\mathfrak t(v)=0$ unless $P^-(v)>Z$. For fixed $k,j,c,C,A$ and $\Phi\in C_c^\infty((0,1))$, \begin{equation}\label{eq:A-G2} \sum_{0Z$, divides both endpoints (if $p\le Z$ divided $N-u$, then $\mathfrak t(N-u)=0$), and Lemma~\ref{lem:A-moments}, H\"older and translated moments make these terms $\ll NL^{-A}$, also with the complete-list weights below, which are pointwise $L^{O(1)}$. Put $\mathfrak a(u)=\mathfrak h(u)A_{\mathcal P}(u) \one_{(u,N)=1}$ and $\mathfrak t_0(v)=\mathfrak t(v)\one_{(v,N)=1}$, both invariant under $\mathcal P$. The large-prime part of the unit masks is kept through the graph argument and removed only at the principal character in Proposition~\ref{prop:A-char}. \begin{lemma}[Complete lists on deleted banks]\label{lem:A-lists} For each fixed $r$ the complete-list moment bound of \cite[Lemma~2.3]{Walsh}, as used in \cite[(4.9)]{HLWW}, holds on the banks $\mathcal P_g$ for the endpoint functions $\mathfrak a$, $\mathfrak t_0$, with a logarithmic exponent independent of the padded list length $\Mpad$ (the threshold may depend on $\Mpad$). \end{lemma} \begin{proof} Walsh's proof uses, besides \cite[Lemma~2.2]{Walsh} at scale $N/P_0$, only three facts: every list product $P_0$ consists of $O_{\Mpad}(\log L)$ primes $\le y$, so $P_0=N^{o(1)}$; for $P_0\mid n$ composed of active primes, $|A_{\mathcal P}(n)|\ll L^{k-1} \tau_k(n/P_0)$ and $|\mathfrak t(n)|\le L^C\tau_j(n/P_0)$, for every $\mathcal P\subset S$; and $\sum_{\text{lists}}P_0^{-1}\prod_g V_g^{-\Mpad}\le\prod_g(\sum_{p\in\mathcal P_g}1/(V_gp))^{\Mpad}=1$ for any finite non-empty $\mathcal P_g$. The interval shape and the bounds $1/2\le V_g\le2$ of \cite[(2.1)]{Walsh} are not used; $\mathfrak h$ and the unit masks cost a fixed power of $L$. \end{proof} \begin{lemma}[Ideal comparisons after deletion]\label{lem:A-ideal} The ideal comparison family of \cite[Theorem~4.1]{WDG} exists on the deleted banks, with its coefficient exponents and probe count chosen before $\Mpad$; its coefficients keep the separated form of \cite[Lemma~7.1]{Walsh} and use only big-bank labels. \end{lemma} \begin{proof} Apply \cite[Theorem~4.1]{WDG} with two extra powers of ideal accuracy to the original selected banks (interval banks, with the fixed bounds $1/8,1/4,1/3,2/5$). Let $\mu_g$ be their harmonic law, $\varepsilon_g\ll Le^{-L^{0.245}}$ its mass on primes dividing $N$, and $\mu_g'$ its normalised restriction to the other primes. Compress the ideal Hilbert space to tuples of good primes; the identification is multiplication by $(\prod_g(1-\varepsilon_g)^{-\Mpad})^{1/2}$, which commutes with permutation averaging. Conditioned on either endpoint, one of the $O_m(\log L)$ free auxiliary labels is bad with probability $O_m(\log L\max_g\varepsilon_g)$, and the absolute row and column bounds are $L^{C_1}$; by Schur's test, deleting these draws and changing the remaining laws to $\mu_g'$ perturb the norm by $O_{\Mpad,m}(L^{C'}e^{-L^{0.245}})$. The raw coefficient is still $1$, the kernels are those built on the original banks, and the expansion of \cite[Lemma~7.1]{Walsh} survives restriction, with count and supremum mass $L^{C_1}$, $C_1$ independent of $\Mpad$. \end{proof} \begin{proposition}[Large displacement]\label{prop:A-disp} In \cite[Definition~3.3]{WDG} replace the multiplier $k$ by a non-zero integer $h$ coprime to every bank prime, keeping the other definitions and the full integer position space. Under the ideal-norm hypothesis of \cite[Theorem~3.5]{WDG}, uniformly in $h$, \begin{equation}\label{eq:A-G21} \sum_{n\in I}\bigl\langle u_n,(\mathcal A\mathcal A^*)^{R_D}u_n\bigr\rangle\ll|I|L^{-2R_DE},\qquad R_D=\lceil L^{0.52}\rceil,\ I=[X,2X),\ N^{\gamma_1}\le X\le N^{1/\gamma_1}. \end{equation} If the maximal displacement is $|h|D_{\max}$ with $\log D_{\max}=o(R_D)$, then for mark-independent $f$ on $[X,2X)$ and $g$ with $\|f\|_2,\|g\|_2\le X^{1/2}L^{C_3}$ and $\|f\|_r^r\ll XL^{C_r}$ for a fixed $r>2$, uniformly in $h$, \begin{equation}\label{eq:A-G22} |\langle f,\mathcal Ag\rangle|\ll XL^{-E+2C_3}. \end{equation} \end{proposition} \begin{proof} \cite[Theorem~3.5]{WDG} is printed for polylogarithmic displacement; every use of the displacement in its proof survives. (1) \cite[Lemma~3.4]{WDG}: the absolute bounds use no property of positions beyond divisibility and translation. (2) \cite[Lemma~3.6]{WDG}: a path fixes offsets with $h_{i+1}-h_i=\pm hD_i$, whose sizes never enter; active congruences are incompatible or fix a class modulo $Q_{\mathrm{act}}$ with $\log Q_{\mathrm{act}}=O_{\Mpad}(R_DL^{d}\log L)=o(L)$, $d<0.47$; each CRT counting error is $O(1)$ for any residue, and the relative error $e^{-\gamma_1L+o(L)}$ is absorbed by the path mass $L^{O(R_D)}$; the return condition is the exact Fourier identity for $\sum\pm hD_i=0$. (3) \cite[\S3.3, (3.12)--(3.14)]{WDG}: identities for residues; ``every group prime exceeds $|k|$'' serves only to infer $p\mid D$ from $p\mid hD$, which $p\nmid h$ supplies, keeping the entry/exit exclusion and the factor $V_g^{-r}/(pb_p)$. (4) \cite[\S\S3.4--3.5]{WDG}: residues translate by $\pm hD$, a permutation of the residue spaces; nothing else changes. (5) \cite[Lemma~3.9]{WDG}: a promotion requires $r'\pm hD_BD_S\equiv0\pmod p$ with $p\nmid D$, and $h$, $D_B$ and the small-label product are units modulo $p$, so each pending particle permits at most one omitted product, as in its (3.31). (6) \cite[Lemma~3.10]{WDG}: Fourier transformation turns translation by $\pm hD$ into $e(\pm\Theta D_B)$, and the ideal hypothesis is a supremum over all real $\Theta$. (7) \cite[\S3.8]{WDG}: (3.40)--(3.43) involve prime labels, not $h$, and the choices of its (3.37) give \eqref{eq:A-G21}. For the pairing, \cite[Corollary~3.11]{WDG} uses blocks of size $\max|kD|$; instead, in each residue class modulo $|h|$, partition the source positions into blocks of at most $\lceil D_{\max}\rceil$ consecutive positions of the progression. Each block meets $O(1)$ neighbouring blocks of its class, with bounded overlap over all classes together. For mark-independent $f$ with $\sup|f_n|\le e^{O(\sqrt L)}$, spectral H\"older and positivity give for a block $J$ \[ |\langle f_J,\mathcal Ag_J\rangle|\le\|g_J\|\,\|f_J\|^{1-1/R_D}\Bigl(\sum_{n\in J}|f_n|^2\sum_{n\in J}\bigl\langle u_n,(\mathcal A \mathcal A^*)^{R_D}u_n\bigr\rangle\Bigr)^{1/(2R_D)}, \] where $(\sum_J|f_n|^2)^{1/(2R_D)}\le(D_{\max}e^{O(\sqrt L)})^{1/(2R_D)}=O(1)$; H\"older over blocks with exponents $2$, $2R_D/(R_D-1)$, $2R_D$ and \eqref{eq:A-G21} give \eqref{eq:A-G22}, with no factor $|h|$. For unbounded $f$ clip at $e^{\sqrt L}$ as in the proof of \cite[Theorem~7.2]{Walsh}, using $\|f_{\mathrm{tail}}\|_2^2\le e^{-(r-2)\sqrt L}\|f\|_r^r$ and the absolute Schur bound, and work with the represented, uncompressed operator, extending exact-count endpoint vectors by zero (this keeps norms and mark independence); then $\langle f,P_M\mathcal AP_Mg\rangle=\langle f,\mathcal Ag\rangle$, as in \cite[(7.14)]{Walsh}. No higher moments of $P_M\mathcal AP_M$ and $\mathcal A$ are compared. At $h=-N$, $\log D_{\max}=O_{\Mpad}(L^{0.39}\log L)=o(R_D)$. \end{proof} \begin{lemma}[Exact comparisons]\label{lem:A-comp} For lists of length $t_g$, distinct within each bank, put $W^b_{\boldsymbol t}(u)=\prod_g(V_g^{-t_g}\one_{\omega_g(u)=t_g}) \sum_{\boldsymbol p\mid u}b(\boldsymbol p)$, and $\Psi(t)=t\Phi(t)$. There are a fixed integer $m$ and finitely many comparison terms with \begin{equation}\label{eq:A-G23} \Sigma_0+\sum_\nu c_\nu\Sigma_\nu=O(L^{-A}),\qquad\#\{\nu\}+\sum_\nu|c_\nu|\le L^{C_1}, \end{equation} where $\Sigma_0=\sum_u\frac{\Psi(u/N)}u\mathfrak a(u)\mathfrak t_0(N-u)\Omega_{\mathcal P}(u)\Omega_{\mathcal P}(N-u)$ and \begin{equation}\label{eq:A-G24} \Sigma_\nu=\mathbb E_{\boldsymbol d_1,\boldsymbol d_2}a_\nu(\boldsymbol d_1)b_\nu(\boldsymbol d_2)\sum_w\frac{\Psi(w/(ND_1D_2))}w\, \mathfrak a(w)\mathfrak t_0(ND_1D_2-w)W^{u_\nu}_{\boldsymbol t}(w)W^{v_\nu}_{\boldsymbol t}(ND_1D_2-w). \end{equation} Auxiliary draws use $\mu_g(p)=1/(V_gp)$; each big-bank block has a non-empty auxiliary product $D_i$ with at most $m$ draws per bank, and small banks have none; $t_g=1+r_g$, $0\le r_g\le m$, $r_g=0$ on small banks; the coefficients have modulus $\le1$ and $u_\nu,v_\nu$ depend only on big-bank lists. All exponents are independent of $\Mpad$. \end{lemma} \begin{proof} Apply Lemma~\ref{lem:A-ideal} and Proposition~\ref{prop:A-disp} with $h=-N$ and endpoint weights $\mathfrak a(n)$ and $\mathfrak t_0(-n')$ on negative target positions; the $r=2,4$ moments of the pairing are Lemma~\ref{lem:A-lists}, over the positive integers $-n'$ of the size of the source dyad, and all positions have size $N^{1+o(1)}$. At $h=-N$ there is a localisation issue absent for fixed $h$: on $\Psi(n/(ND))$, $-n'=ND-n$ is positive and comparable to $n$. For each source dyad insert a target cutoff equal to $1$ there, and keep it through the Mellin separation of $\Psi(n/(ND))$ (the $D$-phase is the operator's $\zeta$, the $n$-phase is mark-independent); its norm is covered by Lemma~\ref{lem:A-lists}. Fix $|\zeta|\le L$ before choosing the ideal family, and bound the omitted tails, by integration by parts, against the absolute Schur bound. With $D_R$ the product of the shared labels, the endpoints are $n=D_Rw$ and $n'=D_R(w-ND_1D_2)$; invariance removes $D_R$ from both endpoint functions, the harmonic factor gives $1/D_R$, and the normalisation in bank $g$ is exactly $V_g^{-\Mpad-t_g}/(D_R)_g=V_g^{-2t_g}\prod_{p\text{ shared in }g}(V_gp)^{-1}$, so the shared draws become independent harmonic laws, and \cite[Lemma~7.1]{Walsh} gives the separated coefficients. The exclusions of \cite[(4.10)--(4.11)]{HLWW} remain negligible: $w$ and $v=ND_1D_2-w$ are $N^{1+o(1)}$; bad shared choices have mass $L^{O_{\Mpad}(1)}e^{-L^{0.245}}$; for an auxiliary $p\mid D_1D_2$, $p\mid w$ is equivalent to $p\mid v$, and H\"older with fourth moments bounds these terms by $L^{C'}p^{-1/2}$; and a retained prime dividing $w$ and $v$ divides $ND_1D_2$ but not $N$, hence divides $D_1D_2$. This replaces the use of $p>|h|$ in \cite{HLWW}. The list factors cost $\prod_g(t_g!)V_g^{-t_g}=L^{O_m(1)}$. \end{proof} \emph{Fourier reduction.} Restrict $D_i$ to dyads $[H_i,2H_i)$, and put $\Haux=H_1H_2$ and $Y_*=N\Haux$; then $H_i\ge e^{L^{0.34}-O(1)}$ and $\log\Haux=O_m(L^{0.39}\log L)$. Mellin separation of $w/(ND_1D_2)$ reduces $\Sigma_\nu$ to integrals, of polylogarithmic $L^1$ mass, of $Y_*^{-1}\mathbb Ea(D_1)b(D_2)\sum_uf_1(u)f_2(ND_1D_2-u)$, with \begin{equation}\label{eq:A-G26} f_1(u)=\Upsilon_1(u/Y_*)u^{i\sigma}\mathfrak a(u)W^{b_1}_{\boldsymbol t}(u),\qquad f_2(v)=\Upsilon_2(v/Y_*)\mathfrak t_0(v)W^{b_2}_{\boldsymbol t}(v), \end{equation} supported on integers $\asymp Y_*$, $\|f_i\|_2^2\ll Y_*L^C$, $\Upsilon_1,\Upsilon_2$ smooth cutoffs, $b_1,b_2$ tuple tests on big-bank lists, and $|\sigma|\le L^D$. With $\widehat f(\kappa)=\sum_uf(u)e(\kappa u)$ and $m(\phi)=\mathbb Ea(D_1)b(D_2)e(-\phi D_1D_2)$ the sum is $Y_*^{-1}\int\widehat{f_1}\widehat{f_2}(\kappa)m(N\kappa)\,d\kappa$. \cite[Lemma~6.2]{Walsh} applies to the deleted banks (it allows any disjoint sets of primes with $V_g\asymp1$, at most $m$ draws per bank, and tuple tests after conditioning): with Dirichlet approximation at denominator $\Haux/L^{B_0-1}$ it gives $m(\phi)\ll L^{-A'}$ off $\phi=a/q+\lambda/\Haux$, $q,|\lambda|\le L^{B_0}$, and Parseval bounds that part. On these arcs, using all $N$ inverse branches, $N^{-1}\sum_{r\bmod N}\widehat{f_1}\widehat{f_2}((r+\phi)/N)=\sum_{N\mid u+v} f_1(u)f_2(v)e(\phi(u+v)/N)$, with prefactor $1/(Y_*\Haux)=N/Y_*^2$. So it suffices to prove, for every $A$, \begin{equation}\label{eq:A-G29} \sum_{N\mid u+v}f_1(u)f_2(v)\,e\Bigl(\frac{a(u+v)}{Nq}\Bigr)e\Bigl(\frac{\lambda(u+v)}{Y_*}\Bigr)\ll\frac{Y_*^2}NL^{-A}; \end{equation} a bound with $Y_*^2$ in place of $Y_*^2/N$ would not close the argument. \begin{proposition}[Large-character comparison]\label{prop:A-char} Assume $\QRH(7/8)$. Then \eqref{eq:A-G29} holds, uniformly in all the data above. \end{proposition} \begin{proof} Absorb $e(\lambda u/Y_*)$, $e(\lambda v/Y_*)$ into the cutoffs, split $q=q_0q_1$ and apply \eqref{eq:A-coset} with $Q=Nq_0$, $X_1=u$, $X_2=-v$. Keep $b_\chi(-v)$ on the target side, expanded in small characters modulo $q_0$ with $\chi$-dependent coefficients bounded by $q_0$. On the $q_1$-part the phase splits into bounded periodic functions of $u$ and of $v$; the target one is left unexpanded. The source need not be a unit modulo $q_1$: with $d=(u,q_1)$, write $u=dz$ and expand on the units modulo $q_1/d$, so the source twist is $\chi(u)\psi(u/d)$ with $d\le L^{B_0}$ and $(d,N)=1$. For each of the polylogarithmically many terms put $\mathcal F_\chi=Y_*^{-1}\sum_uf_{1,d}(u)\chi(u)\psi(u/d)$ and $\mathcal G_\chi=Y_*^{-1}\sum_vf_{2,*}(v)\overline{\chi(-v)}$, with coefficients independent of $\chi$; it is enough to prove \begin{equation}\label{eq:A-G211} \sum_{\chi\bmod Q}|\mathcal F_\chi\mathcal G_\chi|\ll_AL^{-A}, \end{equation} since \eqref{eq:A-coset} then gives $Y_*^2L^{-A}/\varphi(Q)$ and $N/\varphi(Q)\ll\log\log N$. Choose one selected small bank $\mathcal P_g$; since $t_g=1$ there and $b_1$ uses only big lists, each $u$ counted in $\mathcal F$ has a unique prime divisor $p\in\mathcal P_g$. The $u\asymp Y_*$ with $p^2\mid u$ number $\le Y_*e^{-cL^{0.245}}$ and have $\sum|f_1|^2\ll Y_*L^Ce^{-cL^{0.245}}$; this error is handled after the character expansion, by \eqref{eq:A-ortho} with $Q\ll Y_*$ and Cauchy's inequality against $\mathcal G$ (not by a bound per character summed over $Q$ characters). Now $u=dpm$, with $m$ free of primes of $\mathcal P_g$; the other conditions do not depend on $p$, since $\mathfrak h$ and $A_{\mathcal P}$ are invariant, the other lists are from disjoint banks and $p>q_1$, and the unit mask becomes $(m,N)=1$. For $p$ in a dyad $[P,2P]$, $e^{L^{0.245}}/2\le P\le e^{L^{0.249}}$, the scale $T=Y_*/(dP)$ has $T/Q=\Haux/(dPq_0)$ larger than every power of $L$, and Mellin separation writes $\mathcal F_\chi$ through integrals of logarithmic $L^1$ mass of \[ \frac{\chi(d)}{dV_g}\Bigl(\frac1P\sum_{p\in\mathcal P_g\cap[P,2P]}(\chi\psi)(p)p^{it}w\Bigl(\frac pP\Bigr)\Bigr)\Bigl(\frac1T\sum_{m\asymp T} c_m(\chi\psi)(m)m^{is}\Bigr),\qquad\sum|c_m|^2\ll TL^C, \] with exponents depending on $m,k,j,C$ but not on $\Mpad$. By \eqref{eq:A-energy} the second factor and $\mathcal G_\chi$ have character mean squares $\ll L^C$ (as $T,Y_*\gg Q$), so Cauchy's inequality lets the supremum of the prime factor be taken outside, and by Lemma~\ref{lem:A-short} it is $\ll L^{-A'}$ whenever $\chi\psi$ is non-principal modulo $Q(q_1/d)$. Strips and Mellin tails are bounded at each height by \eqref{eq:A-energy}, with normalised mass $O(L^{-B_1}+1/P)$, before the sum over $\chi$. Since $(Q,q_1/d)=1$, $\chi\psi$ is principal only if $\chi$ and $\psi$ both are: one exception per stratum, treated by exact centring. Remove the part of the unit mask from primes $p\mid N$, $p>y$, at cost $\ll L^Ce^{-cL^{0.4}}$ (H\"older, fourth moments, $\sum_{p\mid N,\,p>y}1/p\ll L/y$). What remains depends on $u$ only through the $S$-record $A=u_S$, and for $u=Av$, $(v,S)=1$, $A_{\mathcal P}(Av)=\tau_k(A_{S\setminus\mathcal P})\{\tau_k(v)-M_k(v)/V_y\}$, with record coefficient $\ll L^C\tau_k(A)$. \cite[Lemma~5.2]{Walsh} with $R=Y_*=N^{1+o(1)}$, $q=1$, $j=K=k$, $b_A=1$ (absolute values in its (5.4); fixed compact interior support, log-power derivatives, heights $\le L^D$) gives $|\mathcal F_\chi|\ll L^{C'}e^{-cL^{1/10}}$, and the target is $O(L^C)$. \end{proof} \begin{proof}[Proof of Proposition~\ref{prop:A-G2}] By Proposition~\ref{prop:A-char} every comparison in \eqref{eq:A-G24} is smaller than every power of $L$; with accuracy above $C_1$ in \eqref{eq:A-G23}, $\Sigma_0\ll L^{-A}$, which is \eqref{eq:A-G2} as $\Psi(u/N)/u=\Phi(u/N)/N$. The parameters are chosen in this order: the target graph accuracy from the exponents of Lemma~\ref{lem:A-lists}; the ideal accuracy; the probes $m$ and coefficient exponents; then $\Mpad$, large for the rare transfers. The accuracy in Proposition~\ref{prop:A-char} comes after the coefficient exponent. No estimate whose exponent grows with $\Mpad$ feeds back into its choice; exponentially small errors may have constants depending on $\Mpad$. \end{proof} \subsection{Proof of Theorem~A for even \texorpdfstring{$N$}{N}}\label{ssec:A-assembly} We use the finite-convolution and Boolean identities of \cite[\S\S3, 5--6]{HLWW} with Lemma~\ref{lem:A-env}; no other shifted-convolution estimate enters. Let $N$ be even, fix $\Phi\ge0$ in $C_c^\infty((0,1))$ and one mark system, and write $W=W_{1/(2k)}$. \emph{Steps 1--2: sieve, and primes to the rough model.} Fix a large even $s$ and $\gamma=c_0/(8s+8)$. Lemma~\ref{lem:A-small}(ii) controls the centred sum over $N^\gamma$-rough integers at the prime scale; the complement is a finite convolution expansion with between $2$ and $1/\gamma$ prime factors $>N^\gamma$, repeated factors contributing $N^{1-\gamma+o(1)}$. With $a(m)=\one_{P^-(m)>Z}/(V(Z)\log m)$, $m>N^\gamma$, telescope one prime coefficient at a time on each dyadic box: each difference is a sum \eqref{eq:A-G1}, with the other variables as $\beta$ (truncated to $|\beta|\le L^C$ by Lemma~\ref{lem:A-moments}(i) and H\"older) and the test of \eqref{eq:A-invtest}; apply Proposition~\ref{prop:A-G1} at the box's $\delta$ and sum over the polynomially many boxes. \emph{Step 3: invariance.} With $\mathcal C$ the union of the bank families of \S\ref{ssec:A-G2}, replace $a$ by $\widetilde a(m)=\one_{P^-(m)>Z}\one_{m_{\mathcal C'}>N^\gamma}/(V(Z)\log m_{\mathcal C'})$, invariant under $\mathcal C$. Removing $m_{\mathcal C}$ changes the logarithm by $O(\sqrt L)$ outside small-record tails, a relative change $O(L^{-1/2})$, controlled by Lemma~\ref{lem:A-env}(iii) over $O(L^{j-1})$ product boxes; for $j\ge2$ the threshold crossing confines one logarithmic coordinate to width $O(\sqrt L)$, so $O(L^{j-3/2})$ boxes give $O(C_k(N)NL^{k-5/2})$. This is the reflected form of \cite[\S5.2]{HLWW}. \emph{Step 4: the marked centred estimate.} By Lemma~\ref{lem:A-env}(ii) restrict to pairs in which enough banks contain exactly one prime at both endpoints: at $p\nmid N$ the pair law is $\mu_{k,j}$, each bank succeeds with probability bounded below, independently, and Chernoff bounds give $O(C_k(N)NL^{k-2-\eta'})$, $\eta'>0$ fixed. Expand by the Boolean identity \cite[(5.18)]{HLWW}, of mass $3^{O(\log L)}=L^{O(1)}$. After removing selected squares, with $r$ selected banks and $\mathfrak t(v)=\widetilde a^{*j}(v_{\mathcal P'})$ (invariant, zero unless $P^-(v)>Z$, $|\mathfrak t(v)|\le(\gamma LV(Z))^{-j}\tau_j(v_{\mathcal P'})$), \cite[(5.19)]{HLWW} gives on the selected single-prime records \[ \widetilde a^{*j}(v)=j^r\mathfrak t(v),\qquad\xi_k(u)=k^rA_{\mathcal P}(u),\qquad\prod_gI_g=\Bigl(\prod_gV_g^2\Bigr)\Omega_{\mathcal P}(u) \Omega_{\mathcal P}(v); \] each selected prime may go to any of the $j$ ordered factors, all $j^r$ assignments having the same weight by invariance (a stripped convolution, not a claim that the original one is invariant). The scalar $(kj)^r\prod_gV_g^2$ is $L^{O(1)}$; absorb small-record factors into $\mathfrak h$ and choose the accuracy of Proposition~\ref{prop:A-G2} after this exponent and the Boolean mass. Restoring the square terms by Lemma~\ref{lem:A-moments}(i), H\"older and $\sum_{p\in\mathcal P}p^{-2}\ll e^{-L^{0.245}}$, we get \begin{equation}\label{eq:A-F1} \limsup_{N\to\infty,\ 2\mid N}\frac{|\sum_{p1$ included; for $U_21$ are units modulo $N$, so that $mn\ne N$ and $rs\ne N$. The kernels, the signed-square identity and the pad-stripping bound (which needs only $(\ell,N)=1$) are unchanged, so \eqref{eq:A-G15} holds. In Proposition~\ref{prop:A-maj}, \eqref{eq:A-coset} and $\varphi(Nq_0)=q_0\varphi(N)$ hold for every $N$; if $q$ is even and $N$ odd, the $2$-part of $q$ belongs to $q_1$; all of $m,n,r,s,a,b$ are odd, so the $q_1$ expansion is on units; small characters modulo powers of $2$ are allowed in Lemmas~\ref{lem:A-short} and~\ref{lem:A-pmr}. So Proposition~\ref{prop:A-G1} holds for odd $N$, with the same dependence of $K$, and \eqref{eq:A-invtest} is unchanged. Proposition~\ref{prop:A-G2} was proved for every $N\ge3$. \emph{Local factors and assembly.} Lemmas~\ref{lem:A-local}, \ref{lem:A-model} and~\ref{lem:A-small} hold for either parity (their residue is $N\bmod d$, their unit condition $p\mid N$, their multiplicities bounded in the smooth record), and \eqref{eq:A-D52} holds with $\limsup$ over odd $N$. In Lemma~\ref{lem:A-env} check $p=2$: for odd $N$ a rough or odd-prime target $N-u$ forces $u$ even, and \[ \int_{\mathbb Z_2}\tau_k(2^{v_2(u)})\one_{2\nmid N-u}\,du=\frac12\sum_{a\ge1}\binom{k+a-1}a2^{-a}=2^{k-1}-\frac12, \] which times $2^{2-k}$ is $g_k(2)=2-2^{1-k}$, the generic factor of \eqref{eq:A-C}; for even $N$ the integral is $1/2$ and the factor $2^{1-k}$. In a rough pair the second endpoint is odd, so $\tau_j$ contributes $1$ there, and the record banks omit $2$. Henriot's sieve product runs over $p>\deg=2$ (\cite[p.~377]{Henriot}: $\prod_{g\sqrt N$, $1\le2\log p/L$ and Lemma~\ref{lem:A-env}(iv) give $O_k(\eta_1C_k(N)NL^{k-2})+N^{1/2+\epsilon}$. Let $N\to\infty$, then $\eta_1\to0$. \end{proof}