\documentclass[reqno,12pt]{amsart} \usepackage[margin=1.1in, footskip=1cm]{geometry} \usepackage{amsmath, amsthm, amssymb, booktabs} \usepackage{mathrsfs} \usepackage[usenames,dvipsnames]{color} \pdfpagewidth=\paperwidth \pdfpageheight=\paperheight \newtheorem{maintheorem}{Theorem} \newtheorem{theorem}{Theorem}[section] \newtheorem{lemma}[theorem]{Lemma} \newtheorem{corollary}[theorem]{Corollary} \newtheorem{conjecture}[theorem]{Conjecture} \newtheorem{hypothesis}[theorem]{Hypothesis} \theoremstyle{definition} \newtheorem{definition}[theorem]{Definition} \newtheorem{example}[theorem]{Example} \newtheorem{xca}[theorem]{Exercise} \theoremstyle{remark} \newtheorem{remark}[theorem]{Remark} \numberwithin{equation}{section} \newcommand{\abs}[1]{\lvert#1\rvert} \newcommand{\mmod}[1]{\,\,({\rm{mod}}\,\,#1)} \newcommand{\blankbox}[2]{% \parbox{\columnwidth}{\centering \setlength{\fboxsep}{0pt}% \fbox{\raisebox{0pt}[#2]{\hspace{#1}}}% }% } \def\bfa{{\mathbf a}} \def\bfb{{\mathbf b}} \def\bfc{{\mathbf c}} \def\bfd{{\mathbf d}} \def\bfe{{\mathbf e}} \def\bff{{\mathbf f}} \def\bfg{{\mathbf g}} \def\bfh{{\mathbf h}} \def\bfi{{\mathbf i}} \def\bfj{{\mathbf j}} \def\bfm{{\mathbf m}} \def\bfn{{\mathbf n}} \def\bfp{{\mathbf p}} \def\bfq{{\mathbf q}} \def\bft{{\mathbf t}} \def\bfu{{\mathbf u}} \def\bfv{{\mathbf v}} \def\bfw{{\mathbf w}} \def\bfx{{\mathbf x}} \def\bfy{{\mathbf y}} \def\bfz{{\mathbf z}} \def\calA{{\mathscr A}} \def\calAbar{{\overline \calA}} \def\calAtil{{\widetilde \calA}} \def\calB{{\mathscr B}} \def\calBtil{{\widetilde \calB}} \def\calBhat{{\widehat \calB}} \def\calC{{\mathscr C}} \def\calCbar{{\overline \calC}} \def\calCtil{{\widetilde \calC}} \def\calD{{\mathscr D}} \def\calE{{\mathscr E}} \def\calF{{\mathscr F}} \def\cG{{\mathscr G}} \def\cH{{\mathscr H}} \def\calI{{\mathscr I}} \def\calJ{{\mathscr J}} \def\calL{{\mathscr L}} \def\calK{{\mathscr K}} \def\Ktil{{\widetilde K}} \def\calM{{\mathscr M}} \def\calN{{\mathscr N}} \def\calO{{\mathscr O}} \def\calP{{\mathscr P}} \def\calQ{{\mathscr Q}} \def\calR{{\mathscr R}} \def\calRbar{{\overline \calR}} \def\calS{{\mathscr S}} \def\calT{{\mathscr T}} \def\calU{{\mathscr U}} \def\calV{{\mathscr V}} \def\calX{{\mathscr X}} \def\calZ{{\mathscr Z}} \def\setmin{{\setminus\!\,}} \def\tx{\tilde{x}}\def\ty{\tilde{y}} \def\tz{\tilde{z}}\def\tw{\tilde{w}} \def\tbz{\tilde{\z}}\def\tbw{\tilde{\w}} \def\tS{\tilde{S}}\def\tT{\tilde{T}} \def\tq{\tilde{q}}\def\tp{\tilde{p}} \def\util{\tilde{u}}\def\tv{\tilde{v}} \def\tM{\tilde{M}}\def\tH{\tilde{H}} \def\tC{\tilde{C}}\def\tQ{\tilde{Q}} \def\tg{\tilde{g}}\def\th{\tilde{h}} \def\dtil{\widetilde{d}}\def\te{\tilde{e}} \def\tc{\tilde{c}}\def\tb{\tilde{b}} \def\tF{\tilde{F}}\def\ftil{\widetilde{f}} \def\Gtil{\widetilde G}\def\Itil{\widetilde I}\def\Ktil{\widetilde K} \def\ctA{\tilde{{\cal A}}}\def\ctB{\tilde{{\cal B}}} \def\dbC{{\mathbb C}}\def\dbF{{\mathbb F}}\def\dbN{{\mathbb N}}\def\dbP{{\mathbb P}} \def\dbR{{\mathbb R}}\def\dbT{{\mathbb T}} \def\dbZ{{\mathbb Z}}\def\dbQ{{\mathbb Q}} \def\gra{{\mathfrak a}}\def\grA{{\mathfrak A}}\def\bfgra{{\boldsymbol \gra}} \def\grb{{\mathfrak b}}\def\grB{{\mathfrak B}} \def\grc{{\mathfrak c}}\def\grC{{\mathfrak C}} \def\grd{{\mathfrak d}}\def\grD{{\mathfrak D}} \def\gre{{\mathfrak e}}\def\grE{{\mathfrak E}} \def\grf{{\mathfrak f}}\def\grF{{\mathfrak F}} \def\grG{{\mathfrak G}} \def\grH{{\mathfrak H}} \def\grJ{{\mathfrak J}} \def\grl{{\mathfrak l}}\def\grL{{\mathfrak L}} \def\grm{{\mathfrak m}}\def\grM{{\mathfrak M}}\def\grN{{\mathfrak N}} \def\grn{{\mathfrak n}}\def\grS{{\mathfrak S}}\def\grP{{\mathfrak P}} \def\grW{{\mathfrak W}}\def\grB{{\mathfrak B}}\def\grC{{\mathfrak C}} \def\grK{{\mathfrak K}}\def\grL{{\mathfrak L}}\def\grp{{\mathfrak p}} \def\grs{{\mathfrak s}}\def\grT{{\mathfrak T}} \def\grx{{\mathfrak x}} \def\grX{{\mathfrak X}} \def\gru{{\mathfrak u}}\def\grU{{\mathfrak U}} \def\grv{{\mathfrak v}}\def\grV{{\mathfrak V}} \def\grw{{\mathfrak w}}\def\grW{{\mathfrak W}} \def\alp{{\alpha}} \def\bfalp{{\boldsymbol \alpha}} \def\bet{{\beta}} \def\bfbet{{\boldsymbol \beta}} \def\gam{{\gamma}} \def\Gam{{\Gamma}} \def\del{{\delta}} \def\Del{{\Delta}} \def\zet{{\zeta}} \def\bfzet{{\boldsymbol \zeta}} \def\zetbar{{\overline \zet}} \def\bfeta{{\boldsymbol \eta}} \def\Eta{{\mathrm H}} \def\tet{{\theta}} \def\bftet{{\boldsymbol \theta}} \def\Tet{{\Theta}} \def\kap{{\kappa}} \def\lam{{\lambda}} \def\Lam{{\Lambda}} \def\Lamtil{{\widetilde \Lambda}} \def\bfnu{{\boldsymbol \nu}} \def\bfxi{{\boldsymbol \xi}} \def\Mu{{\mathrm M}} \def\Nu{{\mathrm N}} \def\sig{{\sigma}} \def\Sig{{\Sigma}} \def\bfsig{{\boldsymbol \sig}} \def\bftau{{\boldsymbol \tau}} \def\Ups{{\Upsilon}} \def\Upshat{{\widehat \Ups}} \def\bfpsi{{\boldsymbol \psi}} \def\ome{{\omega}} \def\Ome{{\Omega}} \def\bfome{{\boldsymbol \ome}} \def\d{{\partial}} \def\eps{\varepsilon} \def\implies{\Rightarrow} \def\l{\ell} \def\le{\leqslant} \def\ge{\geqslant} \def\pleq{\preccurlyeq} \def\ple{\prec} \def\cl{\mathrm{cl}} \def\cupp{\mathop{\cup}} \def\d{{\,{\rm d}}} \def\mdiv{{\,|\,}} %%%% THE SWITCH %%% \def\kp{\kappa} %%% w_k \def\ww{t} %%% w where in conflict with w_k \def\llbracket{\lbrack\;\!\!\lbrack} \def\rrbracket{\rbrack\;\!\!\rbrack} \makeatletter \@namedef{subjclassname@2020}{\textup{2020} Mathematics Subject Classification} \makeatother %%%% ADDITION TO THE STYLE FILE: the one environment used in this paper that is not declared above %%% \theoremstyle{plain} \newtheorem{proposition}[theorem]{Proposition} \begin{document} \relpenalty=10000 \binoppenalty=10000 \title[Explicit linear bounds in Waring's problem]{Explicit linear bounds in Waring's problem} \author[T. D. Wooley]{Trevor D. Wooley} \address{Dept.~of Mathematics, Purdue University, 150 N. University Street, West Lafayette, IN 47907-2067, USA} \email{twooley@purdue.edu} \subjclass[2020]{11P05, 11P55, 11L07, 11L15, 11J54} \keywords{Waring's problem, Hardy-Littlewood method, smooth Weyl sums, exponential sums, fractional parts} \date{} \begin{abstract} Let $G(k)$ denote the least number $s$ such that every sufficiently large natural number is the sum of at most $s$ positive integral $k$-th powers. Chow and Dietmann have recently shown that $G(k)\ll k$. We make their method numerically efficient, and prove that $G(k)\le C_0\,k+O(\sqrt k)$, where $C_0=6.3895\ldots$ is given by an explicit series; more precisely, $G(k)0$. That theorem shows in addition that, when $k$ is a power of $2$, fewer than $4k$ $k$-th powers suffice for almost all integers in those residue classes modulo $4k$ which permit this; for instance, almost all natural numbers $n\equiv j\pmod{256}$ with $1\le j\le229$ are sums of $229$ sixty-fourth powers. \emph{Mean values.} All these results rest on mean value estimates for an exponential sum over the $k$-th powers of the elements of a set of natural numbers of the following kind. Let $J$ be a natural number and $\omega$ a positive real number. For large real numbers $P$ put $R:=P^{1/(J+1)}$ and $H:=\lfloor\omega\log R/\log2\rfloor$, and let \begin{equation}\label{eq:Cdef} \mathcal{C}(P):=\bigl\{mp_1\cdots p_J\le P:\ m\in\mathbb{N},\ p_j\text{ prime},\ RR^J=P/R$, one has $m0$, there are infinitely many natural numbers $n$ with \[ \|\alpha n^k\|\le n^{\varepsilon-1/(9.028\,k)} , \] improving a bound of the same shape that is due to Heath-Brown \cite{HB1988}. Thus the exponent in this unlocalised bound is of order $1/k$, whereas the exponents in the localised bounds are of order $1/(k\log k)$ at best. We show that there is a localised bound with an exponent of order $1/k$. \begin{theorem}\label{thm:frac} Let $k\ge37$, and let $\alpha$ be a real number. Then, whenever $N$ is sufficiently large in terms of $k$, \[ \min_{1\le n\le N}\|\alpha n^k\|X$ & \raggedright $X^{-10^{-3}/\theta^2}$ for all $U\le\theta$, from a Weyl-type bound on each residue class & \raggedright $X^{-\varsigma(U)}$ with $\varsigma(U)\asymp U^{-2}$: van der Corput differencing adapted to the modulus for small $U$, a mean value over residue classes for large $U$ (\S\ref{s:exp})\tabularnewline\addlinespace[1.5pt] \raggedright loss in one step & \raggedright $W^3$ & \raggedright $W^3/V$ when the shorter sums are of relative size $1/V$; in effect $W^2$ (\S\ref{s:iter})\tabularnewline\addlinespace[1.5pt] \raggedright step size & \raggedright $\theta\le3\log k$, tied to $z$ by $\theta\asymp z^{-1/2}$ & \raggedright $\theta\le\Theta$ with $\Theta\asymp k^{1/2}$; the optimal $\theta=\theta(z)$ (\S\ref{s:pot})\tabularnewline\addlinespace[1.5pt] \raggedright large $W$ & \raggedright trivial bound for $z\ge2.5\cdot10^{-7}$ & \raggedright mean values over smooth numbers for $z\ge\frac1{10}$ (\S\ref{s:apriori})\tabularnewline\addlinespace[1.5pt] \raggedright minor arcs and pruning & \raggedright $2k$ auxiliary smooth Weyl sums & \raggedright no auxiliary sums: estimates for $F$ on arcs of a given height (\S\ref{s:circle})\tabularnewline\addlinespace[1.5pt] \raggedright major arcs & \raggedright theory of smooth Weyl sums & \raggedright classical, with the density of the set as a factor (Lemma~\ref{lem:Fmajor})\tabularnewline\addlinespace[1.5pt] \midrule \raggedright constant & \raggedright $12\,000\,005$ & \raggedright $6.3895$; $6.2821$ in Appendix~\ref{s:appendix}\tabularnewline \bottomrule \end{tabular} \end{table} \subsection{The method}\label{ss:method} We describe the argument of \cite{CD2026} and the points at which we depart from it. Let $N$ be large and $P =N^{1/k}$. In \cite{CD2026} one works with a set of integers $n=p_1\cdots p_l\,u\le P$, in which the $p_i$ are primes from $l$ disjoint intervals of increasing size, one from each, and $u$ is a smooth number. We use the integers \begin{equation}\label{eq:vars} n=m\,p_1\cdots p_J\le P,\qquad R0$. Let $F(\alpha)$ be the exponential sum over the $k$-th powers of these integers. Grouping the terms according to a divisor $d$ of $p_1\cdots p_J$ with a given number $i$ of prime factors gives \begin{equation}\label{eq:Fm} \binom Ji\,F(\alpha)=\sum_dF_d(d^k\alpha), \end{equation} where $F_d$ is a sum of the same kind of length $X/d$, with $X=P$, in which $J-i$ primes remain and the primes dividing $d$ are excluded. If $|F(\alpha)|\ge X/W$, then $|F_d(d^k\alpha)|$ is large for many $d$. The central observation of \cite{CD2026} is a large sieve inequality on the fibres of the map $\alpha\mapsto d^k\alpha$ of $\mathbb{T}=\mathbb{R}/\mathbb{Z}$: for a given $\beta$, the number of $\alpha$ with $d^k\alpha=\beta$ at which an exponential sum $\sum_{n\le X}c_ne( \alpha n^k)$ with bounded coefficients exceeds $X/W$ is $O(W^2)$, provided that the complete sums $\sum_{n\le X,\,(n,d)=1}e(an^k/q)$ to moduli $q\mid d^k$ with $q>X$ are smaller than $X/W^2$; the proof is in the manner of Hal\'asz and Montgomery's treatment of the large values of Dirichlet polynomials (see \S\ref{s:fibre}). This inequality converts a bound for the measure of the set where $F_d$ is large into a bound for the measure of the set where $F$ is large, at the cost of a power of $W$, while the length of the sum is reduced from $X$ to $X/d$. Iterating one obtains an essentially optimal estimate for $\int_{\mathbb{T}}|F|^r\,\mathrm{d}\alpha$ with $r \ll k$, and in \cite{CD2026} the circle method, with $2k$ further smooth variables to deal with the minor and major arcs, completes the proof. The set \eqref{eq:vars} has less structure than that of \cite{CD2026}: all primes come from one interval, the size of a divisor $d$ is governed by the number of its prime factors alone, and the complementary factor $m$ is not required to be smooth. The price is that the primes have to be distinct, which is accounted for by the excluded primes in the sums $F_d$, and that every integer occurs $\binom Ji$ times in \eqref{eq:Fm}; neither causes any difficulty. When $\zeta=2$, the density of the set \eqref{eq:vars} is of order $(\log P)^{-J}$. This loss is recovered when $(R,\zeta R]$ is the union of the dyadic intervals $(2^hR,2^{h+1}R]$ with $0\le h0$. In (i)--(iii), $\varepsilon$ denotes a positive exponent that can be made as small as we please by the choice of the parameters, in particular by taking $J$ large. \begin{enumerate} \item[\textup{(i)}] \emph{Mean values.} One has $\int|F|^r\,\mathrm{d}\alpha\ll P^{r-k+\varepsilon}Q^{2b/k}$, the integral being over the union of the sets $\mathfrak{N}(Q')$ with $Q'\le Q$ (Corollary~\ref{cor:arcmoment}). This follows from \eqref{eq:Fm} with $d\approx P\,Q^{-2/k}$: the substitution $\beta=d^k\alpha$ maps these arcs to the corresponding ones for sums of length $P/d$, on which the trivial extension to $\mathbb{T}$ loses little. \item[\textup{(ii)}] \emph{A bound of Weyl type.} For $Q\ge P^{1/4}$ and $\alpha\in\mathfrak{N}(Q)$ one has $F(\alpha)\ll P^{1+\varepsilon}Q^{-2\tau_k/k}$, where $\tau_k:=1/(9.027901\,k)$; see Lemma~\ref{lem:height}. This rests on a bilinear argument of Wooley \cite[Lemma~3.1]{Woo1995}, which applies to any bilinear sum once mean values for the two sets of variables are known; for $F$ these are inherited from smooth numbers. \item[\textup{(iii)}] \emph{Small heights.} For $Q\le P^{1/4}$ and $\alpha\in\mathfrak{N}(Q)$ one has $F(\alpha)\ll P^{1+\varepsilon}Q^{-1/(2k)}$; see Lemma~\ref{lem:BL}. Here the sum over one of two factors of size $P^{1/2}$ is completed to a classical Weyl sum. \item[\textup{(iv)}] \emph{Major arcs.} For $q\le R^{1/4}$ and $|\beta|\le R^{1/4}P^{-k}$ one has \[ F(a/q+\beta)=\Pi\,q^{-1}S(q,a)v(\beta)+O(PR^{-1/2}), \] where $q^{-1}S(q,a)v(\beta)$ is the classical approximation to a Weyl sum of length $P$ and $\Pi$ is the density of the set \eqref{eq:vars}; see Lemma~\ref{lem:Fmajor}. This rests on the unrestricted factor $m$ alone. \end{enumerate} For smooth Weyl sums the estimates corresponding to (i) and (ii) are due to Br\"udern and Wooley \cite[\S\S4 and~5]{BW2023}, and the exponent $ \tau_k$ is that of \cite[Lemma~7.1]{BW2023}. With (i)--(iv) the circle method can be carried out with $s=r+t$ copies of $F$ as soon as $t \tau_k>b$, and both $t$ and the excess of $r$ over $C_0k$ turn out to be $O(\sqrt k)$. It gives an asymptotic formula, with a power saving, for the number of representations by $k$-th powers of the integers \eqref{eq:vars}; see \eqref{eq:asymp}. \begin{table}[tp] \small \begin{center} \textsc{Principal notation}\label{tab:notation}\\[4pt] \begin{tabular}{@{}lp{0.6\textwidth}l@{}} \toprule symbol & meaning & defined in\\ \midrule $G(k)$, $G^+(k)$ & the least $s$ for all large $n$, and for almost all $n$ & \S\ref{ss:results}\\ $\Lambda$, $C_0$ & $\Lambda=1.0961\ldots$ and $C_0=2+\log9+2\Lambda=6.3895\ldots$ & \eqref{eq:Lambda}, \eqref{eq:C0}\\ $\varsigma$; $\sigma$, $\theta^*$, $I$, $T$ & the saving in complete sums; functions derived from it & Def.~\ref{def:saving}\\ $\kappa$, $\varpi$, $\eta_k$ & rounding losses; admissibility of the largest step $\Theta$ & Def.~\ref{def:round}\\ $R_k$, $C(h)$, $h_k$ & further terms of the bound of Theorem~\ref{thm:explicit} & \S\ref{s:explicit}\\ $\tau_k$, $y_k$, $W_k$ & the Weyl exponent $1/(9.027901\,k)$, and related terms & \eqref{eq:W}\\ $B(k,\Theta)$, $\Theta^\sharp(k)$, $a_k$ & $G(k)\le\lfloor kB\rfloor$; the choice of $\Theta$; the root of $a(a+5)=k$ & \S\ref{ss:moderate}\\ $J$, $\eta$, $R$, $\omega$, $H$, $\zeta$ & parameters: $\eta=1/(J+1)$, $R=P^\eta$, $\zeta=2^H\le R^\omega$ & \S\ref{ss:params}\\ $\mathcal{P}$, $\mathcal{D}_j^{\mathfrak{e}}$ & the primes in $(R,\zeta R]$; products of $j$ of them, not in $\mathfrak{e}$ & \S\ref{ss:params}\\ $\mathcal{C}_j^{\mathfrak{e}}(X)$, $F_j^{\mathfrak{e}}(\alpha;X)$ & integers $dm\le X$ with $d\in\mathcal{D}_j^{\mathfrak{e}}$, $m\le R$; their sum & \eqref{eq:FS}\\ $\mathcal{C}$, $F$; $\mathcal{C}(P)$ & $\mathcal{C}_J(P)$ and $F_J(\,\cdot\,;P)$; the case of the largest $H$ & \S\ref{ss:params}, \eqref{eq:Cdef}\\ $D_j(X,W)$ & $X^k$ times the measure of the set where $|F_j^{\mathfrak{e}}|\ge X/W$ & \S\ref{ss:params}\\ $\Pi$ & the density of $\mathcal{C}$ & \S\ref{ss:density}\\ $\mathcal{S}$, $\vartheta$, $U$ & complete sum to a modulus $q=X^U\mid m^k$, where $m=X^\vartheta$ & \S\ref{s:exp}\\ $\mathfrak{d}(t)$, $\Psi$ & exponents for smooth Weyl sums; $\Psi(z)=2+\log((1-z)/z)$ & \S\ref{s:apriori}\\ $\mathcal{G}$, $\mathfrak{g}$, $\Phi$ & the potential; $\mathfrak{g}(z)=-z\mathcal{G}'(z)$; $\Phi(x,\lambda)\approx k\lambda\,\mathcal{G}(\lambda/x)$ & \S\ref{ss:potdef}\\ $u_\Theta$, $c_\Theta$ & $\mathcal{G}(z)=\mathcal{G}(u_\Theta)+c_\Theta\log(u_\Theta/z)$ for $00$, this is said explicitly. The dependence of implied constants is described at the end of \S\ref{s:setup}. The principal notation is collected in the table on page~\pageref{tab:notation}. Work on this paper was conducted while the author was supported by NSF grant \mbox{DMS-2502625}. \section{The explicit bound}\label{s:explicit} \subsection{Statement} The bound involves a function $\varsigma$ which measures the saving in certain complete exponential sums, and some quantities derived from it. \begin{definition}[saving function]\label{def:saving} For $U\ge1$ let \[ \varsigma(U):=\begin{cases} (2-U)/2,& 1\le U\le\frac32,\\ (3-U)/6,& \frac32\le U\le\frac94,\\ (4-U)/14,& \frac94\le U\le\frac{25}8,\\ (5-U)/30,& \frac{25}8\le U\le\frac{50}{13},\\ U/100,& \frac{50}{13}\le U\le 4,\\ (5-U)/25,& 4\le U\le\frac{160}{37},\\ (6-U)/62,& \frac{160}{37}\le U\le\frac{540}{121},\\ U/180,& \frac{540}{121}\le U\le 5,\\ \max\Bigl\{\dfrac{D+1-U}{(D+1)^2},\ \dfrac{U}{(D+1)(D+2)^2}\Bigr\},& U\ge5 , \end{cases} \] where in the last line $D\ge5$ is an integer with $D\le U\le D+1$. Further let \[ \sigma(\theta):=\min_{1\le U\le\theta}\varsigma(U)\quad(\theta\ge1),\qquad \theta^*(s):=\max\{\theta\ge1:\ \sigma( \theta)\ge s\}\quad(01$, then $\sum_{n\le X,\,(n,m)=1}e(an^k/q)\ll X^{1-\varsigma(U)+\varepsilon}$ whenever $(a,q)=1$, up to a small loss depending on the size of $m$. Thus $X^{-\sigma(\theta)}$ is the saving that is available for all such moduli when $m\le X^{\theta/k}$, and $\theta^*(s)$ is the largest $\theta$ for which a saving $X^{-s}$ is guaranteed. \begin{definition}[admissible parameters]\label{def:round} For $\theta\ge1$ let \[ \kappa(\theta):=\begin{cases}4,&\theta\le\frac94,\\[1pt] 8,&\frac94<\theta\le\frac{25}8,\\[1pt] 13,&\frac{25}8<\theta \le\frac{160}{37},\\[1pt] \max\{21,\theta+5\},&\theta>\frac{160}{37},\end{cases} \qquad \varpi(\theta):=\begin{cases}\frac1{16},&\theta\le\frac{25}8,\\[1pt] \frac1{26},&\frac{25}8<\theta\le \frac{160}{37},\\[1pt] \frac3{121},&\theta>\frac{160}{37},\end{cases} \] and $\eta_k(\theta):=\theta\,\kappa(\theta)/k$. A real number $\Theta$ is called \emph{admissible for $k$} if \[ \Theta\ge\tfrac94,\qquad \Theta\le\varpi(\Theta)\,k,\qquad \Theta(\Theta+5)16$. The number $\Theta$ will be the largest step size used in the iteration, and $\eta_k(\theta)$ bounds the relative loss in the saving $\sigma(\theta)$ that is caused by rounding. The requirement $\Theta\ge\frac94$ is a normalisation which keeps the two regimes of \S\ref{ss:origin} apart (see \eqref{eq:uzc}). Next let \begin{gather*} R_k(\Theta):=\int_{9/5}^{\Theta}\frac{\mathrm{d}\bigl(-\log(1-\eta_k(\theta))\bigr)}{\theta},\\ C(h):=2+2\Lambda+\log\frac{45+6h-h^2}{(1-h)(5-h)}-\frac23\log\frac{15+2h}{15-3h}\qquad(0\le h<1). \end{gather*} The first of these is a Riemann--Stieltjes integral with respect to a nondecreasing function which has jumps at $\frac94$, $\frac{25}8$ and $\frac{160}{37}$; its closed form is given in Lemma~\ref{lem:R}. Note that $C(0)=C_0$. Finally let \begin{equation}\label{eq:W} \tau_k:=\frac1{9.027901\,k},\qquad y_k(\Theta):=\frac{(1-\eta_k(\Theta))\,\sigma(\Theta)}{2\,\tau_k},\qquad W_k(\Theta):=\frac2\Theta\,\log y_k(\Theta). \end{equation} The number $\tau_k$ is the exponent in a bound of Weyl type for the exponential sum $F$ of \S\ref{ss:method} on the extreme minor arcs (Lemmas~\ref{lem:weyl} and~\ref{lem:height}); it is the exponent obtained for smooth Weyl sums by Br\"udern and Wooley \cite[Lemma~7.1]{BW2023}. Note that $W_k(\Theta)$ is negative when $y_k(\Theta)<1$. \begin{theorem}\label{thm:explicit} Let $k\ge37$, let $\Theta$ be admissible for $k$, and put $h_k:=\frac{36}{5(k-1)}$. Then \[ G(k)\le\Bigl\lfloor k\Bigl(C(h_k)-2\,T(\Theta)+2R_k(\Theta)+W_k(\Theta)\Bigr)\Bigr\rfloor+1 . \] Moreover $k\,C(h_k)\le C_0\,k+11$, so that $G(k)\le k\bigl(C_0-2\,T(\Theta)+2R_k(\Theta)+W_k(\Theta)\bigr)+12$. \end{theorem} The three terms depending on $\Theta$ are effects of finite $k$: steps larger than $\Theta$ are not used ($-2T$), moduli have to be rounded ($2R_k$), and the potential of \S\ref{s:pot} is needed down to the level $ \tau_k$, while the first two terms account for it only down to $\frac12(1-\eta_k(\Theta))\sigma(\Theta)=y_k(\Theta)\,\tau_k$ ($W_k$). The term $W_k(\Theta)$ vanishes when $y_k(\Theta) =1$, that is, when the saving available for the largest step is twice the Weyl exponent, and it is near this value of $\Theta$ that the bound is smallest. An admissible $\Theta$ is smaller than $\sqrt k$. For $\Theta=\lambda\sqrt k$ with a fixed $\lambda\in(0,1)$ one has $T(\Theta)\sim2/ \Theta$, $R_k(\Theta)\sim k^{-1/2}\log\frac{1+\lambda}{1-\lambda}$ and $W_k(\Theta)\ll1/ \Theta$, so that all three terms are of order $k^{-1/2}$; this leads to Theorem~\ref{thm:main} (see \S\ref{ss:large}). For $37\le k\le5000$ we evaluate the bound at an explicit $\Theta=\Theta^\sharp(k)$; see \S\ref{ss:moderate}. For the representation of almost all natural numbers half as many $k$-th powers suffice, as far as the congruence conditions permit. Recall the definition of $G^+(k)$ from \S\ref{s:intro}. \begin{theorem}\label{thm:almostexplicit} Let $k\ge37$, let $\Theta$ be admissible for $k$, and let $\ell$ be an integer with \[ \ell>\tfrac12\,k\Bigl(C(h_k)-2\,T(\Theta)+2R_k(\Theta)+W_k(\Theta)\Bigr). \] Then there is a number $\delta>0$ with the following properties. \textup{(i)} Suppose that $k$ is not a power of $2$. Then all natural numbers $n\le N$, with at most $O(N^{1-\delta})$ exceptions, are sums of $\ell$ $k$-th powers of natural numbers. In particular \[ G^+(k)\le\Bigl\lfloor\tfrac12\,k\Bigl(C(h_k)-2\,T(\Theta)+2R_k(\Theta)+W_k(\Theta)\Bigr)\Bigr\rfloor+1 . \] \textup{(ii)} Suppose that $k$ is a power of $2$, and let $j$ be an integer with $1\le j\le\min\{\ell,4k\}$. Then all natural numbers $n\le N$ with $n\equiv j\pmod{4k}$, with at most $O(N^{1-\delta})$ exceptions, are sums of $\ell$ $k$-th powers of natural numbers. In particular $G^+(k)\le\max\{\ell,4k\}$. \end{theorem} The proof is in \S\ref{ss:almost}. For $k=16$ and $k=32$ a result of the same kind as part~(ii) is \cite[Theorem~9.2]{BW2023}. When $k$ is a power of $2$ and $\ell<4k$, the condition $j\le\ell$ in part~(ii) cannot be omitted: an integer $n\equiv j\pmod{4k}$ with $1\le j<4k$ is not the sum of fewer than $j$ $k$-th powers (Lemma~\ref{lem:cong}). The mean value estimate behind Theorems~\ref{thm:explicit} and~\ref{thm:almostexplicit} is of independent interest, and we state it separately. Let $\mathcal{C}$ be the set of the integers \eqref{eq:vars}. It is defined in \S\ref{s:setup}; it depends on $P$, on a natural number $H$ (the interval $(R,\zeta R]$ is the union of $H$ dyadic intervals), and on a number of further parameters, among them the numbers $J$ and $\eta=1/(J+1)$ with $R=P^\eta$. When $H$ is the largest integer that is permitted in \S\ref{s:setup}, $\mathcal{C}$ is the set $\mathcal{C}(P)$ of \eqref{eq:Cdef}. As before, $F(\alpha):=\sum_{n\in\mathcal{C}}e(\alpha n^k)$. For $Q\ge1$ let $\mathfrak{M}(Q;P)$ be the set of all $\alpha\in\mathbb{T}$ for which there are coprime integers $a$ and $q$ with $1\le q\le Q$ and $|q\alpha-a|\le QP^{-k}$, as in \S\ref{ss:arcs}. \begin{theorem}\label{thm:mvexplicit} Let $k\ge37$, let $\Theta$ be admissible for $k$, and let $s_1$ be a real number with \[ s_1>k\Bigl(C(h_k)-2\,T(\Theta)+2R_k(\Theta)+W_k(\Theta)\Bigr). \] Then the parameters of \S\ref{s:setup} other than $P$ and $H$ can be chosen, in terms of $k$, $\Theta$ and $s_1$, in such a way that for a certain number $\nu_1>0$ the following holds for all real $s\ge s_1$, all large $P$ and all $H$ that are permitted in \S\ref{s:setup}. \textup{(i)} One has $\displaystyle\int_{\mathbb{T}}|F(\alpha)|^s\,\mathrm{d}\alpha\asymp(\#\mathcal{C})^s\,P^{-k}$. \textup{(ii)} For $1\le Q\le P^{\nu_1}$ one has \[ \int_{\mathbb{T}\setminus\mathfrak{M}(Q;P)}|F(\alpha)|^s\,\mathrm{d}\alpha\ll(\#\mathcal{C})^s\,P^{-k}\bigl(Q^{-2} +P^{-\nu_1}\bigr). \] \textup{(iii)} The elements of $\mathcal{C}$ are natural numbers $n\le P$ without prime factors exceeding $P^{2\eta}$, and $P(H/\log P)^{J}\ll\#\mathcal{C}\le P$. In particular $\#\mathcal{C}\gg P$ when $H$ is the largest integer that is permitted in \S\ref{s:setup}. The implied constants depend on $k$, $\Theta$, $s_1$, $s$ and the parameters, but not on $H$. \end{theorem} Thus $\int_{\mathbb{T}}|F|^s\,\mathrm{d}\alpha\ll P^{s-k}$ in all cases, and $\int_{\mathbb{T}}|F|^s\,\mathrm{d}\alpha\asymp P^{s-k}$ for the largest $H$. The proof is in \S\ref{ss:mvproof}. For smaller orders $s$, Corollary~\ref{cor:moment} provides bounds of the shape $P^{s-k+\Delta+\varepsilon'}$, in which $\Delta$ is determined by the function $\mathcal{G}$ of \S\ref{s:pot}; such a bound is used in the proof of Theorem~\ref{thm:fracexplicit}. The following corollary makes the condition on $s_1$ explicit; here $\Theta=\Theta^\sharp(k)$ is the number defined in \S\ref{ss:moderate}. \begin{corollary}\label{cor:mvranges} Let $k\ge37$. The conclusions of Theorem~\textup{\ref{thm:mvexplicit}} hold with $\Theta=\Theta^\sharp(k)$ and $s_1=A_1k+A_2\sqrt k$ whenever $k\ge k_1$ and $(k_1,A_1,A_2)$ is one of the columns of the following table. \[ \begin{array}{c|ccccccc} k_1&37&37&212&697&927&1339&70000\\\hline A_1&7.39&C_0&7&C_0&6.5&C_0&C_0\\ A_2&0&10&0&4&0&3&2 \end{array} \] For $k\ge5000$ they hold with $s_1=C_0k+1.572\sqrt k+5\log k+54$. Moreover, for every $\varepsilon_0>0$ there is a number $k_0(\varepsilon_0)$ such that for $k\ge k_0(\varepsilon_0)$ they hold with $\Theta=0.90478\sqrt k$ and $s_1=C_0k+(1.5712+\varepsilon_0)\sqrt k$. \end{corollary} The proof is in \S\ref{ss:large}. For the fractional parts of $\alpha n^k$ the general statement is as follows. Recall that $\|x\|$ denotes the distance from $x$ to the nearest integer, and that $\tau_k=1/(9.027901\,k)$, so that $4.5139505\,k=1/(2\tau_k)$. \begin{theorem}\label{thm:fracexplicit} Let $k\ge37$, let $\Theta$ be admissible for $k$, let $0k\Bigl(C(h_k)-2\,T(\Theta)+2R_k(\Theta)+W_k(\Theta)\Bigr)-\frac{2k}{\Theta}\Bigl(1+\log\frac{9.027901\,\Theta\,b} {2}\Bigr). \] Let $\rho$ be a real number with \[ \rho<\frac{1-b}{2s_0+4.5139505\,k} . \] Then there is a number $N_0$ such that $\min_{1\le n\le N}\|\alpha n^k\|k(2+\log 9+2\Lambda)$. As the sum $F$ can be controlled on all arcs without the help of other generating functions (\S\ref{s:circle}), only $o(k)$ further variables of the same kind are needed for the circle method, and this gives $G(k)\le(C_0+o(1))k$ with $C_0=(2+\log 9)+2\Lambda$. In reality only steps with $\theta\le\Theta$ can be used, for some $\Theta$ which in Theorem~\ref{thm:explicit} must be smaller than $k^{1/2}$ because of the rounding of moduli. Then $-z\mathcal{G}'(z)=2/\Theta$ for small $z$, so that $\mathcal{G}(z)$ grows like $(2/\Theta)\log(1/z)$ and is unbounded. However, on the extreme minor arcs, to which the other arcs are reduced by rescaling, $t$ factors $F$ save a factor $P^{t\tau_k}$, by the bound of Weyl type, and to exploit this one only needs $k\lambda\,\mathcal{G}(\lambda)\le r\lambda+b$ for $0<\lambda\le1$, with some $bP^{1-\tau_k}$ do not occur on the extreme minor arcs, so the potential is needed only for $z\ge\tau_k$. (When $\tau_k$ is larger than $\frac12\sigma(\Theta)$, the bound of Theorem~\ref{thm:explicit} is $k$ times the value at $\tau_k$ of the linear function of $\log z$ that coincides with $\mathcal{G}$ for $z\le\frac12\sigma(\Theta)$; this is larger than $k\,\mathcal{G}(\tau_k)$.) Thus the exponent of the bound of Weyl type enters the number of variables only through the value of $\mathcal{G}$ at that exponent; see \S\ref{ss:decide}. \section{Setup}\label{s:setup} In \cite{CD2026} the variables are products of primes taken from a large number of disjoint intervals of increasing size, one from each, multiplied by a smooth number. We use a set with less structure: the integers $mp_1\cdots p_J\le P$ in which $p_1<\dotsR^J=P/R$. We say that $X$ is \emph{attached to $j$} if \[ \zeta^{\,j-J}R^{\,j+1}\le X\le R^{\,j+1}; \] thus $P$ is attached to $J$. For $W>0$ let \[ D_j(X,W):=\max_{\mathfrak{e}}\,X^k\operatorname{meas}\{\alpha\in\mathbb{T}:\ |F_j^{\mathfrak{e}}(\alpha;X)|\ge X/W\}, \qquad K_0:=2^{J+1}, \] where the maximum is over all finite sets $\mathfrak{e}$ of primes; it exists because $F_j^{\mathfrak{e}}$ depends only on $\mathfrak{e}\cap\mathcal{P}$. The excluded primes are needed because the primes $p_1, \dots,p_J$ are distinct: when a divisor $d$ of $n$ is split off, the cofactor has to avoid the primes dividing $d$. \begin{lemma}\label{lem:setup} Let $0\le j\le J$, let $\mathfrak{e}$ be a finite set of primes, and let $X=P^x$ be attached to $j$. \textup{(a)} One has $(j+\frac78)\eta\le x\le(j+1)\eta$. \textup{(b)} Every $n\in\mathcal{C}_j^{\mathfrak{e}}(X)$ has exactly one representation $n=dm$ with $d\in\mathcal{D}_j^{\mathfrak{e}}$ and $m\le R$. For $d\in\mathcal{D}_j^{\mathfrak{e}}$ one has \[ R^{\,j}\le d\le(\zeta R)^j\qquad\text{and}\qquad\zeta^{-J}R\le\frac Xd\le R . \] Consequently \[ F_j^{\mathfrak{e}}(\alpha;X)=\sum_{d\in\mathcal{D}_j^{\mathfrak{e}}}\ \sum_{m\le X/d}e\bigl(\alpha(dm)^k\bigr),\qquad \mathcal{C}_j^{\mathfrak{e}}(X)\subseteq\mathcal{A}(X,\zeta R),\qquad|F_j^{\mathfrak{e}}(\alpha;X)|\le X, \] and $D_j(X,W)=0$ for $W<1$. \textup{(c)} Let $1\le i\le j$. For $d\in\mathcal{D}_i^{\mathfrak{e}}$ the number $X/d$ is attached to $j-i$, and \[ \binom ji\,F_j^{\mathfrak{e}}(\alpha;X)=\sum_{d\in\mathcal{D}_i^{\mathfrak{e}}}F_{j-i}^{\mathfrak{e}\cup[d]}\bigl(d^k \alpha;X/d\bigr),\qquad\sum_{d\in\mathcal{D}_i^{\mathfrak{e}}}\frac1d\le1 . \] \textup{(d)} Let $0\le i\le j$ and $d\in\mathcal{D}_i^{\mathfrak{e}}$. Then \[ \sum_{\substack{n\in\mathcal{C}_j^{\mathfrak{e}}(X)\\ d\mid n}}e(\alpha n^k)=F_{j-i}^{\mathfrak{e}\cup[d]}\bigl(d^k \alpha;X/d\bigr)\qquad\text{and}\qquad\sum_{\substack{n\in\mathcal{C}_j^{\mathfrak{e}}(X)\\ (n,d)=1}}e(\alpha n^k) =F_{j}^{\mathfrak{e}\cup[d]}(\alpha;X). \] \end{lemma} \begin{proof} (a) This is the definition, since $R=P^\eta$ and $1\le\zeta^{J-j}\le\zeta^J\le R^{1/8}$ by \eqref{eq:ai}. (b) Let $n=dm$ with $d\in\mathcal{D}_j^{\mathfrak{e}}$ and $m\le R$. Every prime factor of $d$ exceeds $R$, and no prime factor of $m$ does. So $d$ is the product of the prime factors of $n$ that exceed $R$, and $m=n/d$. The bounds for $d$ are clear, as $d$ is a product of $j$ primes from $(R,\zeta R]$, and they give $X/d\le R^{j+1}/R^j$ and $X/d\ge\zeta^{j-J}R^{j+1}/(\zeta R)^j$. Hence the condition $m\le R$ in \eqref{eq:FS} follows from $dm\le X$, which gives the formula for $F_j^{\mathfrak{e}}$. The remaining assertions are clear, as $\mathcal{C}_j^{\mathfrak{e}}(X)\subseteq[1,X]$. (c) We have $X/d\le R^{j+1}/R^{i}$ and $X/d\ge\zeta^{j-J}R^{j+1}/( \zeta R)^i$, so that $X/d$ is attached to $j-i$. Let $n=d'm\in\mathcal{C}_j^{\mathfrak{e}}(X)$, with $d'\in\mathcal{D}_j^{\mathfrak{e}}$ and $m\le R$. Exactly $\binom ji$ divisors $d$ of $d'$ belong to $\mathcal{D}_i^{\mathfrak{e}}$, namely the products of $i$ of the $j$ prime factors of $d'$, and for each of them $n/d=(d'/d)\,m$ belongs to $\mathcal{C}_{j-i}^{\mathfrak{e}\cup[d]}(X/d)$. Conversely, if $d\in\mathcal{D}_i^{\mathfrak{e}}$ and $n'=d''m\in\mathcal{C}_{j-i}^{\mathfrak{e}\cup[d]}(X/d)$, with $d''\in\mathcal{D}_{j-i}^{\mathfrak{e}\cup[d]}$ and $m\le R$, then $dd''\in\mathcal{D}_j^{\mathfrak{e}}$, because $d''$ is coprime to $d$, and so $dn'\in\mathcal{C}_j^{\mathfrak{e}}(X)$. Thus every $n\in\mathcal{C}_j^{\mathfrak{e}}(X)$ arises from exactly $\binom ji$ pairs $(d,n')$, which is the identity. Finally $\sum_{d\in\mathcal{D}_i^{\mathfrak{e}}}d^{-1}\le\frac1{i!}\bigl(\sum_{p\in\mathcal{P}}p^{-1}\bigr)^i\le1$ by \eqref{eq:ai}. (d) Let $n=d'm\in\mathcal{C}_j^{\mathfrak{e}}(X)$ be as before. Since $m\le R$ has no prime factor in $\mathcal{P}$, we have $d\mid n$ if and only if $d\mid d'$, and $(n,d)=1$ if and only if $(d',d) =1$. The first condition holds if and only if $n=dn'$ with $n'=(d'/d)\,m\in\mathcal{C}_{j-i}^{\mathfrak{e}\cup[d]}(X/d)$, and the second if and only if $d'\in\mathcal{D}_j^{\mathfrak{e}\cup[d]}$. \end{proof} \emph{Convention.} From now on, implied constants, and the constants $C_1,C_2,\dots$ and $C_*$, may depend on $k$, $\Theta$, $\delta_0$, $\varepsilon_2$, $\gamma$, $\varepsilon$, $J$ and $ \omega$, but never on $P$, on $H$, on $j$ and the excluded primes, or on $X$, $W$ and $\alpha$. In \S\ref{s:exp} the dependence is stated in each lemma. In \S\S\ref{s:exp} and~\ref{s:fibre}, which do not depend on the present section, the letter $m$ denotes a squarefree modulus. Everywhere else $m$ is the unrestricted factor of the integers in $\mathcal{C}_j^{\mathfrak{e}}(X)$, and the moduli to which \S\S\ref{s:exp} and~\ref{s:fibre} are applied are the numbers $d\in\mathcal{D}_i$. \subsection{The density of the set, and unions of dyadic intervals}\label{ss:density} Let \[ \Pi:=\sum_{d\in\mathcal{D}_J}\frac1d . \] By Lemma~\ref{lem:setup}(c), $\Pi\le1$. This number is the density of $\mathcal{C}$ in $[1,P]$, and it is the factor by which the major arc approximation to $F$ differs from that of a classical Weyl sum (Lemma~\ref{lem:Fmajor}). \begin{lemma}\label{lem:density} One has $\#\mathcal{C}=\Pi\,P+O\bigl(PR^{-7/8}\bigr)$, and \[ \frac1{2\,J!}\Bigl(\frac{H}{3\log R}\Bigr)^J\le\Pi\le\frac1{J!}\Bigl(\frac{2H}{\log R}\Bigr)^J . \] \end{lemma} \begin{proof} By Lemma~\ref{lem:setup}(b), \[ \#\mathcal{C}=\sum_{d\in\mathcal{D}_J}\lfloor P/d\rfloor=\Pi\,P+O(\#\mathcal{D}_J), \] and $\#\mathcal{D}_J\le(\zeta R)^J\le PR^{-7/8}$ by \eqref{eq:ai}. Let $S_1:=\sum_{p\in\mathcal{P}}p^{-1}$ and $S_2:=\sum_{p\in\mathcal{P}}p^{-2}\le2/R$. The number $J!\,\Pi$ is the sum of $(p_1\cdots p_J)^{-1}$ over all $J$-tuples of distinct primes from $\mathcal{P}$. The sum over all $J$-tuples is $S_1^J$, and those with $p_a =p_b$ for a given pair $aX$, $U:=\log q/\log X$ (so that $1k$ be prime, $e\ge1$, $2\le d\le k$ and $\ell\in\mathbb{Z}$, and let $f\in \mathbb{Z}[t]$ be a polynomial all of whose coefficients agree modulo $p$ with those of $ct^d$, where $p\nmid c$. Then \[ \Bigl|\sum_{\substack{n\bmod p^e\\ p\nmid n}}e\Bigl(\frac{f(n)+\ell n}{p^e}\Bigr)\Bigr|\le d\,p^{e/2}. \] \end{lemma} \begin{proof} Put $f_\ell:=f+\ell t$. Then $f_\ell'\equiv cd\,t^{d-1}+\ell$ and $f_\ell''\equiv cd(d-1)t^{d-2}\pmod p$, and $p\nmid cd(d-1)$ because $2\le d\le k0$. The hypothesis $U\ge j+2^{-j}$ is equivalent to $2^{j+1}\varrho\le1$, so the numbers $\mu_i:=(1-2^i\varrho)/U$ $(1\le i\le j)$ are positive. Put \[ s_{i,p}:=\max\{1,\lceil\mu_ie_p\rceil\},\qquad A_i:=\prod_{p\mid m}p^{s_{i,p}},\qquad Y_i:=\lfloor X/A_i\rfloor . \] Then $A_i\le q^{\mu_i}m=X^{1-2^i\varrho+\vartheta}\le X^{1-\varrho}$, so that $Y_i\ge1$ and $Y_i\ge\frac12X^{2^i\varrho-\vartheta}$. Every prime dividing $m$ divides every $A_i$; hence a shift $n\mapsto n +yA_i$ preserves the condition $(n,m)=1$. For $0\le i\le j$ and a tuple $\mathbf y=(y_1,\dots,y_i)$ of integers let $\Delta_{\mathbf y}$ be the $i$-fold difference of $an^k/q$ with the steps $y_1A_1,\dots,y_iA_i$, that is, \[ \Delta_{\mathbf y}(n):=\frac aq\sum_{\boldsymbol\epsilon\in\{0,1\}^i}(-1)^{i-\epsilon_1-\dots-\epsilon_i}\bigl(n+ \epsilon_1y_1A_1+\dots+\epsilon_iy_iA_i\bigr)^k, \] let $\mathcal{I}_{\mathbf y}$ be the set of real numbers $n$ such that $n+\epsilon_1y_1A_1+\dots+\epsilon_iy_iA_i\in [1,X]$ for every $\boldsymbol\epsilon\in\{0,1\}^i$, which is an interval contained in $[1,X]$, and put \[ \mathcal{S}_{\mathbf y}:=\sum_{\substack{n\in\mathcal{I}_{\mathbf y}\\(n,m)=1}}e\bigl(\Delta_{\mathbf y}(n)\bigr); \] thus $\mathcal{S}_{\mathbf y}=\mathcal{S}$ when $i=0$. We show by induction on $i$ that \begin{equation}\label{eq:vdc} |\mathcal{S}|^{2^i}\ll X^{2^i}\sum_{l=1}^{i}Y_l^{-2^{i-l}}+\frac{X^{2^i-1}}{Y_1\cdots Y_i} \sum_{\substack{\mathbf y=(y_1,\dots,y_i)\\0<|y_l|0$, \[ \mathcal{S}\ll X^{1+\varepsilon-\varrho'},\qquad \varrho':=\frac{1}{D(D+1)}\min\Bigl\{\frac{U}{D+1}-D\vartheta,\ D \Bigl(1-\frac{U}{D+1}-\vartheta\Bigr)\Bigr\}. \] \end{lemma} \begin{proof} Let $s_p:=\max\{1,\lceil e_p/(D+1)\rceil\}$ and $A:=\prod_{p\mid m}p^{s_p}$, so that $A\le q^{1/(D+1)}mD$, so that \[ e\Bigl(\frac{a(n_0+Ay)^k}{q}\Bigr)=e\Bigl(\sum_{i=0}^{D}\alpha_i(n_0)y^i\Bigr),\qquad \alpha_i(n_0):=\frac aq \binom kiA^in_0^{k-i}. \] For $\boldsymbol\beta\in\mathbb{R}^D$ and $t\in\mathbb{N}$ let $g_t(\boldsymbol\beta):=\sum_{0\le y0$, \[ \mathcal{S}\ll X^{1-(1-\eta_k(\theta))\varsigma(U)+\varepsilon}\le X^{1-(1-\eta_k(\theta))\sigma(\theta)+\varepsilon}. \] \end{lemma} \begin{proof} Here $\vartheta\le\theta/k\le\varpi(\theta)$ and $1\frac94$ and $\theta>\frac{25}8$, when $\kappa(\theta)\ge8$ and $\kappa(\theta)\ge13$ respectively; row~5 only if $\theta>\frac{25}8$; and rows~6 to~9 only if $\theta>\frac{160}{37}$, when $\kappa(\theta)=\max\{21,\theta+5\}$ exceeds $20.2$, $6.8$ and $U+4.2$. In rows~1 and~2 we use $\kappa(\theta)\ge4$. This proves that $\Delta\le\vartheta\,\kappa(\theta)\,\varsigma(U)$ in all cases. \emph{The side conditions.} In Lemma~\ref{lem:vdc}(ii) we need $j\le k-2$, which is clear, and $\varrho\ge\vartheta$. For $j=1$ this holds as $\varrho\ge\frac18$ and $\vartheta\le\frac1{16}$. For $j=2,3,4$ we have $\varrho\ge\frac1{16},\frac1{26},\frac3{121}$, and the range contains a point $U\le\theta$ only if $\theta>\frac94,\frac{25}8,\frac{160}{37}$, in which case $\vartheta\le\varpi(\theta)$ is at most $\frac1{16},\frac1{26},\frac3{121}$ respectively. In Lemma~\ref{lem:mv} the degree is at most $\theta+1\le k-1$, and we need $U/(D+1)+\vartheta<1$. For $D=4$ and $D=5$ in rows~5 and~7 one has $1-\frac{U}{D+1}\ge\frac5{37}>\frac1{26}\ge\vartheta$. In rows~8 and~9, $1-\frac U{D+1}\ge(D+1)v_{D+1}\ge\frac{1}{\theta+5}$ and $1-\frac{U}{D+2}\ge\frac1{D+2}\ge\frac1{\theta+5}$ respectively, while $\vartheta\le\frac\theta k<\frac1{\theta+5}$ because $\theta(\theta+5)\le\Theta(\Theta+5)X$ are small by hypothesis and are estimated individually, as in the classical case. Those with $q\le X$ are not small, but they form a principal submatrix of a circulant matrix, the norm of which can be computed. As in the classical case, the outcome is a bound of the quality of the large sieve for the number of large values, here $O(W^2)$, in a range of $W$ that is limited by the individual estimates. \begin{proposition}\label{prop:fibre} Let $k$, $J$, $X$ and $m$ be as in \S\ref{s:exp}, and let $W\ge1$. Suppose that there are numbers $\delta_F>0$ and $C_F\ge1$ such that \begin{equation}\label{eq:fibhyp} \Bigl|\sum_{\substack{n\le X\\(n,m)=1}}e\Bigl(\frac{an^k}{q}\Bigr)\Bigr|\le C_FX^{1-\delta_F}\quad\text{whenever }q \mid m^k,\ q>X\text{ and }(a,q)=1, \end{equation} and that \begin{equation}\label{eq:fibW} 8\,C_FW^2\le X^{\delta_F}. \end{equation} Let $(c_n)_{n\le X}$ be complex numbers with $\sum_n|c_n|^2\le X$. Then for every $\beta\in\mathbb{T}$ the number of $\alpha\in\mathbb{T}$ with \[ m^k\alpha=\beta\qquad\text{and}\qquad\Bigl|\sum_{\substack{n\le X\\(n,m)=1}}c_ne(\alpha n^k)\Bigr|\ge\frac{X}{2W} \] is at most $C_1W^2$, where $C_1:=16\,k^J(2k+1)^{J}$. \end{proposition} \begin{proof} Let $\beta_0\in[0,1)$ represent $\beta$. The solutions of $m^k\alpha=\beta$ are $\alpha_j:=(\beta_0+j)/m^k$ with $j\in\mathbb{Z}/m^k\mathbb{Z}$. Let $\mathcal{H}$ be the set of $j$ for which the sum in question is at least $X/(2W)$ in modulus. Let $\mathcal{U}:=\{n\le X:(n,m)=1\}$, and consider the matrix $V:=\bigl(e(\alpha_jn^k)\bigr)_{j\in\mathcal{H},\,n\in\mathcal{U}}$ and the vector $\mathbf c:=(c_n)_{n\in\mathcal{U}}$. Then \begin{equation}\label{eq:gram} \frac{\#\mathcal{H}\cdot X^2}{4W^2}\le\|V\mathbf c\|_2^2\le\|V\|_{\mathrm{op}}^2\,\|\mathbf c\|_2^2 \le X\,\|VV^*\|_{\mathrm{op}} . \end{equation} The Gram matrix $K:=VV^*$ has the entries \[ K_{ij}=\sum_{n\in\mathcal{U}}e\bigl((\alpha_i-\alpha_j)n^k\bigr)=w(i-j),\qquad\text{where}\quad w(h):= \sum_{n\in\mathcal{U}}e\Bigl(\frac{hn^k}{m^k}\Bigr)\quad(h\in\mathbb{Z}/m^k\mathbb{Z}). \] For $h\in\mathbb{Z}/m^k\mathbb{Z}$ let $q(h):=m^k/(h,m^k)$ be the denominator of $h/m^k$ in lowest terms. We write $w=w_{\le}+w_{>}$, where $w_{\le}(h):=w(h)$ if $q(h)\le X$ and $w_{\le}(h):=0$ otherwise, and correspondingly $K=K_\le+K_>$. Since $w(-h)=\overline{w(h)}$ and $q(-h)=q(h)$, the matrices $K_\le$ and $K_>$ are Hermitian. Every entry of $K_>$ is either $0$ or a sum as in \eqref{eq:fibhyp}, hence at most $C_FX^{1-\delta_F}$ in modulus. As $K_>$ is Hermitian, its operator norm is at most the largest $\ell^1$-norm of a row, so \begin{equation}\label{eq:Kbig} \|K_>\|_{\mathrm{op}}\le\#\mathcal{H}\cdot C_FX^{1-\delta_F}. \end{equation} The matrix $K_\le$ is a principal submatrix of the circulant matrix $\widetilde K:=\bigl(w_\le(i-j)\bigr)_{i,j}$, with rows and columns indexed by $\mathbb{Z}/m^k\mathbb{Z}$, which is Hermitian for the same reason. Hence $\|K_\le\|_{\mathrm{op}}\le\|\widetilde K\|_{\mathrm{op}}=\max_t|\lambda_t|$, where the $\lambda_t$ are the eigenvalues of $\widetilde K$. The vectors $(e(jt/m^k))_{j}$, $t\in\mathbb{Z}/m^k\mathbb{Z}$, form an orthogonal basis of eigenvectors, and \[ \lambda_t=\sum_{h\bmod m^k}w_\le(h)\,e\Bigl(-\frac{ht}{m^k}\Bigr)=\sum_{n\in\mathcal{U}}\ \sum_{\substack{q\mid m^k\\ q\le X}}\ \sum_{\substack{b\bmod q\\(b,q)=1}}e\Bigl(\frac{b(n^k-t)}{q}\Bigr), \] on sorting the $h$ according to $q=q(h)$ and writing $h/m^k=b/q$. The innermost sum is Ramanujan's sum, which equals $\sum_{d\mid(q,\,n^k-t)}d\,\mu(q/d)$. Therefore \[ \lambda_t=\sum_{\substack{q\mid m^k\\ q\le X}}\ \sum_{d\mid q}\mu(q/d)\,d\,\#\{n\in\mathcal{U}:\ n^k\equiv t\!\! \pmod d\}. \] Let $d\mid m^k$ with $d\le X$. Every prime factor of $d$ divides $m$ and is odd, and every $n\in\mathcal{U}$ is coprime to $d$. Since the group of reduced residues modulo an odd prime power is cyclic, the congruence $y^k\equiv t\pmod d$ has at most $k^J$ solutions $y$ modulo $d$ with $(y,d)=1$, and each residue class modulo $d$ contains at most $X/d+1$ integers $n\le X$. Thus $d\,\#\{n\in\mathcal{U}:n^k\equiv t\pmod d\}\le k^J(X+d) \le2k^JX$. The number of pairs $(d,q)$ with $d\mid q\mid m^k$ and $q/d$ squarefree is at most $(2k+1)^J$, since for each prime $p\mid m$ there are $2k+1$ possibilities for $(v_p(d),v_p(q))$. It follows that \begin{equation}\label{eq:Ksmall} \|K_\le\|_{\mathrm{op}}\le\max_t|\lambda_t|\le2k^J(2k+1)^JX=\tfrac18C_1X . \end{equation} Combining \eqref{eq:gram}, \eqref{eq:Kbig} and \eqref{eq:Ksmall} with \eqref{eq:fibW}, we obtain \[ \frac{\#\mathcal{H}}{4W^2}\le\frac{C_1}{8}+\#\mathcal{H}\cdot C_FX^{-\delta_F}\le\frac{C_1}{8}+ \frac{\#\mathcal{H}}{8W^2}, \] that is, $\#\mathcal{H}\le C_1W^2$. \end{proof} If $m\le X^{1/k}$ then no divisor of $m^k$ exceeds $X$, the hypothesis \eqref{eq:fibhyp} is void, and Proposition~\ref{prop:fibre} is a large sieve inequality on the fibre. The point of \cite{CD2026} is that $m$ may be taken much larger when $W$ is small, because then a small saving $\delta_F$ suffices. With Lemma~\ref{lem:saving} we obtain the following. \begin{corollary}\label{cor:fibre} Let $k\ge37$, let $\Theta$ be admissible for $k$, and let $\varepsilon>0$. There is a number $X_0=X_0(k,J,\varepsilon)$ with the following property. Let $X\ge X_0$, let $m$ be as in \S\ref{s:exp} with $m\le X^{\theta/k}$ for some $\theta\in(1,\Theta]$, and let $W\ge1$ with \[ W^2\le X^{(1-\eta_k(\theta))\,\sigma(\theta)-2\varepsilon}. \] Then the conclusion of Proposition~\ref{prop:fibre} holds for $X$, $m$ and $W$. \end{corollary} \begin{proof} By Lemma~\ref{lem:saving}, the hypothesis \eqref{eq:fibhyp} holds with $\delta_F:=(1-\eta_k(\theta))\sigma(\theta)-\varepsilon$ and with a constant $C_F\ge1$ that depends only on $k$, $J$ and $\varepsilon$; here $\delta_F\ge\varepsilon>0$, since $W\ge1$ and the hypothesis on $W$ give $(1-\eta_k(\theta))\sigma(\theta)\ge2\varepsilon$. Then $8C_FW^2\le8C_FX^{-\varepsilon}X^{\delta_F}\le X^{\delta_F}$ as soon as $X^{\varepsilon}\ge8C_F$, which is \eqref{eq:fibW}. \end{proof} \section{The iterative inequality}\label{s:iter} We return to the setting of \S\ref{s:setup}. The next lemma is a refinement of \cite[Lemma~4.1]{CD2026}, for the sums $F_j^{\mathfrak{e}}$. \begin{lemma}\label{lem:iter} Let $1\le i\le j\le J$, let $X$ be attached to $j$ and $W\ge1$, and suppose that the conclusion of Proposition~\ref{prop:fibre} holds for $X$, $W$ and $m=d$, for every $d\in\mathcal{D}_i$. Put $N_W:=\lceil\log_2(2W)\rceil$. Then \begin{equation}\label{eq:iter} \begin{aligned} D_j(X,W)\le{}& 2C_1N_W\sum_{l=0}^{N_W-1}\frac{W^3}{2^l}\sum_{d\in\mathcal{D}_i}\frac{D_{j-i}(X/d,2^{l+1})}{d}\\ &+\sum_{i_1=1}^{i}\ \sum_{d_1\in\mathcal{D}_{i_1}}d_1^k\,D_{j-i_1}\Bigl(\frac X{d_1},\frac{K_0W}{d_1}\Bigr). \end{aligned} \end{equation} \end{lemma} \begin{proof} Fix a finite set $\mathfrak{e}$ of primes, and let $E_*:=\{\alpha\in\mathbb{T}:|F_j^{\mathfrak{e}}(\alpha;X)|\ge X/W\}$; we have to bound $X^k\operatorname{meas}(E_*)$ by the right hand side of \eqref{eq:iter}. For $d\in\mathcal{D}_i^{\mathfrak{e}}$ we have, by Lemma~\ref{lem:setup}(d), \[ F_j^{\mathfrak{e}\cup[d]}(\alpha;X)=\sum_{\substack{n\in\mathcal{C}_j^{\mathfrak{e}}(X)\\(n,d)=1}}e( \alpha n^k). \] We split $E_*$ into the set $E'$ of those $\alpha$ for which $|F_j^{\mathfrak{e}\cup[d]}(\alpha;X)|X/(2W)$. An element of $\mathcal{C}_j^{\mathfrak{e}}(X)$ has a common factor with $d$ if and only if it is divisible by one of the $i$ primes dividing $d$. For a divisor $d_1$ of $d$ let $i_1$ denote the number of its prime factors, so that $d_1\in\mathcal{D}_{i_1}^{\mathfrak{e}}$. By inclusion and exclusion and Lemma~\ref{lem:setup}(d), \[ F_j^{\mathfrak{e}}(\alpha;X)-F_j^{\mathfrak{e}\cup[d]}(\alpha;X)=\sum_{\substack{d_1\mid d\\ d_1>1}}(-1)^{i_1+1} \sum_{\substack{n\in\mathcal{C}_j^{\mathfrak{e}}(X)\\ d_1\mid n}}e(\alpha n^k) =\sum_{\substack{d_1\mid d\\ d_1>1}}(-1)^{i_1+1}F_{j-i_1}^{\mathfrak{e}\cup[d_1]}\bigl(d_1^k\alpha;X/d_1\bigr). \] There are fewer than $2^J$ terms, so for some divisor $d_1>1$ of $d$ we have \[ \bigl|F_{j-i_1}^{\mathfrak{e}\cup[d_1]}(d_1^k\alpha;X/d_1)\bigr|\ge\frac{X}{2^{J+1}W}=\frac{X/d_1}{K_0W/d_1}. \] Here $X/d_1$ is attached to $j-i_1$, by Lemma~\ref{lem:setup}(c), and the set of excluded primes depends on $d_1$ only. Multiplication by $d_1^k$ preserves the measure on $\mathbb{T}$. Hence, by the union bound over all $i_1$ with $1\le i_1\le i$ and all $d_1\in\mathcal{D}_{i_1}^{\mathfrak{e}}$, \[ X^k\operatorname{meas}(E')\le\sum_{i_1=1}^{i}\ \sum_{d_1\in\mathcal{D}_{i_1}^{\mathfrak{e}}}X^k\Bigl(\frac{X}{d_1} \Bigr)^{-k}D_{j-i_1}\Bigl(\frac X{d_1},\frac{K_0W}{d_1}\Bigr), \] which is at most the second term in \eqref{eq:iter}. \emph{The set $E$.} For $d\in\mathcal{D}_i^{\mathfrak{e}}$ let $u_d(\alpha):=\frac dX\bigl|F_{j-i}^{\mathfrak{e}\cup[d]}(d^k\alpha;X/d)\bigr|$, so that $0\le u_d(\alpha)\le1$ by Lemma~\ref{lem:setup}(b) and~(c). By Lemma~\ref{lem:setup}(c), $\sum_du_d(\alpha)/d\ge\binom ji/W\ge1/W$ for $\alpha\in E_*$, and the $d$ with $u_d(\alpha)\le2^{-N_W}\le1/(2W)$ contribute at most $1/(2W)$ to this sum. Sorting the other $d$ according to $2^{-l-1}2^{-l-1}}}\frac1d\ge\frac{2^l}{2W N_W}. \end{equation} Let $E_l$ be the set of $\alpha\in E$ for which \eqref{eq:level} holds. Integrating \eqref{eq:level} over $E_l$ gives \begin{equation}\label{eq:Ei} \frac{2^l}{2W N_W}\operatorname{meas}(E_l)\le\sum_{d\in\mathcal{D}_i^{\mathfrak{e}}}\frac1d\operatorname{meas}\{\alpha \in E:\ u_d(\alpha)>2^{-l-1}\}. \end{equation} Fix $d\in\mathcal{D}_i^{\mathfrak{e}}$. The condition $u_d(\alpha)>2^{-l-1}$ depends only on $\beta:=d^k\alpha$, and it implies that $\beta$ lies in the set $\mathcal{L}:=\{\beta\in\mathbb{T}:|F_{j-i}^{\mathfrak{e}\cup[d]}(\beta;X/d)|\ge(X/d)/2^{l+1}\}$, of measure at most $(X/d)^{-k}D_{j-i}(X/d,2^{l+1})$. On the other hand, $\alpha\in E$ implies $|F_j^{\mathfrak{e}\cup[d]}(\alpha;X)|\ge X/(2W)$, and \[ F_j^{\mathfrak{e}\cup[d]}(\alpha;X)=\sum_{\substack{n\le X\\(n,d)=1}}c_ne(\alpha n^k)\qquad\text{with } c_n\in\{0,1\}, \] where $c_n$ is the indicator function of the set $\mathcal{C}_j^{\mathfrak{e}\cup[d]}(X)$, all of whose elements are coprime to $d$. By hypothesis, each $\beta\in \mathbb{T}$ therefore has at most $C_1W^2$ preimages in $E$ under the map $\alpha\mapsto d^k\alpha$. This map multiplies lengths by $d^k$ locally, so that the integral over $\beta\in\mathbb{T}$ of the number of preimages of $\beta$ in a measurable set $\mathcal{M}\subseteq\mathbb{T}$ is $d^k\operatorname{meas}(\mathcal{M})$. For $\mathcal{M}=\{\alpha\in E:\ u_d(\alpha)>2^{-l-1}\}$ this number is at most $C_1W^2$, and it vanishes when $\beta\notin\mathcal{L}$. Hence \[ \operatorname{meas}\{\alpha\in E:\ u_d(\alpha)>2^{-l-1}\}\le\frac{C_1W^2}{d^k}\operatorname{meas}(\mathcal{L}) \le C_1W^2X^{-k}D_{j-i}\Bigl(\frac Xd,2^{l+1}\Bigr). \] Inserting this in \eqref{eq:Ei} and summing $X^k\operatorname{meas}(E_l)$ over $l$ gives the first term of \eqref{eq:iter}. \end{proof} In \cite{CD2026} only the level $u_d \ge1/(2W)$ is used, and one step costs a factor $W^3$. In \eqref{eq:iter} the cost is $W^3/V$ when the shorter sums are of relative size $1/V$; since the bounds for $D_{j-i}( \cdot,V)$ that we shall use grow at least linearly in $V$ (Lemma~\ref{lem:pot}(ii)), the worst case is $V\approx W$, with cost $W^2$. The second term in \eqref{eq:iter} will turn out to be harmless, because of the factor $d_1^{-k}$ gained from $W/d_1$. In the identity of Lemma~\ref{lem:setup}(c) each integer is counted $\binom ji$ times; this helps, and we have not used it. \section{Large values and mean values over smooth numbers}\label{s:apriori} For $t\ge0$ let $\mathfrak{d}(t)\in(0,1]$ denote the solution of the equation \[ \mathfrak{d}(t)+\log\mathfrak{d}(t)=1-t/k , \] and let $\Psi(z):=2+\log\frac{1-z}{z}$ for $00$ there is $\eta'>0$ such that \begin{equation}\label{eq:admexp} \int_{\mathbb{T}}\Bigl|\sum_{n\in\mathcal{K}}e(\alpha n^k)\Bigr|^v\,\mathrm{d}\alpha \ll Y^{v-k+k\mathfrak{d}(v)+\varepsilon'}\qquad\bigl(\mathcal{K}\subseteq\mathcal{A}(Y,Z),\ 2\le Z\le Y^{\eta'}\bigr), \end{equation} where the implied constant depends on $k$, $v$ and $\varepsilon'$ only. For $v\ge4$ this is contained in \cite[Theorem~2.2]{BW2025}. That theorem concerns the sum over $\mathcal{A}(Y,Z)$ with arbitrary complex weights $w(n)$, and bounds its mean value of order $v$ by $\max_{n\le Y}|w(n)|^v$ times the right hand side of \eqref{eq:admexp}, uniformly in the weights; we take for $w$ the indicator function of $\mathcal{K}$. (For even $v$ and $\mathcal{K}=\mathcal{A}(Y,Z)$ the estimate goes back to \cite{Woo1993}; see \cite[\S7]{BW2023}.) For $0\le v\le4$ we appeal to Hua's lemma. The mean value of order $4$ is the number of solutions of $n_1^k+n_2^k=n_3^k+n_4^k$ with $n_i\in\mathcal{K}$; this is at most the number of solutions in natural numbers $n_i\le Y$, which is $\ll Y^{2+\varepsilon'}$ by \cite[Lemma~2.5]{Vau1997}. By H\"older's inequality the left hand side of \eqref{eq:admexp} is therefore $\ll Y^{v/2+\varepsilon'}$. This suffices, since $\frac v2\le v-k+k\mathfrak{d}(v)$: the number $y:=1-\frac{v}{2k}$ lies in $(0,1]$ and satisfies $y+\log y\le2y-1=1-\frac vk$, whence $y\le\mathfrak{d}(v)$. \begin{lemma}\label{lem:apriori} Let $00$. As $\eta_k$ is increasing and left-continuous and $\sigma$ is continuous and nonincreasing, the function $M$ is positive, strictly decreasing and left-continuous; its only discontinuities are downward jumps at those of the points $\frac94$, $\frac{25}8$, $\frac{160}{37}$ that lie in $[1,\Theta)$. Hence \[ \theta(z):=\max\{\theta\in[1,\Theta]:\ M(\theta)\ge z\}\quad(0\le z\le M(1)),\qquad u_\Theta:=M(\Theta), \] is well defined and nonincreasing, $M(\theta(z))\ge z$, and $\theta(z)=\Theta$ exactly when $z\le u_\Theta$. Since $\sigma(\theta(z))\ge\sigma(\Theta)$, we have \begin{equation}\label{eq:adm} \bigl(1-\eta_k(\theta)\bigr)\sigma(\theta)\ge2z+\delta_0\,\sigma(\Theta)\qquad\text{for }\theta=\theta(z). \end{equation} Next let \begin{gather*} \eta_c:=2\delta_0+\frac{36}{5(k-1)},\qquad w_c:=\frac1{10}-\frac{\eta_c}{50}-\frac{\varepsilon_2}{4},\qquad z_c:=(1- \eta_c)\,w_c,\\ \theta_0:=3-12w_c=\frac95+\frac{6\eta_c}{25}+3\varepsilon_2 . \end{gather*} Then $\eta_c<\frac14$, because $\delta_0<\frac1{40}$ and $k\ge37$, and $\frac95<\theta_0<2$. So $\sigma(\theta_0)=(3-\theta_0)/6=2w_c$ and $\eta_k(\theta_0)=4\theta_0/k$. Now \[ \frac{4\theta_0}{k}=\frac{36}{5k}+\frac{24\,\eta_c}{25k}+\frac{12\,\varepsilon_2}{k}\le\delta_0+\frac{36}{5(k-1)}= \eta_c-\delta_0, \] because $\frac{36}{5(k-1)}-\frac{36}{5k}=\frac{36}{5k(k-1)}\ge\frac{24}{25k}\cdot\frac{36}{5(k-1)}$ and $\frac{48\delta_0}{25k}+\frac{12\varepsilon_2}{k}\le\delta_0$. Hence $M(\theta_0)$ is at least $\frac12(1-\eta_c)\cdot2w_c=z_c$, that is, $\theta(z_c)\ge\theta_0$. Moreover $1-z_c\le1-w_c+\frac{\eta_c}{10}=\frac9{10}+\frac{3\eta_c}{25}+\frac{\varepsilon_2}4$, so that \[ 2(1+\varepsilon_2)(1-z_c)\le\frac95+\frac{6\eta_c}{25}+\varepsilon_2\Bigl(\frac12+\frac95+\frac{6\eta_c}{25}+ \frac{\varepsilon_2}{2}\Bigr)\le\theta_0 . \] Thus \begin{equation}\label{eq:H} \theta(z)\ge\theta(z_c)\ge\theta_0\ge2(1+\varepsilon_2)(1-z_c)\qquad(0\le z\le z_c). \end{equation} Note also that \begin{equation}\label{eq:uzc} u_\Theta\le M\bigl(\tfrac94\bigr)<\tfrac1{16}0$ let \begin{gather*} \Phi(x,\lambda):=k\lambda\,\mathcal{G}\Bigl(\frac{\max\{\lambda,\gamma u_\Theta\}}{x}\Bigr),\qquad \Phi(x,0):=0,\\ \mathcal{G}_\gamma:=\mathcal{G}(\gamma u_\Theta)=\mathcal{G}(u_\Theta)+c_\Theta\log(1/\gamma) . \end{gather*} Thus $\Phi(x,\lambda)=k\lambda\,\mathcal{G}(\lambda/x)$ unless $\lambda<\gamma u_\Theta$; the floor $\gamma u_\Theta$ only serves to keep $\Phi$ Lipschitz continuous. Observe that $\Phi(x,\lambda)=kx$ when $\lambda/x\ge\frac12$, and $\Phi(x,\lambda)=k\lambda\Psi(\lambda/x)$ when $z_c\le\lambda/x\le\frac12$; these are the trivial bound and the bound of Lemma~\ref{lem:apriori}. \begin{lemma}\label{lem:pot} \textup{(i)} The function $\mathcal{G}$ is continuous and nonincreasing, and \[ \mathcal{G}(u_\Theta)\le\Psi(z_c)+2(1+\varepsilon_2)\Bigl(I(2w_c)-T(\Theta)+\int_{9/5}^{\Theta} \frac{\mathrm{d}\bigl(-\log(1-\delta_0-\eta_k(\theta))\bigr)}{\theta}\Bigr). \] \textup{(ii)} The function $\Phi$ is locally Lipschitz continuous on $[\gamma,1]\times[0,\infty)$. Wherever it is differentiable, $0\le\partial_\lambda\Phi\le \mathcal{G}_\gamma k$ and $\partial_x\Phi\ge0$, and $\partial_\lambda\Phi\ge2k$ if $\lambda/x\le\frac15$. \textup{(iii)} If $\lambda/x\le\frac15$ and $0\le t\le\min\{\lambda,x-\gamma\}$, then $\Phi(x-t,\lambda-t)\le\Phi(x,\lambda)-2kt$. \textup{(iv)} Let $z:=\lambda/x\tfrac12, \end{cases} \end{equation} at the points of differentiability. As $M$ is strictly decreasing, $\theta(\cdot)$ is continuous; hence $\mathcal{G}$ is continuously differentiable on $(0,\infty)\setminus\{z_c\}$ (at $z=\frac12$ both one-sided derivatives equal $-4$), and $\Phi$ is continuously differentiable outside the line $\lambda=\gamma u_\Theta$ and the ray $\lambda=z_cx$. The segments in (iii), and the lines on which $x$ is constant, meet each of these two sets in at most one point, so that $\Phi$ is the integral of its derivative along them. Put $z^\flat:=\max\{\lambda,\gamma u_\Theta\}/x$. If $\lambda>\gamma u_\Theta$ then $z^\flat=\lambda/x$, $\partial_\lambda\Phi=k(\mathcal{G}(z^\flat)-\mathfrak{g}(z^\flat))$ and $\partial_x\Phi=k \lambda\,\mathfrak{g}(z^\flat)/x$; if $\lambda<\gamma u_\Theta$ then $\partial_\lambda\Phi=k\,\mathcal{G}(z^\flat)$ and $\partial_x\Phi=k \lambda\,\mathfrak{g}(z^\flat)/x$. So $\partial_x\Phi\ge0$, and $\partial_\lambda\Phi\le k\,\mathcal{G}(z^\flat)\le k\,\mathcal{G}(\gamma u_\Theta)$ because $z^\flat\ge\gamma u_\Theta$. Next, $\mathcal{G}(z)-\mathfrak{g}(z)$ vanishes for $z>\frac12$. For $z_c2$ for $z\le\frac15$. For $z4.19$, so $\mathcal{G}-\mathfrak{g}>3$. Finally, if $\lambda<\gamma u_\Theta$ then $z^\flat\le u_\Theta4.19$. (iii) Along the path $t\mapsto(x-t,\lambda-t)$ the ratio of the second coordinate to the first does not increase, since $\lambda\le x$. So by (ii) the derivative of $t\mapsto\Phi(x-t,\lambda-t)$, which is $-\partial_x\Phi-\partial_\lambda\Phi$, is at most $-2k$ almost everywhere. (iv) Let $z_1:=\max\{\lambda,\gamma u_\Theta\}/x$ and $z_1':=\max\{\lambda,\gamma u_\Theta\}/(x-y)$. Then $z\le z_1\frac12$, then $\mathfrak{g}(u)=1/u\ge1>c_\Theta$, since $\Theta\ge\frac94$ and $\varepsilon_2\le\frac1{100}$. As $\mathcal{G}$ is locally Lipschitz continuous, it follows that $\mathcal{G}(u_\Theta)-\mathcal{G}(z)=\int_{u_\Theta}^z\mathfrak{g}(u)\,\mathrm{d} u/u\ge c_\Theta\log(z/u_\Theta)$ for $u_\Theta\le z\le1$. This is the first assertion. The derivative of $z\,\mathcal{G}(z)$ is $\mathcal{G}(z)-\mathfrak{g}(z)$. The function $\mathfrak{g}$ is nondecreasing on $(0,\frac12)$, because $\theta(\cdot)$ is nonincreasing, $1/(1-z)$ is increasing, and $\mathfrak{g}$ jumps upwards at $z_c$, by \eqref{eq:H}. Hence $\mathcal{G}-\mathfrak{g}$ is nonincreasing on $(0,\frac12)$, where it is nonnegative (see the proof of (ii)), and it vanishes on $(\frac12,1)$. So $z\,\mathcal{G}(z)$ is concave. \end{proof} \subsection{The induction} The following proposition is the main result of this section. It bounds the quantities $D_j(X,W)$ of \S\ref{s:setup} by means of the potential $\Phi$. \begin{proposition}\label{prop:main} There is a constant $C_*$ such that, uniformly for $0\le j\le J$, for $X=P^x$ attached to $j$ with $x\ge\gamma$, and for $W=P^\lambda\ge1$, \[ D_j(X,W)\le C_*^{\,j+1}(\log P)^{2j}P^{\,4k\gamma+\varepsilon+\Phi(x,\lambda)}. \] \end{proposition} \begin{proof} We argue by induction on $j$. Put $z:=\lambda/x$. \emph{Case 1: $x\le4\gamma$.} Then $D_j(X,W)\le X^k\le P^{4k\gamma}$. For $j=0$ there is nothing to prove, because an $X$ attached to $0$ has $x\le\eta<\gamma$, by Lemma~\ref{lem:setup}(a) and \eqref{eq:eta}. \emph{Case 2: $z\ge z_c$.} Then $\lambda\ge z_c\gamma>\gamma u_\Theta$ by \eqref{eq:uzc}, so $\Phi(x,\lambda)=k\lambda\,\mathcal{G}(z)$, which is $kx$ if $z\ge\frac12$ and $k\lambda\Psi(z)$ otherwise. The assertion follows from Lemma~\ref{lem:apriori} with $z_*=z_c$, if $C_*$ is large enough. \emph{Case 3: $x>4\gamma$ and $z\frac95\cdot4\gamma$, and $\omega\le\frac18\eta\le\frac18\varepsilon_2$ by \eqref{eq:eta}, so that the right hand side exceeds $6\gamma\varepsilon_2/k$, while the left hand side is at most $\frac98\eta\le4\gamma\varepsilon_2/k$. Finally $i\ge1$ because $\theta x>0$, and $i\eta4\gamma$, we have $\lambda^+/(x-y)\le2z+\log4/(2\gamma\log P)$, and $2z<2z_c\le\frac15-\frac12\varepsilon_2$; so $\lambda^+/(x-y)\le\frac15$ for large $P$. By Lemma~\ref{lem:pot}(ii) the function $\mu\mapsto\Phi(x-y,\mu)-\mu$ is therefore nondecreasing on $[0,\lambda^+]$, and \begin{align*} 3\lambda-\mu+\Phi(x-y,\mu)&\le2\lambda+\Phi(x-y,\lambda^+)\le2\lambda+\Phi(x-y,\lambda)+ \frac{\mathcal{G}_\gamma k\log4}{\log P}\\ &\le\Phi(x,\lambda)+\frac{\mathcal{G}_\gamma k\log4}{\log P}, \end{align*} the last step by Lemma~\ref{lem:pot}(iv), which is applicable by \eqref{eq:drange}. Now $W^32^{-l}=2P^{3\lambda-\mu}$ and $N_W\le2+\lambda\log P/\log2\le2\log P$, as $\lambda0$ and $r\ge k\bigl(\mathcal{G}(u_\Theta)+a_*\bigr)$, where \begin{equation}\label{eq:astar} a_*:=c_\Theta\,\log\frac{k\,c_\Theta\,u_\Theta}{\mathrm{e}\,b} \end{equation} and $c_\Theta$ is as in \eqref{eq:Gtail}. The implied constants depend also on $r$ and $\Delta$. \end{corollary} \begin{proof} Let $X=P^x$. If $x<\gamma$, by Lemma~\ref{lem:setup}(b) the integral is at most $X^r\le X^{r-k}P^{k\gamma}$. Let $x\ge\gamma$, let $0<\lambda\le x$ and $z:=\lambda/x\le1$. Since $\mathcal{G}$ is nonincreasing, $\Phi(x,\lambda)\le k\lambda\,\mathcal{G}(z)$, and so $\Phi(x,\lambda)\le r\lambda+\Delta x$ by \eqref{eq:rDelta}. By Proposition~ \ref{prop:main} it follows that \[ \operatorname{meas}\{\alpha:|F_j^{\mathfrak{e}}(\alpha;X)|\ge XP^{-\lambda}\}\ll X^{-k}P^{\,4k\gamma+\frac32\varepsilon+\Delta x+r\lambda}\qquad(0\le\lambda\le x); \] for $\lambda>x$ we use that the measure is at most $1$, and for $\lambda<0$ it is $0$. Since $r>k$ and $X^{r-k}\ge1$, we conclude that \[ \int_{\mathbb{T}}|F_j^{\mathfrak{e}}|^r\,\mathrm{d}\alpha=r\log P\int_{-\infty}^\infty(XP^{-\lambda})^{r} \operatorname{meas}\{\alpha:|F_j^{\mathfrak{e}}(\alpha;X)|\ge XP^{-\lambda}\}\,\mathrm{d}\lambda \ll X^{\,r-k}P^{\,4k\gamma+2\varepsilon+\Delta x}. \] For the second assertion let $b>0$ and $r\ge k(\mathcal{G}(u_\Theta)+a_*)$. By Lemma~\ref{lem:pot}(v), for $00$ of the third expression being attained at $z=u_\Theta\mathrm{e}^{-1-a_*/c_\Theta}$. \end{proof} The point of Corollary~\ref{cor:moment} is that $r$ need not exceed $k\sup \mathcal{G}$, which is infinite: the excess of $\Phi(x,\lambda)$ over $r\lambda$ is at most $bx$, and a factor $P^{b}$ will be recovered on the minor arcs from a bound of Weyl type for $F$ (\S\ref{ss:weyl}). The number $a_*$ is negative when $b>k\,c_\Theta\,u_\Theta/ \mathrm{e}$, and $r$ is then allowed to be smaller than $k\,\mathcal{G}(u_\Theta)$; this is possible because, by Lemma~\ref{lem:pot}(v), the function $\mathcal{G}$ lies below its tail \eqref{eq:Gtail} also for $z>u_\Theta$. The uniformity in $j$, in the excluded primes and in $X$ is needed in \S\ref{ss:arcmoment}, where $F$ is compared with the shorter sums $F_{J-i}^{[d]}$. \section{The circle method}\label{s:circle} In this section we prove Theorems~\ref{thm:explicit} and~\ref{thm:almostexplicit}. In \cite{CD2026} the sum $F$ is accompanied by $2k$ smooth Weyl sums, which supply a bound of Weyl type on the minor arcs and make it possible to prune back to the major arcs. Here all $s$ variables are of the kind counted by $F$. This requires three pieces of information about $F$ on arcs of intermediate height: mean values restricted to such arcs (\S\ref{ss:arcmoment}), a bound of Weyl type (\S\ref{ss:weyl}), and pointwise bounds on arcs of small height (\S\ref{ss:small}). For smooth Weyl sums the corresponding results are due to Br\"udern and Wooley \cite[\S\S2--6]{BW2023}. They can be proved for $F$ because the integers counted by $F$ have a divisor of any prescribed size, up to factors $P^{O(\eta)}$. Close to the major arcs $F$ is approximated by the main term of a classical Weyl sum, multiplied by the density $\Pi$ of \S\ref{ss:density}; this is a consequence of the unrestricted factor $m$. \subsection{Arcs, and the pruning estimate}\label{ss:arcs} We identify $\mathbb{T}$ with $[0,1)$. For real numbers $Y\ge1$ and $Q>0$ and for $q\in\mathbb{N}$ let $\mathfrak{M}_q(Q;Y)$ be the set of $\alpha\in\mathbb{T}$ for which there is an integer $a$ with $(a,q)=1$ and $|q\alpha-a|\le QY^{-k}$, and put \[ \mathfrak{M}(Q;Y):=\bigcup_{1\le q\le Q}\mathfrak{M}_q(Q;Y),\qquad \mathfrak{N}(Q;Y):=\mathfrak{M}(Q;Y)\setminus \mathfrak{M}(Q/2;Y). \] We shall use the following simple facts. \begin{enumerate} \item[\textup{(A1)}] One has $\mathfrak{M}(Y^{k/2};Y)=\mathbb{T}$, by Dirichlet's theorem on Diophantine approximation, and $\operatorname{meas}\mathfrak{M}(Q;Y)\le\sum_{q\le Q}\varphi(q)\cdot2Q/(qY^k)\le2Q^2Y^{-k}$. \item[\textup{(A2)}] If $Q\le\frac12Y^{k/2}$, then the arcs $\{\alpha\in\mathbb{T}:\|\alpha-a/q\|\le Q/(qY^k)\}$ with $1\le a\le q\le Q$ and $(a,q)=1$ are pairwise disjoint: two of them with centres $a/q\ne a'/q'$ can meet only if $1/(qq')\le Q(q+q')/(qq'Y^k)$, which implies that $Y^k\le2Q^2$. Thus $\mathfrak{M}_q(Q;Y)$ consists of $\varphi(q)$ arcs of length $2Q/(qY^k)$, and $\mathfrak{M}(Q;Y)$ is the disjoint union of the sets $\mathfrak{M}_q(Q;Y)$ with $q \le Q$. In particular, for $\alpha\in\mathfrak{M}(\frac12Y^{k/2};Y)$ there is exactly one arc of this family with $Q=\frac12Y^{k/2}$ that contains $\alpha$, and with the corresponding $a$ and $q$ we put \[ \Upsilon_Y(\alpha):=\bigl(q+Y^k|q\alpha-a|\bigr)^{-1},\qquad \Upsilon:=\Upsilon_P . \] \item[\textup{(A3)}] Let $\alpha\in\mathfrak{N}(Q;Y)$, and let $a$ and $q$ be coprime with $q\le Q$ and $|q\alpha-a|\le QY^{-k}$. Then $\frac12Q0,\qquad \nu:=t\,\tau_k-b>0;\qquad s:=r+t . \end{equation} Here $\tau_k=1/(9.027901\,k)$, as in \S\ref{s:explicit}. By Corollary~\ref{cor:moment}, the moments of order $r$ of the sums $F_j^{\mathfrak{e}}(\,\cdot\,;X)$ are $\ll X^{r-k+b}P^{4k\gamma+2\varepsilon}$. Moreover \[ s>k\Bigl(\mathcal{G}(u_\Theta)+c_\Theta\,\log\frac{u_\Theta}{\tau_k}\Bigr)\ge k\,\mathcal{G}(\tau_k)>4.19\,k\ge4k+1 . \] Indeed, with $v:=b/(k\,c_\Theta\,\tau_k)$ we have $k\,a_*+b/\tau_k=k\,c_\Theta\,\bigl(\log\frac{u_\Theta}{\tau_k}+v-1-\log v\bigr)\ge k\,c_\Theta\,\log\frac{u_\Theta}{\tau_k}$, and $t>b/\tau_k$; this gives the first inequality. The second is Lemma~\ref{lem:pot}(v), and the third holds because $\tau_k<\frac1{16}4.19$. We now fix the parameters $\gamma$ and $\varepsilon$ of \eqref{eq:params} by \begin{equation}\label{eq:gammaeps} \gamma:=\min\Bigl\{\frac1{100k},\ \frac{\nu}{40k^2(1+b)}\Bigr\},\qquad \varepsilon:=\min\Bigl\{ \frac{\delta_0\,\sigma(\Theta)}2,\ \frac{\gamma}{16k^2s}\Bigr\}, \end{equation} and we suppose, as we may, that \begin{equation}\label{eq:Rlarge} \eta\le\frac{\nu}{100\,k\,(t+b)},\qquad\text{and we put}\qquad\omega:=\frac{\eta}{64\,k\,s}; \end{equation} moreover $J$ is to be so large that the mean value estimates for smooth numbers quoted in the proof of Lemma~\ref{lem:weyl} are applicable. In this section implied constants may depend on $b$, $r$ and $t$ as well. The main result of \S\S\ref{ss:arcs}--\ref{ss:small} is as follows. \begin{proposition}\label{prop:prune} Suppose that \eqref{eq:rst}, \eqref{eq:gammaeps} and \eqref{eq:Rlarge} hold. Then \begin{align} \int_{\mathfrak{N}(Q;P)}|F(\alpha)|^s\,\mathrm{d}\alpha&\ll P^{s-k}Q^{-\nu/k}&&(P^{1/4}\le Q\le P^{k/2}), \label{eq:pr1}\\ \int_{\mathfrak{N}(Q;P)}|F(\alpha)|^s\,\mathrm{d}\alpha&\ll P^{s-k}Q^{-1/(4k)}&&(R^{1/4}\le Q\le P^{1/4}), \label{eq:pr2}\\ \int_{\mathfrak{M}(R^{1/4};P)\setminus\mathfrak{M}(Q;P)}|F(\alpha)|^s\,\mathrm{d}\alpha&\ll\Pi^sP^{s-k}Q^{-2} +P^{s-k}R^{-1}&&(1\le Q\le R^{1/4}).\label{eq:pr3} \end{align} Consequently, with $\nu_0:=\min\{\nu/(4k),1/(16k)\}$, \begin{equation}\label{eq:prune} \int_{\mathbb{T}\setminus\mathfrak{M}(Q;P)}|F(\alpha)|^s\,\mathrm{d}\alpha\ll\Pi^sP^{s-k}Q^{-2}+P^{s-k}R^{-\nu_0} \qquad(1\le Q\le R^{1/4}). \end{equation} \end{proposition} The estimate \eqref{eq:pr1} is of the type of \cite[Theorems~5.2 and~5.3]{BW2023}, and \eqref{eq:prune} is of the type of \cite[Theorem~6.1]{BW2023}; the number $b$ plays the part of an admissible exponent for the $r$-th moment of $F$, and $b-t\tau_k$ that of the exponent $\Delta_s^*$ of \cite{BW2023}. In \eqref{eq:pr3} and \eqref{eq:prune} the factor $\Pi^s$ is the $s$-th power of the density of the set $\mathcal{C}$. When $H=1$ it is of order $(\log P)^{-Js}$, and it is for this reason that on the arcs of height at most $R^{1/4}$ no factor $P^{\varepsilon}$, and not even a power of $\log P$, is lost. To deduce \eqref{eq:prune} from \eqref{eq:pr1}--\eqref{eq:pr3}, let $Q_i:=2^{-i}P^{k/2}$. By \textup{(A1)}, the set $\mathbb{T}\setminus\mathfrak{M}(Q;P)$ is covered by the sets $\mathfrak{N}(Q_i;P)$ with $Q_i>Q$. Summing \eqref{eq:pr1} over the $i$ with $Q_i \ge P^{1/4}$ gives the bound $P^{s-k}P^{-\nu/(4k)}$, and summing \eqref{eq:pr2} over those with $R^{1/4}\le Q_i\frac12P^{k/2}$ this is contained in Corollary~\ref{cor:moment}. Let $Q\le\frac12P^{k/2}$, define $\mu \in[0,1]$ by $P^\mu=(2Q)^{2/k}$, and let $i$ be the largest integer in $[0,J]$ with $(\zeta R)^i\le P^{1-\mu}$. Then Lemma~\ref{lem:rescale} applies. For $d\in\mathcal{D}_i$ the number $P/d$ is attached to $J-i$, by Lemma~\ref{lem:setup}(c). So Corollary~\ref{cor:moment}, applied to $F_{J-i}^{[d]}(\,\cdot\,;P/d)$, and Lemma~\ref{lem:setup}(c) give \[ \int_{\mathfrak{M}(Q;P)}|F(\alpha)|^r\,\mathrm{d}\alpha\ll P^{4k\gamma+2\varepsilon} \sum_{d\in\mathcal{D}_i}d^{\,r-1-k}\Bigl(\frac Pd\Bigr)^{r-k+b}\le P^{\,r-k+4k\gamma+2\varepsilon} \max_{d\in\mathcal{D}_i}\Bigl(\frac Pd\Bigr)^{b}. \] If $i=J$, then $P/d\le R$ for $d\in\mathcal{D}_J$, by Lemma~\ref{lem:setup}(b). If $iP^{1-\mu}$, and $d\ge R^i\ge(\zeta R)^{i+1}/(\zeta^JR)$ for $d\in\mathcal{D}_i$, whence by \eqref{eq:ai} \begin{equation}\label{eq:Ysize} P^{\mu}\le\frac Pd\Xi/(2X^k)$. By Dirichlet's theorem there are coprime $a_1$ and $q_1$ with $q_1\le4X^k/\Xi$ and $|q_1\beta-a_1|\le\Xi/(4X^k)$. Then $|\beta-a_1/q_1|\le q_1^{-2}$ and $a_1/q_1\ne a/q$, and therefore \[ \frac1{qq_1}\le\Bigl|\frac aq-\frac{a_1}{q_1}\Bigr|\le\frac{|q\beta-a|}{q}+\frac{|q_1\beta-a_1|}{q_1}\le \frac{\Xi}{qX^k}+\frac{\Xi}{4q_1X^k}. \] We multiply by $qq_1$ and use that $q<\frac12\Xi$ and $\Xi^2\le4X^k$. This gives $1\le q_1\Xi X^{-k}+\frac12$, that is, $q_1\ge X^k/(2\Xi)$. Hence $1/q_1\le2\Xi/X^k\le8/\Xi$ and $q_1/X^k\le4/\Xi$. \end{proof} The bilinear structure of the sums $F_j^{\mathfrak{e}}$ is made explicit in the following lemma. \begin{lemma}\label{lem:bilinear} Let $1\le i\le j\le J$, let $\mathfrak{e}$ be a finite set of primes, and let $X$ be attached to $j$. Put $M_0:=R^i$, $M_1:=(\zeta R)^i$, $Y:=X/M_0$ and $\mathcal{B}:=\mathcal{C}_{j-i}^{\mathfrak{e}}(Y)$. Then $\mathcal{D}_i^{\mathfrak{e}}\subseteq(M_0,M_1]\cap\mathcal{A}(M_1,\zeta R)$ and $\mathcal{B}\subseteq[1,Y]\cap\mathcal{A}(Y,\zeta R)$, and for all real $\beta$ \begin{equation}\label{eq:kernel} |F_j^{\mathfrak{e}}(\beta;X)|\le(\log P)^2\,\sup_{(\xi_d)}\ \sum_{n\in\mathcal{B}}\Bigl| \sum_{d\in\mathcal{D}_i^{\mathfrak{e}}}\xi_d\,e\bigl(\beta(dn)^k\bigr)\Bigr| , \end{equation} where the supremum is over all families $(\xi_d)$ of complex numbers of modulus $1$. \end{lemma} \begin{proof} The assertions about $\mathcal{D}_i^{\mathfrak{e}}$ and $\mathcal{B}$ are clear from the definitions. Every $n\in\mathcal{B}$ has a unique representation $n=d''m$ with $d''\in\mathcal{D}_{j-i}^{\mathfrak{e}}$ and $m\le R$, as in Lemma~\ref{lem:setup}(b); let $p^+(n)$ denote the largest prime factor of $d''$, with $p^+(n):=0$ if $d''=1$. For $d\in\mathcal{D}_i^{\mathfrak{e}}$ let $p^-(d)$ denote the least prime factor of $d$. We claim that the map $(d,n)\mapsto dn$ is a bijection from the set of all pairs with $d\in\mathcal{D}_i^{\mathfrak{e}}$, $n\in\mathcal{B}$, $dn\le X$ and $p^+(n)0$ one has \[ \int_{-1/2}^{1/2}e(d\psi)K_y(\psi)\,\mathrm{d}\psi=\begin{cases}1,&d\le y,\\0,&d>y,\end{cases}\qquad\text{where} \quad K_y(\psi):=\sum_{1\le l\le\min\{y,M_1\}}e(-l\psi), \] and for integers $c$ and $a$ with $1\le c\le\zeta R$ and $a\ge0$ \[ \int_{-1/2}^{1/2}e(-c\psi')\widetilde K_a(\psi')\,\mathrm{d}\psi'=\begin{cases}1,&c>a,\\0,&c\le a,\end{cases} \qquad\text{where}\quad \widetilde K_a(\psi'):=\sum_{a0 . \end{equation} \begin{lemma}\label{lem:weyl} Suppose that $J$ is sufficiently large in terms of $k$ and $\gamma$. Let $0\le j\le J$, let $ \mathfrak{e}$ be a finite set of primes, and let $X=P^x$ be attached to $j$, with $x\ge8\gamma$. Let $\beta\in\mathbb{R}$, and let $a\in\mathbb{Z}$ and $q\in\mathbb{N}$ be coprime with $q\le X^{k/2}$ and $|q\beta-a|\le X^{-k/2}$. Then, with $\Xi:=q+X^k|q\beta-a|$, \[ F_j^{\mathfrak{e}}(\beta;X)\ll X^{1-\tau_k}\Bigl(\frac{X^{k/2}}{\Xi}\Bigr)^{1/(2k^2)}R^{1/4}. \] \end{lemma} \begin{proof} By Lemma~\ref{lem:setup}(a) and \eqref{eq:eta} we have $(j+1)\eta\ge x\ge8\eta$, so that $j\ge7$. Let $i:=\lfloor\frac12(j+1)\rfloor$; then $1\le i\le j$ and $\frac12j\le i\le\frac12(j+1)$. Since $R^{\,j+7/8}\le X\le R^{\,j+1}$, it follows that $X^{1/2}R^{-1/2}\le R^i\le X^{1/2}R^{1/16}$. In the notation of Lemma~\ref{lem:bilinear} we therefore have, by \eqref{eq:ai}, \begin{equation}\label{eq:M0} \begin{gathered} X^{1/2}R^{-1/2}\le M_0\le M_1\le X^{1/2}R^{1/4},\qquad X^{1/2}R^{-1/2}\le Y\le X^{1/2}R^{1/2},\\ X\le M_1Y\le XR^{1/8},\qquad \min\{M_0,Y\}\ge P^{3\gamma}. \end{gathered} \end{equation} To the sum on the right of \eqref{eq:kernel} we apply Lemma~\ref{lem:ls} with $u=w=k$, $\mathcal{A}=\mathcal{D}_i^{\mathfrak{e}}$, $A=M_1$, $B =Y$, and with $a_1$, $q_1$ as in Lemma~\ref{lem:dirichlet}. The mean values are bounded by \eqref{eq:admexp} with $v=2k$, and with the number $\varepsilon_*$ of \eqref{eq:tau}: since $\mathcal{D}_i^{\mathfrak{e}}\subseteq\mathcal{A}(M_1,\zeta R)$ and $\mathcal{B}\subseteq\mathcal{A}(Y,\zeta R)$, by Lemma~\ref{lem:bilinear}, we have \[ S_k(\mathcal{D}_i^{\mathfrak{e}})\ll M_1^{k+k\delta_*+\varepsilon_*}, \qquad S_k(\mathcal{B})\ll Y^{k+k\delta_*+\varepsilon_*}, \] provided that $\zeta R\le\min\{M_1,Y\}^{\eta'}$ with a certain $\eta'>0$ depending only on $k$; as $\zeta R\le P^{2\eta}$, by \eqref{eq:M0} this holds when $2\eta\le3\gamma\eta'$. Thus Lemma~\ref{lem:ls} gives \[ \Bigl(\sum_{n\in\mathcal{B}}\Bigl|\sum_{d\in\mathcal{D}_i^{\mathfrak{e}}}\xi_d\,e\bigl(\beta(dn)^k\bigr)\Bigr| \Bigr)^{2k^2}\ll(M_1Y)^{2k^2+k\delta_*+\varepsilon_*}\Bigl(\frac1{q_1}+\frac{q_1}{(M_1Y)^k}+\frac1{M_1^k}+\frac1{Y^k} \Bigr)\log P , \] uniformly in the numbers $\xi_d$ of modulus $1$. By Lemma~\ref{lem:dirichlet} and \eqref{eq:M0}, the sum of the first two terms in the bracket is at most $12/\Xi$, and the sum of the other two is at most $2X^{-k/2}R^{k/2}\le4\,\Xi^{-1}R^{k/2}$. Since $M_1Y\le XR^{1/8}$ and \[ X^{1+\delta_*/(2k)}\,\Xi^{-1/(2k^2)}=X^{1-\tau_k-\varepsilon_*}\Bigl(\frac{X^{k/2}}{\Xi}\Bigr)^{1/(2k^2)}, \] the lemma follows from \eqref{eq:kernel}: the powers of $R$ that arise have exponents with sum at most $\frac18(1+\frac1k)+\frac1{4k}\le\frac14$, and the factors $X^{\varepsilon_*/(2k^2)}$ and $(\log P)^3$ are absorbed by $X^{-\varepsilon_*}$, because $X\ge P^{8\gamma}$. \end{proof} \begin{lemma}\label{lem:height} Suppose that $J$ is sufficiently large in terms of $k$ and $\gamma$. Then, uniformly for $P^{1/4}\le Q\le P^{k/2}$, \[ \sup_{\alpha\in\mathfrak{N}(Q;P)}|F(\alpha)|\ll P^{1+\eta}\,Q^{-2\tau_k/k}. \] \end{lemma} \begin{proof} Let $\alpha\in\mathfrak{N}(Q;P)$, and let $a$ and $q$ be coprime with $q\le Q$ and $|q\alpha-a|\le QP^{-k}$. By \textup{(A3)}, the number $\Xi_\alpha:=q+P^k|q\alpha-a|$ exceeds $\frac12Q$. Define $\mu$ by $P^\mu=\min\{P,(2Q)^{2/k}\}$, so that $\mu\in[\frac1{2k},1]$, and let $i$ be the largest integer in $[0,J]$ with $(\zeta R)^i\le P^{1-\mu}$. Let $d\in\mathcal{D}_i$ and $Y:=P/d$. Then $Y\ge P^\mu>R$, so that $i0$. Then, for $\alpha\in\mathfrak{M}(P^{1/4};P)$, \[ F(\alpha)\ll P^{1+\omega+\varepsilon_3}\,\Upsilon(\alpha)^{1/(2k)}, \] where the implied constant depends on $\varepsilon_3$ as well. \end{lemma} \begin{proof} Let $a$ and $q$ be coprime with $q\le P^{1/4}$ and $|q\alpha-a|\le P^{1/4-k}$, and put $\beta:=\alpha-a/q$ and $\Xi:=q+P^k|q\alpha-a|=\Upsilon(\alpha)^{-1}$; thus $\Xi\le2P^{1/4}$. We apply Lemma~\ref{lem:bilinear} with $j=J$, $\mathfrak{e}=\emptyset$, $X=P$ and $i:=\lfloor\frac12(J+1)\rfloor$. Then $M_0$ is one of the numbers $P^{1/2}$ and $P^{1/2}R^{-1/2}$, and $M_1=\zeta^iM_0$, so that by \eqref{eq:ai} \begin{equation}\label{eq:M0P} \begin{gathered} P^{1/2}R^{-1/2}\le M_0\le P^{1/2}\le Y\le P^{1/2}R^{1/2},\\ M_1\le M_0P^{\omega},\qquad P\le M_1Y\le P^{1+\omega}. \end{gathered} \end{equation} Let $(\xi_d)$ be complex numbers of modulus $1$. By Cauchy's inequality, in which we extend the sum over $n\in\mathcal{B}$ to all natural numbers $n\le Y$, \begin{equation}\label{eq:cauchy} \Bigl(\sum_{n\in\mathcal{B}}\Bigl|\sum_{d\in\mathcal{D}_i}\xi_d\,e(\alpha d^kn^k)\Bigr|\Bigr)^2\le Y\sum_{n\le Y} \Bigl|\sum_{d\in\mathcal{D}_i}\xi_d\,e(\alpha d^kn^k)\Bigr|^2\le Y\sum_{d_1,d_2\in\mathcal{D}_i}\Bigl|\sum_{n\le Y}e( \alpha hn^k)\Bigr|, \end{equation} where $h:=d_1^k-d_2^k$. By \eqref{eq:kernel}, $|F(\alpha)|^2$ is at most $(\log P)^4$ times the right hand side of \eqref{eq:cauchy}. The terms with $d_1=d_2$ contribute at most $M_1Y^2\le P^{3/2+\omega+\eta/2}$ to it. Let $d_1\ne d_2$. Then $\alpha h=ah/q+\beta h$, and the denominator of $ah/q$ in lowest terms is $q_h:=q/(q,h)$. The inner sum on the right of \eqref{eq:cauchy} is a classical Weyl sum of length $Y$, to which we apply \cite[Theorem~4.1]{Vau1997} together with the bounds \cite[Theorem~4.2 and Lemma~2.8]{Vau1997} for the two factors of the main term. This gives \begin{equation}\label{eq:classical} \sum_{n\le Y}e(\alpha hn^k)\ll q_h^{-1/k}\min\bigl\{Y,|\beta h|^{-1/k}\bigr\}+q^{1/2+\varepsilon_3}\bigl(1+Y^k| \beta h|\bigr)^{1/2}. \end{equation} Since $|h|\le M_1^k$, we have $q(1+Y^k|\beta h|)\le q+(M_1Y)^k|q\alpha-a|\le P^{k\omega}\,\Xi$ by \eqref{eq:M0P}. Hence the second term on the right of \eqref{eq:classical} contributes \[ \ll M_1^2Y\,P^{\varepsilon_3+k\omega/2}\,\Xi^{1/2}\ll P^{13/8+(k+4)\omega/2+\varepsilon_3} \] to the right hand side of \eqref{eq:cauchy}. For the first term we use Cauchy's inequality once more: \[ \sum_{\substack{d_1,d_2\in\mathcal{D}_i\\ d_1\ne d_2}}q_h^{-1/k}\min\bigl\{Y,|\beta h|^{-1/k}\bigr\}\le(\Sigma_1 \Sigma_2)^{1/2}, \] where \[ \Sigma_1:=\sum_{d_1,d_2\le M_1}q_h^{-2/k},\qquad\Sigma_2:=\sum_{\substack{d_1,d_2\le M_1\\ d_1\ne d_2}} \min\bigl\{Y^2,|\beta h|^{-2/k}\bigr\}, \] and $d_1$, $d_2$ now run over all natural numbers up to $M_1$. \emph{The sum $\Sigma_1$.} For $g\in\mathbb{N}$ let $N(g)$ be the number of pairs $(x,y)$ modulo $g$ with $x^k\equiv y^k\pmod g$. Since $(q,h)^{2/k}\le\sum_{g\mid(q,h)}g^{2/k}$, and since $q\le P^{1/4}\le M_1$, \[ \Sigma_1\le q^{-2/k}\sum_{g\mid q}g^{2/k}\Bigl(\frac{M_1}g+1\Bigr)^2N(g)\le4M_1^2q^{-2/k}\sum_{g\mid q}g^{2/k-2} N(g). \] The function $N$ is multiplicative, and we claim that $N(p^e)\le2k(e+1)\,p^{2e-2e/k}$ for every prime power $p^e$. Indeed, there are $p^{2(e-\lceil e/k\rceil)}\le p^{2e-2e/k}$ pairs with $p^e\mid x^k$ and $p^e\mid y^k$. In every other pair the exact power $p^u$ of $p$ dividing $y$ satisfies $ku0$, \begin{equation}\label{eq:Upsint} \int_{\mathfrak{M}(Q_0;P)\setminus\mathfrak{M}(Q;P)}\Upsilon(\alpha)^{2+\delta}\,\mathrm{d}\alpha \ll_\delta P^{-k}Q^{-\delta}. \end{equation} If $\alpha=a/q+\beta$ lies in this set, with $a$ and $q$ as in \textup{(A2)}, then $\Upsilon(\alpha)^{-1}=q(1+P^k|\beta|)>Q$, and the integral is at most \[ \sum_{q\le Q_0}\varphi(q)\int_{q(1+P^k|\beta|)>Q}\frac{\mathrm{d}\beta}{\bigl(q(1+P^k|\beta|)\bigr)^{2+\delta}}\le \frac2{P^k}\sum_{q\le Q_0}q^{-1-\delta}\min\Bigl\{1,\frac q{Q}\Bigr\}^{1+\delta}\ll_\delta P^{-k}Q^{-\delta}. \] By Lemma~\ref{lem:Fmajor}, $|F|^s\ll\Pi^sP^s\,\Upsilon^{s/k}+P^sR^{-s/2}$ on $\mathfrak{M}(Q_0;P)$. Here $s/k\ge4$, because $s\ge4k+1$, and the measure of $\mathfrak{M}(Q_0;P)$ is at most $2R^{1/2}P^{-k}$, by \textup{(A1)}. Hence \eqref{eq:Upsint}, with $\delta=s/k-2\ge2$, gives \[ \int_{\mathfrak{M}(Q_0;P)\setminus\mathfrak{M}(Q;P)}|F|^s\,\mathrm{d}\alpha\ll\Pi^sP^{s-k}Q^{-2}+P^{s-k}R^{(1-s)/2}, \] which is \eqref{eq:pr3}. \end{proof} This completes the proof of Proposition~\ref{prop:prune}. \subsection{The proof of Theorem~\ref{thm:explicit}}\label{ss:major} \begin{proof}[Proof of Theorem~\ref{thm:explicit}] Put $\mathcal Y:=k\bigl(C(h_k)-2T(\Theta)+2R_k(\Theta)+W_k(\Theta)\bigr)$, and let $s$ be an integer with $s>\mathcal Y$. We shall show that $G(k)\le s$; this gives $G(k)\le\lfloor\mathcal Y\rfloor+1$, which is the first assertion of the theorem. \emph{The choice of the parameters.} Let $\delta_0$ and $\varepsilon_2$ be as in \eqref{eq:params}, with $\varepsilon_2\le\delta_0$, let $c_\Theta$, $u_\Theta$ and $\mathcal{G}$ be as in \S\ref{s:pot}, and put \[ b:=k\,c_\Theta\,\tau_k,\qquad\text{so that}\qquad a_*=c_\Theta\,\log\frac{k\,c_\Theta\,u_\Theta}{\mathrm{e}\,b}=c_\Theta\,\Bigl( \log\frac{u_\Theta}{\tau_k}-1\Bigr) \] in \eqref{eq:astar}; this is the value of $b$ for which $k\,a_*+b/\tau_k$ is smallest. Then \begin{equation}\label{eq:Ydelta} k\bigl(\mathcal{G}(u_\Theta)+a_*\bigr)+\frac b{\tau_k}=k\Bigl(\mathcal{G}(u_\Theta)+c_\Theta\,\log\frac{u_\Theta}{\tau_k}\Bigr). \end{equation} We bound $\mathcal{G}(u_\Theta)$ by Lemma~\ref{lem:pot}(i) and let $\delta_0\to0$. Then $\eta_c\to h_k$, $w_c\to w:=\frac1{10}-\frac{h_k}{50}$ and $z_c\to z:=(1-h_k)w$; moreover $u_\Theta\to\frac12(1-\eta_k(\Theta))\sigma(\Theta)=y_k(\Theta)\,\tau_k$ and $c_\Theta\to2/\Theta$, so that $c_\Theta\,\log(u_\Theta/\tau_k)\to W_k(\Theta)$. The integral in Lemma~\ref{lem:pot}(i) tends to $R_k(\Theta)$: since $1-\delta_0-\eta_k(\theta)=(1-\delta_0)\bigl(1-\theta\kappa(\theta)/((1-\delta_0)k)\bigr)$, it is given by the formulae of Lemma~\ref{lem:R} with $(1-\delta_0)k$ in place of $k$, and these are continuous in $k$. As $ \Psi$ and $I$ are continuous, the upper limit of the right hand side of \eqref{eq:Ydelta} is at most \[ k\Bigl(\Psi(z)+2\,I(2w)-2\,T(\Theta)+2R_k(\Theta)+W_k(\Theta)\Bigr) . \] Now $\frac1{16}\le w\le\frac1{10}$, so Lemma~\ref{lem:I} gives $I(2w)=\Lambda-\frac13\log\frac{3-12w}{18w}$. With $h:=h_k$ we have $\frac{3-12w}{18w}=\frac{15+2h}{15-3h}$ and $z=\frac1{50}(1-h)(5-h)$, hence $\frac{1-z}{z}=\frac{45+6h-h^2}{(1-h)(5-h)}$, and therefore $\Psi(z)+2I(2w)=C(h_k)$. Thus the last display equals $\mathcal Y$. Consequently we can fix $\delta_0$ and $\varepsilon_2$ in such a way that the number in \eqref{eq:Ydelta} is smaller than $s$. We then choose a real number $t>b/\tau_k$ so close to $b/\tau_k$ that $r:=s-t$ exceeds $k(\mathcal{G}(u_\Theta)+a_*)$. By Lemma~\ref{lem:pot}(v), $\mathcal{G}(u_\Theta)+a_*\ge \mathcal{G}(\tau_k)-c_\Theta\ge\Psi(\frac1{10})-1>3$, as in \S\ref{ss:arcs}, so that $r>3k$. With these choices \eqref{eq:rst} holds. Finally we fix $\gamma$ and $ \varepsilon$ by \eqref{eq:gammaeps}, and then $J$, $\eta$ and $ \omega$ as in \S\ref{s:setup} and \eqref{eq:Rlarge}. The integer $H$ is arbitrary in the range permitted in \S\ref{s:setup}. \emph{The circle method.} Let $N$ be a large natural number and $P:=N^{1/k}$. By orthogonality, the integral \[ \mathcal R(N):=\int_{\mathbb{T}} F(\alpha)^s\,e(-N\alpha)\,\mathrm{d}\alpha \] is the number of representations of $N$ as a sum of $s$ $k$-th powers of elements of $\mathcal{C}$. We shall show that \begin{equation}\label{eq:asymp} \mathcal R(N)=\Pi^s\,P^{s-k}\bigl(\mathfrak{S}_s(N)\,\mathfrak{J}_s+O(R^{-\nu_0/2})\bigr), \end{equation} where $\mathfrak{S}_s(N)$ and $\mathfrak{J}_s$ are the singular series and the singular integral, and $ \nu_0$ is as in Proposition~\ref{prop:prune}. As $\mathfrak{S}_s(N)\,\mathfrak{J}_s\gg1$, this implies that $ \mathcal R(N)>0$ when $N$ is large, and hence that $G(k)\le s$. Let $Q:=R^{1/10}$, and let $\mathfrak{K}$ be the union of the arcs $\{\alpha\in\mathbb{T}:\|\alpha-a/q\| \le QP^{-k}\}$ with $1\le a\le q\le Q$ and $(a,q)=1$. For large $P$ these arcs are disjoint, and $\mathfrak{M}(Q;P)\subseteq\mathfrak{K}$. For $\alpha=a/q+\xi P^{-k}$ in such an arc, Lemma~\ref{lem:Fmajor} gives \[ F(\alpha)=\Pi\,q^{-1}S(q,a)\,P\,V(\xi)+O\bigl(PR^{-1/2}\bigr),\qquad\text{where}\quad V(\xi):=\int_0^1e(\xi y^k)\, \mathrm{d} y , \] because $v(\xi P^{-k})=P\,V(\xi)$. Both $F(\alpha)$ and the main term are at most $P$ in modulus, so that \[ F(\alpha)^s=\Pi^sP^s\bigl(q^{-1}S(q,a)\bigr)^sV(\xi)^s+O\bigl(P^sR^{-1/2}\bigr). \] As $N=P^k$ and $\operatorname{meas}\mathfrak{K}\le2Q^3P^{-k}$, integration gives \[ \int_{\mathfrak{K}}F(\alpha)^s\,e(-N\alpha)\,\mathrm{d}\alpha=\Pi^s\,\mathfrak{S}_{s,Q}(N)\, \mathfrak{J}_{s,Q}\,P^{s-k}+O\bigl(P^{s-k}R^{-1/5}\bigr), \] where \[ \mathfrak{S}_{s,Q}(N):=\sum_{q\le Q}\sum_{\substack{a=1\\(a,q)=1}}^{q}\bigl(q^{-1}S(q,a)\bigr)^se\Bigl(-\frac{Na}{q} \Bigr),\qquad \mathfrak{J}_{s,Q}:=\int_{-Q}^{Q}V(\xi)^se(-\xi)\,\mathrm{d}\xi . \] Recall that $s\ge4k+1$. By the classical theory \cite[Chapters~2 and~4]{Vau1997}, $S(q,a)\ll q^{1-1/k}$ and $V(\xi)\ll\min\{1,|\xi|^{-1/k}\}$, so that $\mathfrak{S}_{s,Q}(N)=\mathfrak{S}_s(N)+O(Q^{-2})$ and $\mathfrak{J}_{s,Q}=\mathfrak{J}_s+O(Q^{-3})$ with the complete singular series $\mathfrak{S}_s(N)$ and singular integral $\mathfrak{J}_s$; moreover $\mathfrak{S}_s(N)\ll1$, and $\mathfrak{S}_s(N)\gg1$ uniformly in $N$ when $s\ge4k$ \cite[Theorem~4.6]{Vau1997}, and $\mathfrak{J}_s=\Gamma(1+\frac1k)^s\Gamma(\frac sk)^{-1}>0$ (this is the value at $1$ of the density of the sum of the $k$-th powers of $s$ independent random variables that are uniformly distributed on $[0,1]$). On the complement of $\mathfrak{K}$ we use \eqref{eq:prune}, noting that $\mathbb{T}\setminus\mathfrak{K}\subseteq\mathbb{T}\setminus\mathfrak{M}(Q;P)$ and that $Q^{-2}=R^{-1/5}$. We find that \[ \mathcal R(N)=\Pi^sP^{s-k}\bigl(\mathfrak{S}_s(N)\,\mathfrak{J}_s+O(R^{-1/5})\bigr)+O\bigl(P^{s-k}(R^{-1/5} +R^{-\nu_0})\bigr). \] By Lemma~\ref{lem:density} there is a number $c_J>0$, depending on $J$ only, with $\Pi\ge(c_J/\log P)^{J}$; hence $\Pi^s\ge R^{-\nu_0/2}$ when $P$ is large. Since $\nu_0<\frac15$, this gives \eqref{eq:asymp}. \emph{The second assertion.} We differentiate $C$ term by term. For $0\le h\le\frac15$, \begin{align*} C'(h)&=\frac{6-2h}{45+6h-h^2}+\frac1{1-h}+\frac1{5-h}-\frac23\Bigl(\frac{2}{15+2h}+\frac{3}{15-3h}\Bigr)\\ &\le\frac6{45}+\frac54+\frac5{24}-\frac23\Bigl(\frac{2}{15.4}+\frac{3}{15}\Bigr)<\frac75 . \end{align*} As $h_k\le\frac15$ for $k\ge37$, we get $k\,C(h_k)\le C_0k+\frac75kh_k=C_0k+\frac{252\,k}{25(k-1)}\le C_0k+11$. \end{proof} By \eqref{eq:asymp} and Lemma~\ref{lem:density}, the number of representations that we count satisfies \[ \mathcal R(N)\asymp\Bigl(\frac{H}{\log P}\Bigr)^{Js}N^{s/k-1}. \] When $H=1$, that is, when the primes are taken from the single dyadic interval $(R,2R]$, this falls short of the order of magnitude $N^{s/k-1}$ by the factor $(\log P)^{Js}$. When $H$ equals $\lfloor\omega\log R/\log2\rfloor$, that is, for the union of dyadic intervals of \S\ref{ss:density}, we have $\mathcal R(N)\asymp N^{s/k-1}$. \begin{remark}\label{rem:W95} Lemma~\ref{lem:ls} is \cite[Lemma~3.1]{Woo1995} with the sets of that paper replaced by arbitrary sets of integers, and with bounded coefficients attached to one of the variables; the proof is the same. For smooth Weyl sums the passage to a bilinear sum costs a factor $P^{\varepsilon}R$ \cite[Lemma~2.3]{Woo1995}, whereas in Lemma~\ref{lem:bilinear} it costs a factor $(\log P)^2$. In this section a factor $d$ of a suitable size is split off from the integers counted by $F$ in Lemmas~\ref{lem:rescale}, \ref{lem:weyl} and~\ref{lem:BL}, and the unrestricted factor $m$ gives the classical approximation of Lemma~\ref{lem:Fmajor}; for the variables of \cite{CD2026}, in which the complementary factor is smooth, the theory of smooth Weyl sums on the major arcs \cite{Vau1989,VW1991} would be needed instead. \end{remark} \subsection{Almost all natural numbers}\label{ss:almost} We now prove Theorem~\ref{thm:almostexplicit}. The argument is the familiar one, in which the contribution of the minor arcs is estimated in mean square over $n$ by means of Bessel's inequality, so that a mean value of order $2\ell$ controls the representations by $\ell$ $k$-th powers; compare \cite[\S9]{BW2023}. Let $\mathcal Y$ be the number defined in the proof of Theorem~\ref{thm:explicit}, let $\ell$ be an integer with $2\ell>\mathcal Y$, and let all parameters be chosen as in that proof with $s:=2\ell$. Then \eqref{eq:rst}, \eqref{eq:gammaeps} and \eqref{eq:Rlarge} hold, so that Proposition~\ref{prop:prune} is available with $s=2\ell$; moreover $2\ell>4.19\,k$, by \S\ref{ss:arcs}, so that $\ell\ge2k+1$. For a large real number $N$ let $P:=N^{1/k}$, and for $n\in\mathbb{N}$ let \[ \mathcal R_\ell(n):=\int_{\mathbb{T}}F(\alpha)^\ell\,e(-n\alpha)\,\mathrm{d}\alpha , \] which is the number of representations of $n$ as a sum of $\ell$ $k$-th powers of elements of $\mathcal{C}$. Let $\mathfrak{S}_\ell(n)$ and $\mathfrak{S}_{\ell,Q}(n)$ be the singular series and its partial sums, as in \S\ref{ss:major} with $\ell$ and $n$ in place of $s$ and $N$, and put \[ \mathfrak{J}_\ell(u):=\Gamma\bigl(1+\tfrac1k\bigr)^{\ell}\,\Gamma\bigl(\tfrac{\ell}{k}\bigr)^{-1} u^{\ell/k-1}\qquad(02.09$. As $S(q,a)\ll q^{1-1/k}$ and $V(\xi)\ll\min\{1,|\xi|^{-1/k}\}$, the singular series converges absolutely, $\mathfrak{S}_\ell(n)\ll1$, and the difference $\mathfrak{S}_{\ell,Q}(n)-\mathfrak{S}_\ell(n)$ is $O(Q^{2-\ell/k})$ uniformly in $n$, and \[ \mathfrak{J}_{\ell,Q}(u)=\int_{-\infty}^{\infty}V(\xi)^\ell e(-\xi u)\,\mathrm{d}\xi+O(Q^{1-\ell/k}) \] uniformly in $u$. The last integral is the value at $u$ of the density of the sum of the $k$\nobreakdash-th powers of $\ell$ independent random variables that are uniformly distributed on $[0,1]$. For $0\Pi^\ell P^{\ell-k}R^{-\nu_0/8}$ is $\ll P^kR^{-\nu_0/4}=NR^{-\nu_0/4}$. For all other $n$ with $\frac12N\mathcal Y$, so that Proposition~\ref{prop:almost} is available, and $\ell>2.09\,k$. Let $\mathcal{N}$ denote the set of all natural numbers when $k$ is not a power of $2$, and the set of all natural numbers $n\equiv j\pmod{4k}$ in the situation of part~(ii). We claim that \begin{equation}\label{eq:sslower} \mathfrak{S}_\ell(n)\gg1\qquad\text{uniformly for }n\in\mathcal{N}. \end{equation} When $k$ is not a power of $2$ this is \cite[Theorem~4.6]{Vau1997}, because $\ell\ge\frac32k$. When $k$ is a power of $2$ it follows from the classical theory of the singular series \cite[Lemma~2.13 and Theorem~4.5]{Vau1997}, as in the proof of \cite[Lemma~3.2]{BW2024b}; we recall the facts on which this rests. Since $\ell\ge2k+1$ and $S(q,a)\ll q^{1-1/k}$, the singular series is an absolutely convergent product $\prod_p\chi_p(n)$ of local densities, and $\chi_p(n)=1+O(p^{-1-1/k})$ uniformly in $n$; hence the product over the primes $p>p_0$ is at least $\frac12$ for every $n$, if $p_0$ is large in terms of $k$. For each prime $p$ the density $\chi_p(n)$ is bounded below by a positive number that depends only on $p$, $k$ and $\ell$, provided that the congruence \[ x_1^k+\dots+x_\ell^k\equiv n \] has a solution with $p\nmid x_1$ modulo $4k$ when $p=2$, and modulo $p$ when $p$ is odd: the modulus $4k$ is the one that \cite[Lemma~2.13]{Vau1997} prescribes for $p=2$ when $k$ is a power of $2$, and for odd $p$ one has $p\nmid k$, so that a solution modulo $p$ with $p\nmid x_1$ is non-singular. For $n\equiv j\pmod{4k}$ with $1\le j\le\ell$ a solution modulo $4k$ with $x_1$ odd is $x_1=\dots=x_j=1$, $x_{j+1}=\dots=x_\ell=0$. For odd $p$ let $g:=(k,p-1)$. There are $(p-1)/g$ non-zero $k$-th power residues modulo $p$, so that every residue class modulo $p$ is a sum of $g$ $k$-th powers, by the Cauchy--Davenport theorem; as $\ell-1\ge k\ge g$, we may take $x_1=1$ and represent $n-1$ by the remaining variables. (When $\ell\ge4k$ one may quote \cite[Theorem~4.6]{Vau1997} again.) Let $N$ be large. For $\frac12N0$. By Proposition~\ref{prop:almost} and \eqref{eq:sslower}, all $n\in\mathcal{N}$ with $\frac12N0$, and are therefore sums of $\ell$ $k$-th powers of natural numbers. Here $R=P^\eta=N^{\eta/k}$, so that the number of exceptions is $O(N^{1-\delta})$ with $\delta:=\eta\nu_0/(4k)$. We apply this with $2^{-i}N$ in place of $N$ for all integers $i\ge0$ with $2^{-i}N\ge N^{1/2}$, and conclude that the number of $n\le N$ in $\mathcal{N}$ that are not sums of $\ell$ $k$-th powers of natural numbers is $O(N^{1-\delta})$. This proves the first assertions of (i) and (ii). The bound for $G^+(k)$ in (i) follows on taking for $\ell$ the least integer that exceeds $\frac12\mathcal Y$. For the last assertion of (ii) we apply what has been proved with $\max\{\ell,4k\}$ in place of $\ell$, and with all $j$ in the range $1\le j\le4k$. \end{proof} \subsection{The mean value of $F$}\label{ss:mvproof} Theorem~\ref{thm:mvexplicit} is contained in what has been proved, as we now show. \begin{proof}[Proof of Theorem~\ref{thm:mvexplicit}] Let $s_1$ be as in the theorem. In the proof of Theorem~\ref{thm:explicit} the number $s$ is an integer that exceeds $\mathcal Y$, but the choice of the parameters that is described there does not depend on $s$ being an integer. So the parameters can be chosen as in that proof with $s_1$ in place of $s$, and then \eqref{eq:rst}, \eqref{eq:gammaeps} and \eqref{eq:Rlarge} hold with $s=s_1$. Let $P$ be large. By Lemma~\ref{lem:density} we have $\frac12\Pi P\le\#\mathcal{C}\le2\,\Pi P$ and $\Pi\gg(H/\log P)^J$, uniformly in $H$, and $\Pi^{s_1}\ge R^{-\nu_0/2}$, as in the proof of Theorem~\ref{thm:explicit}. Let $1\le Q\le R^{1/4}$. By \eqref{eq:prune}, \[ \int_{\mathbb{T}\setminus\mathfrak{M}(Q;P)}|F(\alpha)|^{s_1}\,\mathrm{d}\alpha\ll\Pi^{s_1}P^{s_1-k}Q^{-2} +P^{s_1-k}R^{-\nu_0}\ll(\#\mathcal{C})^{s_1}P^{-k}\bigl(Q^{-2}+R^{-\nu_0/2}\bigr). \] As $|F|\le\#\mathcal{C}$, the same bound holds with $s$ in place of $s_1$ for every real $s\ge s_1$. This is (ii) with $\nu_1:=\frac12\eta\,\nu_0$, since $R^{-\nu_0/2}=P^{-\nu_1}$ and $P^{\nu_1}\le R^{1/4}$. By \textup{(A1)} the set $\mathfrak{M}(1;P)$ has measure at most $2P^{-k}$, so that (ii) with $Q=1$ gives the upper bound in (i). For the lower bound we note that $|e(\alpha n^k)-1|\le2\pi|\alpha|P^k$ for $n\le P$. Hence $|F(\alpha)|\ge\frac12\#\mathcal{C}$ when $|\alpha|\le(4\pi P^k)^{-1}$, and the integral in (i) is at least $(\frac12\#\mathcal{C})^s(2\pi P^k)^{-1}$. Finally, every element of $\mathcal{C}$ is at most $P$, and its prime factors are at most $\zeta R\le R^2=P^{2\eta}$; together with the bounds for $\#\mathcal{C}$ and $\Pi$ just quoted this gives (iii). \end{proof} \section{Evaluation of the bound}\label{s:eval} In this section the functions of Definition~\ref{def:saving} are made explicit, Theorems~\ref{thm:main} and~\ref{thm:all} are deduced from Theorem~\ref{thm:explicit}, and Theorem~\ref{thm:almost} is deduced from Theorem~\ref{thm:almostexplicit}. Recall the notation $v_D$ and $U_D$ from \eqref{eq:vD}. \subsection{The functions $\sigma$, $\theta^*$ and $I$} We begin with the monotonicity of $\varsigma$ and with closed formulae for $\sigma$ and $\theta^*$. \begin{lemma}\label{lem:theta} \textup{(i)} The function $\varsigma$ is continuous on $[1,\infty)$. It decreases on $[1, \frac{50}{13}]$, increases on $[\frac{50}{13},4]$, decreases on $[4,\frac{540}{121}]$ and increases on $[\frac{540}{121},5]$. For each integer $D\ge5$ one has $D0$ and $(D+2)^20$ and $\Theta>\frac95$ be real numbers with $\eta_k(\Theta)<1$. Put $t_0=\frac95$, $t_1=\frac94$, $t_2=\frac{25}8$, $t_3=\frac{160}{37}$, $t_4=16$ and $\kappa_1=4$, $\kappa_2=8$, $\kappa_3=13$, $\kappa_4=21$. If $\Theta\le16$ then, with $t_i':=\min\{t_i,\Theta\}$, \[ R_k(\Theta)=\sum_{\substack{1\le i\le4\\ t_{i-1}<\Theta}}\frac{\kappa_i}{k}\, \log\frac{t_i'\,(k-\kappa_it_{i-1})}{t_{i-1}\,(k-\kappa_it_i')}+\sum_{\substack{1\le i\le3\\ t_i<\Theta}}\frac1{t_i}\, \log\frac{k-\kappa_it_i}{k-\kappa_{i+1}t_i}. \] If $\Theta>16$ then, with $a_k:=\frac12\bigl(\sqrt{4k+25}-5\bigr)$, \begin{align*} R_k(\Theta)&=R_k(16)+\int_{16}^{\Theta}\frac{(2\theta+5)\,\mathrm{d}\theta}{\theta\,(k-\theta^2-5\theta)}\\ &=R_k(16)+\frac5k\log\frac{\Theta}{16}+\frac1{a_k}\log\frac{a_k-16}{a_k-\Theta}+\frac1{a_k+5} \log\frac{a_k+5+\Theta}{a_k+21}. \end{align*} Moreover $k\,R_k(16)$ is a decreasing function of $k$, and $k\,R_k(16)<60$ for $k\ge1000$. \end{lemma} \begin{proof} On $(t_{i-1},t_i]$ we have $-\log(1-\eta_k(\theta))=-\log(1-\kappa_i\theta/k)$, with differential $\frac{\kappa_i\,\mathrm{d}\theta}{k-\kappa_i\theta}$, and $\int\frac{\kappa\,\mathrm{d}\theta}{\theta(k-\kappa\theta)}=\frac\kappa k \log\frac{\theta}{k-\kappa\theta}$. At $t_i$ $(i\le3)$ the function jumps by $\log\frac{k-\kappa_it_i}{k-\kappa_{i+1}t_i}$. The number $a =a_k$ is the positive root of $a(a+5)=k$. For $\theta\ge16$ we have $1-\eta_k(\theta)=(k-\theta^2-5\theta)/k$, which equals $(a-\theta)(a+5+\theta)/k$, and \[ \frac{2\theta+5}{\theta\,(a-\theta)(a+5+\theta)}=\frac5k\cdot\frac1\theta+\frac1a\cdot\frac1{a-\theta}+\frac1{a+5} \cdot\frac1{a+5+\theta}, \] which gives the formula for $\Theta>16$. Each summand of $k\,R_k(16)$ decreases as $k$ grows: this is clear for the first sum, and for the jumps it follows from the fact that $y\mapsto y\log(1+\frac{a}{y-b})$ is decreasing for $y>b$ when $b>a>0$. Finally $1000\,R_{1000}(16)=59.96\ldots$. \end{proof} \subsection{Moderate $k$}\label{ss:moderate} For $k\ge37$ let \[ \Theta_{\max}(k):=\begin{cases}\min\{\frac k{16},\frac{25}8\},&37\le k\le81,\\[1pt] \min\{\frac k{26}, \frac{160}{37}\},&82\le k\le174,\\[1pt] \frac{3k}{121},&k\ge175,\end{cases} \qquad \Theta^\sharp(k):=\min\bigl\{\Theta_{\max}(k),\tfrac9{10}\,a_k\bigr\}, \] where $a_k=\frac12(\sqrt{4k+25}-5)$ is the positive root of $a(a+5)=k$, as in Lemma~\ref{lem:R}. Thus $\Theta_{\max}(k)$ is the largest number $\Theta$ with $\Theta\le\varpi(\Theta)k$, and every $\Theta\in[\frac94,\Theta_{\max}(k)]$ has this property. Moreover $\Theta^\sharp(k)\ge\frac94$, because $\Theta_{\max}(k)\ge\frac{37}{16}$ and $\frac9{10}a_k\ge\frac9{10}a_{37}>\frac94$; and $\Theta(\Theta+5)68.2$. We have seen in \S\ref{ss:moderate} that $\Theta=\Theta^\sharp(k)$, and that this number is admissible. As $\Theta>16$, we have $\kappa(\Theta)=\Theta+5$, and since $k=a(a+5)$, \[ 1-\eta_k(\Theta)=\frac{(a-\Theta)(a+5+\Theta)}{k}=\frac{19a+50}{100\,(a+5)} . \] \emph{The term $T$.} By Lemma~\ref{lem:T}, \begin{align*} -2k\,T(\Theta)\le-\frac{4k}{\Theta+2}=-\frac{40\,a(a+5)}{9a+20}&=-\frac{40}9\,a-\frac{1000}{81}+ \frac{20000}{729\,(a+\frac{20}9)}\\ &<-\frac{40}9\sqrt k+\frac{100}9-\frac{1000}{81}+0.39<-\frac{40}9\sqrt k-0.84 . \end{align*} \emph{The term $R_k$.} By Lemma~\ref{lem:R}, and since $k/a=a+5$, \[ 2k\,R_k(\Theta)=2k\,R_k(16)+10\log\frac\Theta{16}+2(a+5)\log\frac{a-16}{a-\Theta}+2a\log\frac{a+5+\Theta}{a+21}. \] Here $2kR_k(16)<120$, and $10\log\frac\Theta{16}<10\log\frac{9\sqrt k}{160}=5\log k-10\log\frac{160}9<5\log k-28.77$. Next, $\frac{a-16}{a-\Theta}=10\bigl(1-\frac{16}a\bigr)$, so that the third term is smaller than \[ 2(a+5)\Bigl(\log10-\frac{16}a\Bigr)<2a\log10+10\log10-32<2a\log10-8.97. \] Further $\frac{a+5+\Theta}{a+21}=\frac{19}{10}\bigl(1-\frac{21-50/19}{a+21}\bigr)$ and $21-\frac{50}{19}>18.368$, so that the fourth term is smaller than \[ 2a\log\frac{19}{10}-36.736\,\frac{a}{a+21}<2a\log\frac{19}{10}-28.08, \] because $\frac a{a+21}>\frac{68.2}{89.2}$. Finally $2a\log19<2\sqrt k\log19-4.9\log19<2\sqrt k\log19-14.42$. Altogether \[ 2k\,R_k(\Theta)<2\sqrt k\log19+5\log k+39.76 . \] \emph{The term $W_k$.} By Lemma~\ref{lem:T}, $\sigma(\Theta)\le1/(\Theta^2+\Theta-1)$. Hence \begin{align*} y_k(\Theta)&\le\frac{9.027901\,a(a+5)}2\cdot\frac{19a+50}{100\,(a+5)}\cdot\frac{100}{81a^2+90a-100}\\ &=\frac{19\cdot9.027901}{162}\Bigl(1+\frac{\frac{260}{171}a+\frac{100}{81}}{a^2+\frac{10}9a-\frac{100}{81}}\Bigr)\le \frac{19\cdot9.027901}{162}\Bigl(1+\frac{1.53}a\Bigr), \end{align*} the last step being equivalent to $\bigl(1.53-\frac{260}{171}\bigr)a^2+\bigl(1.7-\frac{100}{81}\bigr)a\ge\frac{17}9$, which holds for $a\ge4$. With $L_0:=\log\frac{19\cdot9.027901}{162}=0.05716\ldots$ we obtain $\log y_k(\Theta)\le L_0+\frac{1.53}a$, and since $2k/\Theta=\frac{20}9(a+5)$, \[ k\,W_k(\Theta)=\frac{20}9(a+5)\log y_k(\Theta)\le\frac{20}9\Bigl(L_0\,a+5L_0+1.53+\frac{7.65}{a}\Bigr)< \frac{20}9L_0\sqrt k+3.98 ; \] here we used that $a<\sqrt k-2.45$ and $a>68.2$. By the second inequality of Theorem~\ref{thm:explicit}, \[ G(k)\le C_0k+k\bigl(-2T(\Theta)+2R_k(\Theta)+W_k(\Theta)\bigr)+12. \] The three estimates now give the bound of the proposition, as $12-0.84+39.76+3.98<55$. Finally $c_3<1.572$, and \[ 1.572\sqrt k+5\log k+55<3\sqrt k\qquad(k\ge5000), \] since this holds for $k=5000$ and $1.428\sqrt k-5\log k$ increases with $k$. \end{proof} \begin{proposition}\label{prop:asymp} Let $0<\lambda<1$ be fixed, and put \[ \phi(\lambda):=-\frac4\lambda+2\log\frac{1+\lambda}{1-\lambda}+\frac2\lambda\, \log\frac{9.027901\,(1-\lambda^2)}{2\lambda^2}. \] Then $G(k)\le C_0\,k+\phi(\lambda)\sqrt k+5\log k+O_\lambda(1)$. The function $\phi$ attains its minimum at $\lambda_0:=(9.027901/11.027901)^{1/2}=0.90478\ldots$, and \[ \phi(\lambda_0)=-\frac4{\lambda_0}+2\log\frac{1+\lambda_0}{1-\lambda_0}=1.57112\ldots,\qquad\phi\bigl(\tfrac9{10} \bigr)=c_3=1.57146\ldots . \] \end{proposition} \begin{proof} Let $k$ be large and $\Theta:=\lambda\sqrt k$. Then $\Theta$ is admissible, $\eta_k(\Theta)=\lambda^2+5\lambda/\sqrt k$ and $a_k=\sqrt k-\frac52+O(k^{-1/2})$. We argue as in the proof of Proposition~\ref{prop:large}. First, $-2kT(\Theta)\le-4k/(\Theta+2)=-4\sqrt k/\lambda+O_\lambda(1)$. Secondly, $\frac{a_k-16}{a_k-\Theta}=\frac1{1-\lambda}\bigl(1+O_\lambda(k^{-1/2})\bigr)$ and $\frac{a_k+5+\Theta}{a_k+21}=(1+\lambda)\bigl(1+O(k^{-1/2})\bigr)$, so that $2kR_k(\Theta)=2\sqrt k\log\frac{1+\lambda}{1-\lambda}+5\log k+O_\lambda(1)$. Thirdly, $1-\eta_k(\Theta)\le1-\lambda^2$ and $\sigma(\Theta)\le\Theta^{-2}$, so that $y_k(\Theta)\le9.027901(1-\lambda^2)/(2\lambda^2)$, and $kW_k(\Theta)=(2\sqrt k/\lambda)\log y_k(\Theta)\le(2\sqrt k/\lambda)\log\bigl(9.027901(1-\lambda^2)/(2\lambda^2)\bigr)$. The first assertion now follows from Theorem~\ref{thm:explicit}. A short computation gives \[ \phi'(\lambda)=-\frac2{\lambda^2}\,\log\frac{9.027901\,(1-\lambda^2)}{2\lambda^2}, \] which is negative for $\lambda<\lambda_0$ and positive for $\lambda>\lambda_0$, the logarithm being zero at $\lambda_0$. This gives the remaining assertions. \end{proof} Thus the bound is smallest, to this order, when $\Theta$ is such that the term $W_k(\Theta)$ vanishes, in accordance with the remarks following Theorem~\ref{thm:explicit}. \begin{proof}[Proof of Theorems~\ref{thm:main} and~\ref{thm:all}] For $k>5000$ we have $G(k)\mathcal Y$ is $\lceil\frac12G^\sharp(k)\rceil$, because $k\,B^\sharp(k)$ is not an integer. By Proposition~\ref{prop:moderate} and its proof, $\mathcal Y<7.39\,k$ and $G^\sharp(k)\le C_0k+9.82\sqrt k$, so that \[ \bigl\lceil\tfrac12G^\sharp(k)\bigr\rceil\le\tfrac12\bigl(G^\sharp(k)+1\bigr)\le\tfrac12C_0k+4.91\sqrt k+\tfrac12 <\tfrac12C_0k+5\sqrt k ; \] note that $0.09\sqrt k>\frac12$ for $k\ge37$. For $k\ge5000$ we take $\Theta=\frac9{10}a_k$. Then, by the inequality $k\,C(h_k)\le C_0k+11$ of Theorem~\ref{thm:explicit} together with the three estimates in the proof of Proposition~\ref{prop:large}, we have $\mathcal Y\le C_0k+c_3\sqrt k+5\log k+54$, since $11-0.84+39.76+3.98<54$. Hence $\mathcal Y\mathcal Y^\sharp(k)$ in each case. For $37\le k\le5000$ we have $\mathcal Y^\sharp(k)=k\,B^\sharp(k)-15\log k+54$ for $k\ge70000$. The final assertion of the corollary follows from the proof of Proposition~\ref{prop:asymp}, which shows that $k\bigl(C(h_k)-2T(\Theta)+2R_k(\Theta)+W_k(\Theta)\bigr)\le C_0k+\phi(\lambda)\sqrt k+5\log k+O_\lambda(1)$ for $\Theta=\lambda\sqrt k$; we take $\lambda=0.90478$, for which $\phi(\lambda)<1.5712$. Theorem~\ref{thm:mv} is the case $s_1=C_0k+10\sqrt k$ of the corollary, respectively the case $s_1=C_0k+3\sqrt k$, with $H$ the largest integer that is permitted in \S\ref{s:setup}. For this $H$ the set $\mathcal{C}$ is the set \eqref{eq:Cdef}, in which $J$ is any natural number that is sufficiently large in terms of $k$, as in \S\ref{s:setup}, and $\omega=\eta/(64ks_1)$, by \eqref{eq:Rlarge} with $s=s_1$ (see \S\ref{ss:mvproof}); the bound $\#\mathcal{C}\gg P$ is Theorem~\ref{thm:mvexplicit}(iii). \end{proof} \begin{remark}\label{rem:small} The number $G^\sharp(k)$ is smaller than the bound \eqref{eq:BW} for $37\le k\le5000$ (see Table~\ref{tab:values}). The function $B^\sharp$ is not monotone: for instance, it has local maxima at $k=81$ and $k=174$, the last values of $k$ for which $\Theta_{\max}(k)$ equals $\frac{25}8$ and $ \frac{160}{37}$; this is why the largest value of $(G^\sharp(k)-C_0k)/\sqrt k$ occurs at $k=175$. The choice of $\Theta^\sharp$ is close to optimal. Indeed, for fixed $k$ the function $\Theta\mapsto B(k,\Theta)$ is continuous on the interval of admissible $\Theta$, and \[ \frac{\partial B}{\partial\Theta}(k,\Theta)=-\frac2{\Theta^2}\,\log y_k(\Theta) \] wherever the derivative exists. This follows from the definitions: $\mathrm{d} T(\Theta)=\Theta^{-1}\mathrm{d}\log\sigma(\Theta)$, because $\theta^*(\sigma(\Theta))=\Theta$ unless $\sigma$ is constant near $\Theta$; $\mathrm{d} R_k(\Theta)=-\Theta^{-1}\mathrm{d}\log(1-\eta_k( \Theta))$; and the jumps of $2R_k$ and $W_k$ at the discontinuities of $\eta_k$ cancel. As $y_k$ is decreasing, $B(k,\,\cdot\,)$ decreases as long as $y_k(\Theta)>1$ and increases thereafter. For $k\le1132$ its least value is therefore attained at the largest admissible $\Theta$, which is $\Theta^\sharp(k)$, and for $k\ge1133$ at the solution of $y_k(\Theta)=1$, which is $(\lambda_0+o(1))\sqrt k$ as $k\to\infty$. For $1133\le k\le5000$ this solution exceeds $\Theta^\sharp(k)$ for $3623$ of the $3868$ values of $k$, among them all $k\ge2313$, in accordance with $\lambda_0>\frac9{10}$. For $37\le k\le5000$ the least value of $B(k,\,\cdot\,)$ is smaller than $B^\sharp(k)$ by less than $10^{-5}$; the corresponding integer is $G^\sharp(k)-1$ for $18$ values of $k$, and $G^\sharp(k)$ for all others. For $k=10^6$ the optimal choice is $\Theta=902.36$, and it gives $6391169$ in place of the last entry of Table~\ref{tab:values}. The numbers for small $k$ are not optimised in other respects. The step function $\kappa$ is a crude majorant for the rounding losses, and no use is made of the sharper mean value estimates for smooth Weyl sums that are available for moderate $k$. The term $5\log k$ in Propositions~\ref{prop:large} and~\ref{prop:asymp} is an artefact of the choice $\kappa(\theta)=\theta+5$ for large $\theta$. \end{remark} \subsection{Numerical verification}\label{ss:numerics} The paper is accompanied by a Python program (using NumPy), which is available as the ancillary file \texttt{verify\_explicit\_waring.py}. Its r\^ole is twofold. First, it evaluates $B^\sharp(k)$ for $37\le k\le5000$ from the formulae of Lemmas~\ref{lem:theta}--\ref{lem:R}; this is the only computation on which the proofs depend (Proposition~\ref{prop:moderate}; the numbers $E^\sharp(k)$ of Proposition~\ref{prop:fracvalues}(i) are obtained from these values by a few arithmetical operations). The series in Lemma~\ref{lem:I}(i) is summed up to $D=10^6$ and the remainder is bounded by that lemma, with the upper bound used for $\Lambda$ and the lower bound for $T$. The computation is done in double precision arithmetic. The quantities involved are of moderate size, so that the accumulated rounding errors in $k\,B^\sharp(k)$ are of order $10^{-9}$ at most. The bounds for $B^\sharp$ stated in Proposition~\ref{prop:moderate} hold with a margin of at least $4\cdot10^{-5}$; the numbers $k\,B^\sharp(k)$ differ from the nearest integer by at least $1.3\cdot10^{-4}$, so that the integers $G^\sharp(k)$ are determined reliably; and the inequalities for $G^\sharp(k)$ in parts~(ii) and~(iii) hold with a margin of at least $0.025$. As a safeguard against programming and rounding errors, the program contains a second, independently written implementation of the formulae of Lemmas~\ref{lem:theta}\nobreakdash--\ref{lem:R} in $40$-digit decimal arithmetic; the two sets of values agree to within $10^{-10}$ and give the same integers $G^\sharp(k)$. As both implementations use the same closed formulae, these are compared with the definitions separately (see below). The complete list of values is printed by the option \texttt{--list}. The numbers $\frac12\mathcal Y^\sharp(k)-\chi_0k/\Theta^\sharp(k)$, whose integer parts enter the definition of $E^\sharp(k)$ in \S\ref{ss:frac}, differ from the nearest integer by at least $1.3\cdot10^{-5}$, and the inequalities of Proposition~\ref{prop:fracvalues}(i) hold with a margin of at least $0.5$. The program also confirms the elementary numerical inequalities stated in the proofs of Theorems~\ref{thm:explicit} and~\ref{thm:almost}, of Corollary~\ref{cor:mvranges}, of Propositions~\ref{prop:large}, \ref{prop:asymp} and~\ref{prop:fracvalues}, and of Lemma~\ref{lem:R}, and the numbers quoted after Theorem~\ref{thm:almost} and after its proof, after Theorem~\ref{thm:frac}, and in Table~\ref{tab:frac}; in particular the three inequalities in the proof of Proposition~\ref{prop:large} are compared with the exact values of the three terms at $45\,001$ values of $k$ between $5000$ and $10^{12}$. Secondly, it carries out consistency checks which are not needed for the proofs but guard against errors in the bookkeeping. The closed formulae of Lemmas~\ref{lem:theta}, \ref{lem:I} and~\ref{lem:R} are compared with the definitions; Lemma~\ref{lem:saving} is tested at $5.4\cdot10^5$ parameters, chosen at random and at the boundary of the admissible region, and the exponents of Lemmas~\ref{lem:vdc} and~\ref{lem:mv} are tested on explicit exponential sums; the statements of \S\ref{s:pot} are tested on tables of the potential for thirteen pairs $(k,\Theta)$; the identities and inequalities of \S\S\ref{s:setup}, \ref{s:circle} and~\ref{s:ls} are tested on random data and on a small example of the set of variables, in part in exact arithmetic; and the numerical statements of \S\S\ref{ss:decide}, \ref{ss:inter} and~\ref{ss:CDconst} are reproduced. One of these checks concerns the method rather than the arithmetic. The recursion that the potential is designed to handle, \[ \widetilde\Phi(x,\lambda)=\min\Bigl\{kx,\ k\lambda\Psi(\lambda/x),\ \min_\theta\max_{\mu\le\lambda}\bigl[3\lambda-\mu+\widetilde\Phi \bigl(x(1-\theta/k),\mu\bigr)\bigr]\Bigr\}, \] with the steps $\theta\in[\frac95,\Theta]$ permitted by Corollary~\ref{cor:fibre}, is solved by dynamic programming for $(k,\Theta)=(40,\frac52)$, $(100,\frac{50}{13})$ and $(250,\frac{750}{121})$. With $b$ as in the proof of Theorem~\ref{thm:explicit}, the least value of $r/k$ with $\sup_\lambda(\widetilde\Phi(1,\lambda)-r\lambda)\le b$ comes out as $6.385$, $6.531$ and $6.566$, against the upper bounds $6.470$, $6.562$ and $6.573$ for $\mathcal{G}(u_\Theta)+a_*$ on which Theorem~\ref{thm:explicit} rests; thus the potential loses little. The complete list of the checks, with their outcomes, is part of the documentation of the program. The part of the program that concerns Appendix~\ref{s:appendix} is described at the end of that appendix. \section{A large sieve estimate}\label{s:ls} The bound of Weyl type of \S\ref{ss:weyl} rests on moments of order $2k$ of two sets of integers of size about $P^{1/2}$, and at that order nothing better is known for these sets than for the smooth numbers that contain them. On the other hand the moments of order about $C_0k$ of the sums $F_j^{\mathfrak{e}}$ exceed the expected size by a small power of $P$ only (Corollary~\ref{cor:moment}), whereas for a smooth Weyl sum the admissible exponent at this order is $k\,\mathfrak{d}(C_0k)=0.0045\,k$. In this section we show that these moments yield a second bound of Weyl type for $F$, by the variant of Vinogradov's method that is due to Vaughan \cite[\S10]{Vau1989}, in the form given to it by Wooley \cite[Lemma~4.1]{Woo1995}: H\"older's inequality is applied to the outer variable of a bilinear sum, and the large sieve to the points $\alpha m^k$. For smooth Weyl sums the moment must have order about $k\log k$, and one arrives at the exponent of \cite{Woo1995}; for $F$ the order $C_0k$ suffices. The new bound is stronger than Lemma~\ref{lem:height} on arcs of height below $P^{0.41\,k}$, roughly, and it gives a bound with an exponent of order $1/k$ on all minor arcs in the classical sense. It is weaker on the arcs of larger height, and these turn out to decide the number of variables (\S\ref{ss:decide}); so the results of this section are not used in the proofs of Theorems~\ref{thm:main} and~\ref{thm:all}. They are what is needed for the fractional parts of $\alpha n^k$, however: Theorems~\ref{thm:frac} and~\ref{thm:fracexplicit} are deduced from Corollary~\ref{cor:lsarcs} in \S\ref{ss:frac}. Throughout this section $k\ge37$, $\Theta$ is admissible for $k$, and the parameters are as in \S\ref{s:setup}; the choices \eqref{eq:gammaeps} and \eqref{eq:Rlarge} are not assumed, so that $\omega$ is any number with $0<\omega\le\frac18\eta$. For $b>0$ we write $a_*(b)$ for the number defined in \eqref{eq:astar}. \subsection{Statement} The main result of this section is the following estimate. \begin{theorem}\label{thm:lsF} Let $b_0>0$, and let $s_0\in\mathbb{N}$ satisfy $2s_0\ge\max\{k(\mathcal{G}(u_\Theta) +a_*(b_0)),\,2k\}$. Then, uniformly for $R^{2}\le Q\le P^{k/2}$ and $\alpha\in\mathfrak{N}(Q;P)$, \[ F(\alpha)\ll P^{1+\omega+\varepsilon}\Bigl(\frac{P^{\,b_1}}{\min\{Q,\,P(2Q)^{-1/k}\}}\Bigr)^{1/(2s_0)},\qquad \text{where}\quad b_1:=b_0+4k\gamma+2\varepsilon+2\eta . \] The implied constant depends on $b_0$ and $s_0$ as well. \end{theorem} The parameters $\gamma$, $\varepsilon$ and $\eta$ are at our disposal, subject to \eqref{eq:params} and \eqref{eq:eta}, so that $b_1$ is as close to $b_0$ as we please. \begin{corollary}\label{cor:lsarcs} Let $b_0$, $s_0$ and $b_1$ be as in Theorem~\textup{\ref{thm:lsF}}, suppose that $b_1<1$, and put \[ \xi_1:=\frac{1-b_1}{1+4s_0\tau_k},\qquad\tau^{(1)}:=2\,\xi_1\tau_k=\frac{1-b_1}{2s_0+1/(2\tau_k)}= \frac{1-b_1}{2s_0+4.5139505\,k}. \] \textup{(i)} Let $\frac1{k+1}\le\xi\le\frac12$. Then $F(\alpha)\ll P^{1-(1-\xi-b_1)/(2s_0)+\omega+\varepsilon}$ for $\alpha\in\mathfrak{N}(P^{k\xi};P)$. For $\xi<\xi_1$ the exponent $(1-\xi-b_1)/(2s_0)$ is larger than the exponent $2\xi\tau_k$ of Lemma~\textup{\ref{lem:height}}. \textup{(ii)} Suppose that $J$ is so large that Lemma~\textup{\ref{lem:height}} is applicable. Then $F(\alpha)\ll P^{1-\tau^{(1)}+\varepsilon+\eta}$ uniformly for $\alpha\in\mathbb{T}\setminus\mathfrak{M}(P^{k/(k+1)};P)$. \end{corollary} As $k\to\infty$ the parameters can be chosen in such a way that $2s_0=(C_0+o(1))k$ and $b_1=o(1)$; see the end of \S\ref{ss:lsproofs}. Then, with $\xi=\log Q/(k\log P)$, \begin{gather*} \frac{1-\xi-b_1}{2s_0}\sim\frac{1-\xi}{C_0\,k},\qquad\xi_1\to\frac{1}{1+2C_0/9.027901}=0.4139\ldots,\\ \bigl(\tau^{(1)}\bigr)^{-1}=(C_0+4.51395\ldots+o(1))\,k=(10.9034\ldots+o(1))\,k . \end{gather*} Thus the large sieve exponent exceeds $\tau_k$ itself when $\xi<1-C_0/9.027901=0.2922\ldots$, and it is about $1/(6.39\,k)$ on arcs of height $P$. At $\xi=\frac12$ it is $1/(2C_0k)=1/(12.78\,k)$, which is smaller than $\tau_k$. Part~(ii) is a bound of Weyl type with an exponent of order $1/k$ on a set that contains all minor arcs in the classical sense. For comparison, Lemma~\ref{lem:height} alone gives the exponent $2\tau_k/(k+1)$ on this set, and for smooth Weyl sums the exponent known on such a set is the one of \cite{Woo1995}, of order $1/(k\log k)$. \subsection{Three lemmas} We need a large sieve inequality for points that are not well spaced, a bound for the number of points $\beta m^k$ in a short interval, and a variant of Lemma~\ref{lem:bilinear} in which the roles of the two variables are interchanged. \begin{lemma}[large sieve with multiplicities]\label{lem:gallagher} Let $N\in\mathbb{N}$, let $z_1,\dots,z_N$ be complex numbers and $Z(x):=\sum_{y\le N}z_y\,e(xy)$. Let $0<\delta\le1$ and $A\ge1$, and let $x_1,\dots,x_n$ be real numbers such that for every real $x$ at most $A$ of the indices $i$ satisfy $\|x_i-x\|\le\delta/2$. Then \[ \sum_{i\le n}|Z(x_i)|^2\le A\bigl(\delta^{-1}+\pi N\bigr)\sum_{y\le N}|z_y|^2 . \] \end{lemma} \begin{proof} This is Gallagher's proof of the large sieve inequality \cite{Gal1967}. If $f$ is continuously differentiable on $\mathcal{I}=[x-\delta/2,x+\delta/2]$, then \[ f(x)=\delta^{-1}\int_{\mathcal{I}} f(u)\,\mathrm{d}u+\delta^{-1}\int_{\mathcal{I}} w(u)f'(u)\,\mathrm{d} u, \] where $w(u)=u-x+\delta/2$ for $ux$, so that $|f(x)|\le\delta^{-1}\int_{\mathcal{I}}|f|+\frac12\int_{\mathcal{I}}|f'|$. Let $Z_0(x):=e(-\frac{N+1}2x)Z(x)$; we apply the last inequality to $f=Z_0^2$ at the points $x_i$. The functions $|Z_0|=|Z|$ and $|Z_0'|$ have period $1$, and every point of $\mathbb{T}$ lies in at most $A$ of the intervals $[x_i-\delta/2,x_i+\delta/2]$ modulo $1$. Hence \[ \sum_i|Z(x_i)|^2\le A\Bigl(\delta^{-1}\int_0^1|Z|^2\,\mathrm{d} x+\int_0^1|Z_0Z_0'|\,\mathrm{d} x\Bigr), \] and $\int_0^1|Z_0Z_0'|\le(\int_0^1|Z_0|^2)^{1/2}(\int_0^1|Z_0'|^2)^{1/2}\le\pi N\sum_y|z_y|^2$, because the frequencies $y-\frac{N+1}2$ of $Z_0$ are at most $\frac N2$ in modulus. \end{proof} In the next lemma, and in the remainder of this section, we write $\Omega_k(q):=(2k)^l$ when $q$ has exactly $l$ distinct prime factors. \begin{lemma}[spacing]\label{lem:spacing} Let $0m_2$ be elements of $\mathcal{V}_l$ with $\|\beta m_1^k-x\|\le\frac12\delta_1$ and $\|\beta m_2^k-x\|\le\frac12\delta_1$, and put $h:=m_1^k-m_2^k$. Then $\|\beta h\|\le\delta_1\le1/(4q)$, and $|(\beta-a/q)h|\le V_1^k/(2qV_1^k)=1/(2q)$. If $q\nmid h$, then $\|ah/q\|\ge1/q$ and therefore $\|\beta h\|\ge1/(2q)$, which is not the case. So $q\mid h$; then $m_1\equiv m_2\pmod q$, and $\|\beta h\|=|\beta-a/q|\,h\le Y^{-k}$. Since $h\ge(m_1-m_2)V_0^{k-1}$, this gives $(m_1-m_2)\,|q\beta-a|\le q\,Y^{-k}V_0^{1-k}$. Thus the integers $m\in\mathcal{V}_l$ with $\|\beta m^k-x\|\le\frac12\delta_1$ lie in one residue class modulo $q$, and in an interval whose length is at most $V_1$ and at most $q\,Y^{-k}V_0^{1-k}|q\beta-a|^{-1}$. So their number is at most \[ 1+\min\Bigl\{\frac{V_1}{q},\ \frac{V_0}{(YV_0)^k|q\beta-a|}\Bigr\}\le1+\frac{2V_1}{q+(YV_0)^k|q\beta-a|}.\qedhere \] \end{proof} \begin{lemma}[separation of the variables]\label{lem:decouple} Let $1\le i\le j\le J$, let $\mathfrak{e}$ be a finite set of primes, and let $X$ be attached to $j$. Put $M_0:=R^i$, $Y:=X/M_0$ and $\mathcal{B}:=\mathcal{C}_{j-i}^{\mathfrak{e}}(Y)$. Then, for all real $\beta$, \[ |F_j^{\mathfrak{e}}(\beta;X)|\le(\log P)^2\,\sup_{(\epsilon_n)}\ \sum_{d\in\mathcal{D}_i^{\mathfrak{e}}}\Bigl| \sum_{n\in\mathcal{B}}\epsilon_n\,e\bigl(\beta(dn)^k\bigr)\Bigr| , \] where the supremum is over all families $(\epsilon_n)$ of complex numbers of modulus $1$. \end{lemma} \begin{proof} The set $\mathcal{B}$ is the one that occurs in Lemma~\ref{lem:bilinear}, and it was shown in the proof of that lemma that \[ F_j^{\mathfrak{e}}(\beta;X)=\sum_{d\in\mathcal{D}_i^{\mathfrak{e}}}\ \sum_{\substack{n\in\mathcal{B}\\ n\le X/d,\ p^+(n)0$ one has \[ \int_{-1/2}^{1/2}e(n\psi)K_y(\psi)\,\mathrm{d}\psi=\begin{cases}1,&n\le y,\\0,&n>y,\end{cases}\qquad\text{where} \quad K_y(\psi):=\sum_{1\le l\le\min\{y,Y\}}e(-l\psi), \] and for integers $a\ge0$ and $c\ge1$ \[ \int_{-1/2}^{1/2}e(a\psi')K'_c(\psi')\,\mathrm{d}\psi'=\begin{cases}1,&a\frac12Q$. Define $\tilde\mu$ by $P^{\tilde\mu}=\min\{Q,P(2Q)^{-1/k}\}$; then $R^2\le P^{\tilde\mu}\le P^{k/(k+1)}$. Let $i$ be the largest integer with $(\zeta R)^{i}\le P^{\tilde\mu}$. Then $i\ge1$, as $\zeta R\le R^2$, and $iR^J=P^{1-\eta}>P^{k/(k+1)}$. Hence $(\zeta R)^{i+1}>P^{\tilde\mu}$, which gives $R^i>P^{\tilde\mu}/(\zeta^JR)\ge P^{\tilde\mu}R^{-9/8}$ as in the proof of Corollary~\ref{cor:arcmoment}. Thus, in the notation of Proposition~\ref{prop:lsF} with $j=J$, $\mathfrak{e}=\emptyset$ and $X=P$, \[ P^{\tilde\mu}R^{-9/8}2\xi\tau_k$ if and only if $\xi<\xi_1$. (ii) Lemma~\ref{lem:height} and its proof do not depend on the choices \eqref{eq:gammaeps} and \eqref{eq:Rlarge}; so that lemma is available here. Let $\alpha\in\mathbb{T}\setminus\mathfrak{M}(P^{k/(k+1)};P)$. By \textup{(A1)}, $\alpha\in\mathfrak{N}(Q;P)$ for some $Q=P^{k\xi}$ of the form $2^{-i}P^{k/2}$ with $\frac1{k+1}<\xi\le\frac12$. If $\xi\le\xi_1$ we use (i), noting that $(1-\xi-b_1)/(2s_0)\ge(1-\xi_1-b_1)/(2s_0)=\tau^{(1)}$; if $\xi>\xi_1$ we use Lemma~\ref{lem:height}, noting that $Q^{-2\tau_k/k}=P^{-2\xi\tau_k}\le P^{-\tau^{(1)}}$. \end{proof} It remains to justify the remark on the limit $k\to\infty$ that follows Corollary~\ref{cor:lsarcs}. Let $\Theta=\Theta(k)$ tend to infinity in such a way that $\Theta/\log k\to\infty$ and $\Theta/\sqrt k\to0$, let $\delta_0,\varepsilon_2\to0$, and let $b_0=1/\log k$. Then $\mathcal{G}(u_\Theta)\le C_0 +o(1)$ by Lemma~\ref{lem:pot}(i) and the formulae of \S\ref{s:eval}, and $a_*(b_0)\le c_\Theta\log(k\log k)=o(1)$, so that $2s_0=(C_0+o(1))k$ is admissible in Theorem~\ref{thm:lsF}; and $b_1\to0$ if we take $\gamma\le1/k^2$ and $\varepsilon\le\gamma$, since $\eta\le\gamma$ by \eqref{eq:eta}. \subsection{The arcs that decide the number of variables}\label{ss:decide} We return to the setting of \S\ref{s:circle}: let $b$, $r$ and $t$ be as in \eqref{eq:rst}, and let $b_0$, $s_0$ and $b_1$ be as in Theorem~\ref{thm:lsF}. In the proof of Proposition~\ref{prop:prune} the arcs of height $Q\le P^{1/4}$ are harmless, by Lemma~\ref{lem:BL}, and the condition $t\,\tau_k>b$ of \eqref{eq:rst} is needed only for the arcs with $P^{1/4}\le Q\le P^{k/2}$. If Theorem~\ref{thm:lsF} is used there in place of Lemma~\ref{lem:height}, then together with Corollary~\ref{cor:arcmoment} it gives \begin{align*} \int_{\mathfrak{N}(Q;P)}|F|^{r+t}\,\mathrm{d}\alpha&\le\sup_{\mathfrak{N}(Q;P)}|F|^t\int_{\mathfrak{M}(Q;P)}|F|^r\, \mathrm{d}\alpha\\ &\ll P^{\,r+t-k}\Bigl(\frac{P^{\,b_1}}{\min\{Q,P(2Q)^{-1/k}\}} \Bigr)^{\frac{t}{2s_0}}Q^{\frac{2b}k}P^{\,\varepsilon''}, \end{align*} where $\varepsilon'':=t(\omega+\varepsilon)+4k\gamma+2\varepsilon+2\eta b$ is as small as we please. For $Q=P^{k\xi}$ with $\frac1{k+1}\le\xi\le\frac12$ the condition on $t$ therefore becomes $t(1-\xi-b_1)/(2s_0)>2\xi b$, apart from small terms, and in the limit described after Corollary~\ref{cor:lsarcs} the two conditions read \begin{equation}\label{eq:tcond} \frac{t}{k\,b}>9.027901\quad\text{(Lemma \ref{lem:height})},\qquad\qquad\frac{t}{k\,b}>\frac{2C_0\,\xi}{1-\xi}\quad \text{(Theorem \ref{thm:lsF})}. \end{equation} The right hand side of the second one is $0.67$, $1.42$, $3.19$, $5.48$, $9.03$, $12.78$ for $\xi=0.05$, $0.1$, $0.2$, $0.3$, $0.414$, $0.5$. So Theorem~\ref{thm:lsF} would allow one to prune the arcs with $\xi<\xi_1$ with fewer variables, but for $\xi\ge\xi_1$ it is weaker than Lemma~\ref{lem:height}, and the bound of Theorem~\ref{thm:explicit} is not improved. \begin{remark}\label{rem:height} Let $P^{1/4}\le Q\le P^{k/2}$ and $Y:=(2Q)^{2/k}$, the length of the sums to which the change of variables reduces the moments over $\mathfrak{M}(Q;P)$ (Corollary~\ref{cor:arcmoment}), and suppose that $|F|\le PY^{-\tau}$ on $\mathfrak{N}(Q;P)$ for some $\tau\in(0,\frac15]$. If $s>k\,\mathcal{G}(\tau)$, then a supporting line at $z=\tau$ of the concave function $k\,z\,\mathcal{G}(z)$ (Lemma~\ref{lem:pot}(v)) provides numbers $r$ and $\Delta$ with $2k2k$ because $\mathcal{G}-\mathfrak{g}>2$ on $(0,\frac15]$, by the proof of Lemma~\ref{lem:pot}(ii). By Corollary~\ref{cor:moment} and the proof of Corollary~\ref{cor:arcmoment}, $\int_{\mathfrak{M}(Q;P)}|F|^r\,\mathrm{d}\alpha\ll P^{\,r-k}Y^{\Delta}P^{\varepsilon''}$ with $\varepsilon''$ as small as we please, and therefore $\int_{\mathfrak{N}(Q;P)}|F|^s\,\mathrm{d}\alpha\ll P^{\,s-k}Y^{\Delta-(s-r)\tau}P^{\varepsilon''}$. Conversely, when $s1$ and suitable $\Theta$, where \[ d_\infty(v):=\sup_{00$, $\mathcal E(\mu;v_A,v_B)\le\mathcal E(\frac12;v_A,v_B)=(1-d_A-d_B)/(v_Av_B)$. With $d_A=d_\infty(v_A)$ and $d_B=d_\infty(v_B)$, this is the same number as with the exponents $\mathfrak{d}(v_Ak)$ and $\mathfrak{d}(v_Bk)$ of smooth Weyl sums when $v_A,v_B\le v_c$, and it is at most $v_c^{-2}<1/9.52$ when $v_A,v_B\ge v_c$. \end{proposition} Thus $F$ has better moments than a smooth Weyl sum only at orders above $3.09\,k$, and these do not help in Lemma~\ref{lem:ls}. In the mixed range, where one of $v_A$, $v_B$ exceeds $v_c$ and the other does not, a numerical evaluation gives $\mathcal E(\frac12;v_A,v_B)<1/9.46$; for $v_A,v_B\le v_c$ the largest value is the one found for smooth Weyl sums in \cite[\S7]{BW2023}, namely $1/9.026725\ldots$ at $v_A=v_B=1.98464\ldots$, which exceeds the value $1/9.02790$ at $v_A=v_B=2$ by an amount that is of no consequence here. An improvement of $\tau_k$ by this route would require moments of order about $2k$ for the sets $\mathcal{D}_i^{\mathfrak{e}}$ and $\mathcal{B}$ of Lemma~\ref{lem:bilinear} with an exponent $\delta k$ smaller than $\delta_*k$; the exponent would then be $(1-2\delta)/(4k)$, and the limit of the method is $1/(4k)$. The fibre method does not provide such moments: at the level $z=\delta_*/(1+\delta_*)=0.218$ that governs the moment of order $2k$, the permitted steps are $\theta\le\theta^*(2z)=1.13$, and the resulting bound is weaker than $\Psi$ (\S\ref{ss:origin}). \begin{proof}[Proof of Proposition~\textup{\ref{prop:exponents}}] (i) Let $\mathfrak{g}_\infty(z):=-z\mathcal{G}_\infty'(z)$; thus $\mathfrak{g}_\infty(z)=2/\theta^*(2z)$ for $z<\frac1{10}$, $\mathfrak{g}_\infty(z) =1/(1-z)$ for $\frac1{10}\frac12$. The function $\theta^*$ is nonincreasing with $\theta^*(\frac15)=\frac95$, so that $\mathfrak{g}_\infty$ is nondecreasing on $(0,\frac12)$, and $\mathcal{G}_\infty-\mathfrak{g}_\infty$ is nonincreasing on $(0,1]$, with the value $0$ on $[\frac12,1]$. The derivative of $z\mapsto z(\mathcal{G}_\infty(z)-v)$ is $\mathcal{G}_\infty(z)-\mathfrak{g}_\infty(z)-v$. Hence this function is concave, and it attains its maximum at a point where $\mathcal{G}_\infty-\mathfrak{g}_\infty-v$ changes sign. For $\frac1{10}v_c$ the maximum of $z(\mathcal{G}_\infty(z)-v)$ is attained at a point $z<\frac1{10}$, where $\mathcal{G}_\infty(z)<\Psi(z)$ because $2/\theta^*(2u)<1/(1-u)$ for $u<\frac1{10}$ (\S\ref{ss:origin}); hence $d_\infty(v)<\mathfrak{d}(vk)$. Finally $\mathcal{G}_\infty0$ for $v0$. Let $N$ be a large real number, let $P:=N$, and let $\mathcal{C}$ and $F$ be as in \S\ref{s:setup}. Put $L:=\lceil P^{\rho}\rceil$, and suppose that $\|\alpha n^k\|\ge L^{-1}$ for all natural numbers $n\le N$. This holds in particular for all $n\in\mathcal{C}$. By a lemma of Harman \cite[Lemma~5]{Har1981}, which we use in the form \cite[Lemma~4.1]{Woo1993} with the weight $1$ on $\mathcal{C}$ and $0$ elsewhere, it follows that \[ \sum_{l=1}^{L}|F(l\alpha)|\ge\tfrac16\,\#\mathcal{C} . \] Hence there is a natural number $l\le L$ with $|F(l\alpha)|\ge\#\mathcal{C}/(6L)$. By Lemma~\ref{lem:density} we have $\#\mathcal{C}\ge P(\log P)^{-J-1}$, so that $|F(l\alpha)|\ge P^{1-\rho}(\log P)^{-J-2}$. In view of \eqref{eq:rhochoice}, this is larger than the bound of Corollary~\ref{cor:lsarcs}(ii) when $P$ is large. Consequently $l\alpha$ is congruent modulo $1$ to an element of $\mathfrak{M}(P^{k/(k+1)};P)$: there are coprime integers $a$ and $q$ with \[ 1\le q\le P^{k/(k+1)},\qquad|q\,l\alpha-a|\le P^{k/(k+1)-k} . \] Let $n:=ql$. Since $\tau^{(1)}<1/(2s_0)\le1/(2k)$, we have $\rho<1/(2k)$, and therefore $L\mathcal Y^\sharp(k)-2\chi_0\,k/\Theta^\sharp(k)$, and $\mathcal Y^\sharp(k)=k\,B(k,\Theta^\sharp(k))-1$, as in \S\ref{ss:large}. As $9.027901\,\Theta\,b/2=9.027901/11$ for $b=2/(11\,\Theta)$, Theorem~\ref{thm:fracexplicit} shows that for every real number $\rho<1/E^\sharp(k)$ there is a number $N_0$ with \begin{equation}\label{eq:fracE} \min_{1\le n\le N}\|\alpha n^k\|3k$. The largest value of $(E^\sharp(k)-10.9035\,k)/\sqrt k$ is $11.5025\ldots$, attained at $k=175$, and the largest value for $900\le k\le5000$ is $3.9808\ldots$. The largest value of $E^\sharp(k)/k$ for $k\ge42$ is $11.9863\ldots$, attained at $k=80$. For $1339\le k\le5000$ one has $11k-E^\sharp(k)>1.5$, and for $46\le k\le5000$ one has $k(\log k+8.02113)-E^\sharp(k)>1$, whereas $E^\sharp(k)>k(\log k+8.02113)$ for $37\le k\le45$. (ii) Let $a:=a_k$, so that $\Theta:=\Theta^\sharp(k)=\frac9{10}a$. Recall from the proof of Proposition~\ref{prop:large} that $\sqrt k-\frac5268.2$. Thus $b:=b^\sharp(k)=\frac{20}{99a}<0.003$, and since $k=a(a+5)$, we have $k/\Theta=\frac{10}9(a+5)<\frac{10}9(\sqrt k+2.55)$. By the proof of Corollary~\ref{cor:mvranges}, $\mathcal Y^\sharp(k)\le C_0k+c_3\sqrt k+5\log k+54$. The right hand side exceeds $2k+2\chi_0k/\Theta$, so that $2s_0^\sharp(k)\le C_0k+c_3\sqrt k+5\log k+56-2\chi_0k/\Theta$ by the definition of $s_0^\sharp(k)$. As $C_0+4.5139505<10.9035$, the number $\mathcal{Z}:=2s_0^\sharp(k)+4.5139505\,k$ satisfies \[ \mathcal{Z}\le10.9035\,k+c_3\sqrt k+5\log k+56-2\chi_0\,\frac k\Theta . \] Now $1/(1-b)<1+1.0031\,b$, and $b\cdot10.9035\,k=\frac{2\cdot10.9035}{11}\cdot\frac k\Theta$. Further $\sqrt k/a<1.037$ and $(5\log k+56)/a<1.446$, the latter because $(5\log k+56)/(\sqrt k-\frac52)$ decreases for $k\ge5000$; hence $b\,(c_3\sqrt k+5\log k+56)<\frac{20}{99}(1.572\cdot1.037+1.446)<0.622$. It follows that \begin{align*} E^\sharp(k)=\frac{\mathcal{Z}}{1-b}&<\mathcal{Z}+1.0031\,b\,\mathcal{Z}\\ &<10.9035\,k+c_3\sqrt k+5\log k+56.63+\Bigl(\frac{1.0031\cdot2\cdot10.9035}{11}-2\chi_0\Bigr)\frac k\Theta . \end{align*} The bracket is smaller than $0.3838$, and $0.3838\cdot\frac{10}9(\sqrt k+2.55)<0.42645\sqrt k+1.09$. Since $c_3+0.42645<2$ and $56.63+1.09<58$, this proves (ii). \end{proof} \begin{table}[ht] \caption{The number $E^\sharp(k)$ of \eqref{eq:fracE}: one has $\min_{n\le N}\|\alpha n^k\|3.5$. \end{proof} \begin{remark}\label{rem:fracsources} The exponent $\tau^{(1)}$ of Corollary~\ref{cor:lsarcs} is the least saving on the arcs of height $P^{k\xi}$ with $\frac1{k+1}\le\xi\le\frac12$; it is attained at $\xi=\xi_1$, where the large sieve exponent $(1-\xi-b_1)/(2s_0)$ and the exponent $2\xi\tau_k$ of Lemma~\ref{lem:height} agree. A decomposition into two factors of size $P^{1/2}$ for all $\alpha$, as in \cite[\S5]{Woo1993}, corresponds to the case $\xi=\frac12$ of Corollary~\ref{cor:lsarcs}(i), and by itself it gives only $1/\rho=(2C_0+o(1))k=(12.78+o(1))k$. The unlocalised bound of \cite{Woo1993} corresponds to the exponent $\tau_k$ on the arcs of height $P^{k/2}$: if $a/q$ is a convergent to the continued fraction of an irrational number $\alpha$ and $P=N:=q^{2/k}$, then for $l\le L$ the point $l\alpha$ does not lie in $\mathfrak{M}(Q;P)$ when $Q0$ and large $q$. For numbers $\alpha$ with bounded partial quotients every large $N$ is of this kind, up to a bounded factor. Thus the arcs of height near $P^{k/2}$ limit the localised and the unlocalised bounds alike, and by \S\ref{ss:decide} the moments of $F$ do not improve the exponent $\tau_k$ that is available there. \end{remark} \section{Concluding remarks}\label{s:remarks} \subsection{Intermediate coefficients}\label{ss:inter} In the proof of Lemma~\ref{lem:mv} only the leading coefficient $\alpha_D$ is used to bound $\mathcal{N}$, and its denominator $q_D\le q^{1/(D+1)}$ is small. For $2\le r\le D$ the denominator of $\alpha_r(n_0)$ is $q_r=\prod_pp^{\max\{e_p-rs_p,0\}}$, which is much larger. One may therefore bound the sum over each residue class modulo $A$ separately by a Weyl-type inequality for the coefficient $\alpha_r$: by \cite[Theorem~5.2]{Vau1997} with the optimal mean value \cite{BDG2016,Woo2019}, that is, by \cite[Theorem~5]{Bou2017}, \begin{equation}\label{eq:inter} \mathcal{S}\ll X^{1+\varepsilon}\bigl(q_r^{-1}+Y^{-1}+q_rY^{-r}\bigr)^{1/(D(D-1))} \end{equation} in place of the bound $X^{1+\varepsilon}(Y^{-D}+q_D^{-1})^{1/(D(D+1))}$ of Lemma~\ref{lem:mv}; the case $r=D$ is the device of \cite[Lemma~3.1]{CD2026}. Ignoring the rounding of moduli, $A=q^{1/(D+1)}$ gives $Y=X^{1-U/(D+1)}$ and $q_r=X^{U(D+1-r)/(D+1)}$, so that the saving in \eqref{eq:inter} is \begin{equation}\label{eq:intersaving} \frac{1}{D(D-1)}\min\Bigl\{1-\frac{U}{D+1},\ \frac{U(D+1-r)}{D+1},\ r-U\Bigr\}\le\frac{D+1-U}{(D-1)D(D+1)}, \end{equation} and a larger $A$ is worse. Thus $r>U$ is needed, and however large $q_r$ is, the saving is limited by the term $Y^{-1}$, because a single residue class is short; Lemma~\ref{lem:mv} applies the mean value theorem to all $A$ classes together, which replaces $Y^{-1}$ by $Y^{-D}$. For a fixed degree $D\ge2U$ the saving \eqref{eq:intersaving} is larger than that of Lemma~\ref{lem:mv} with the same $D$, but Lemma~\ref{lem:mv} is applied with $D\approx U$, and then the comparison goes the other way. The maximum of \eqref{eq:intersaving} over all $D$ and $r$ never exceeds $\varsigma(U)$; the two agree at $U=\frac32$, where both give $\mathcal{S}\ll X^{3/4+\varepsilon}$, their ratio is at most $0.59$ for $U\ge2$ and at most $0.52$ for $U\ge\frac{50}{13}$, which is the range in which Lemma~\ref{lem:mv} is used, and it tends to $\frac4{27}$ as $U\to\infty$, the best degree being $D\approx\frac32U$. The same holds without the term $q_rY^{-r}$ in \eqref{eq:inter}. If Lemma~\ref{lem:mv} were replaced by \eqref{eq:inter}, the constant $C_0$ would become $6.916$, and without Lemma~\ref{lem:vdc}(ii) as well it would be $7.404$. Using $\alpha_r$ with $r4\cdot10^6$, the least admissible value is $A_0=4\,000\,001$, with $b=A_0^{-1/2}$, giving $s=12\,000\,005\,k+1$. The requirements ``$k$ large'' in \cite{CD2026} are explicit inequalities, the most restrictive one that we found being (3.5) there, which holds for $k\ge122\,878$; for smaller $k$, \eqref{eq:BW} gives a far better bound. In this sense the argument of \cite{CD2026}, with the parameters chosen there, yields $G(k)\le 12\,000\,005\,k+1$ for all $k$. The assertion in \cite{CD2026} that $G(k)\le8.4\,k$ for all $k$, which is stated there without proof, is contained in Theorem~\ref{thm:all}. We do not know how the figure $8.4$ was obtained. Two observations may be relevant. First, \eqref{eq:BW} gives $G(k)\le8.4\,k$ precisely for $k\le66$, so the assertion requires a bound of the present type for every $k\ge67$. Secondly, if in the present argument the saving $\varsigma$ is replaced by what \eqref{eq:inter} gives, with the degree and the coefficient chosen optimally and with Lemma~\ref{lem:vdc}(i) for $U<2$, then $C_0$ becomes $7.404$, and it becomes $8.404$ if, in addition, $k+O(1)$ smooth Weyl sums are used for the minor arcs and the pruning (\S\ref{ss:limits}). With the saving $X^{-10^{-3}/\theta^2}$ of \cite[Lemma~3.1]{CD2026}, the constant $C_0$ becomes $4+\log(8\cdot10^3)=12.99$. \appendix \section{A mean value with two coefficients, a recursion, and the constant $6.2821$}\label{s:appendix} In the proof of Lemma~\ref{lem:mv} the sum $\mathcal{S}$ is split into $A$ residue classes, and the number $\mathcal{N}$ of classes whose coefficient vectors nearly agree is bounded by means of the leading coefficient alone. In the classical theory of exponential sums, Heath-Brown \cite{HB2017} used Vinogradov's mean value theorem to prove a $k$-th derivative test in which van der Corput's exponent $1/(2^k-2)$ is replaced by $1/(k(k-1))$; the new ingredient there is a count of the pairs of points at which the Taylor coefficients of two consecutive orders nearly agree modulo~$1$. For the fourth derivative test, Robert and Sargos \cite{RS2002} had improved the exponent $\frac1{14}$ to $\frac1{13}$, and Robert \cite{Rob2016} reached every exponent below $\frac1{12}$. In this appendix the idea of \cite{HB2017} is carried over to the sums $\mathcal{S}$ of \S\ref{s:exp} (Lemma~\ref{lem:Amv}). In comparison with Lemma~\ref{lem:mv} two things change: the progressions modulo $A$ are allowed to overlap, so that their starting points run over an interval of integers of length about $X$ and not over $A$ residue classes, and the two leading coefficients are used to count the pairs of progressions that interact. For each degree $D\ge3$ this gives the saving $X^{-1/(D(D+1))}$ throughout the range $\frac12(D+1)\le U\le D$, apart from a factor $X^{\varepsilon}$ and the effects of rounding, whereas the saving in Lemma~\ref{lem:mv} is at most $X^{-U/(D(D+1)^2)}$. The new estimate replaces Lemma~\ref{lem:mv} and the cases $j\ge4$ of Lemma~\ref{lem:vdc}(ii), and it lowers the constant $C_0$ to $C_0^\star=6.2821\ldots$. Three further changes concern the passage from the estimates for the sums $\mathcal{S}$ to the bounds for $G(k)$. First, the rounding of moduli is treated more carefully than in Lemma~\ref{lem:saving}: each estimate is used with the loss that it actually suffers, wherever it is the best one, and the conditions of Definition~\ref{def:round} on the largest step $\Theta$ are no longer needed (\S\ref{ss:Around}). In consequence the term of order $\sqrt k$ in Theorem~\ref{thm:main} becomes negative. Secondly, the potential of \S\ref{s:pot} is formed with the exact length of the steps, which lowers the bounds for $G(k)$ by about $\log k$ (Theorem~\ref{thm:Aexplicit}). Thirdly, the steps are treated as a recursion, and the arcs of large height are pruned by means of large values of exponential sums instead of moments, so that the concavity of the potential is no longer needed (Theorem~\ref{thm:Arec}); for $37\le k\le5000$ this lowers the bounds by a further $1$ to $5$. The recursion applies to all $k\ge13$. For $13\le k\le36$ it gives bounds for $G(k)$ and for $G^+(k)$ that improve on those in the literature; for $13\le k\le20$ we combine it with the tables of permissible exponents of Vaughan and Wooley \cite{VW2000}. The results are stated in \S\ref{ss:Aresults}, and the appendix is organised as follows. The estimate is proved in \S\ref{ss:Aestimate}. Section~\ref{ss:Around} contains the saving function that results from it, with its rounding losses, and the chains of estimates by which this function is bounded from below. In \S\ref{ss:Apot} we isolate the properties of a potential on which the induction of \S\ref{s:pot} rests, and we record what is used of \S\S\ref{s:setup}--\ref{s:circle} for exponents below $37$. Two potentials are then constructed. The first is the analogue of the one in \S\ref{s:pot}, with a largest step $\Theta$ (\S\ref{ss:Achains}); it gives the bounds for $k\ge5000$, by an explicit evaluation, and the result on fractional parts (\S\ref{ss:Afrac}). The second is the recursive one (\S\ref{ss:Arec}); with the computations of \S\ref{ss:Anum} it gives the bounds for $G(k)$, for $G^+(k)$ and for the mean value of $F$ when $k\le5000$. The theorems are proved in \S\ref{ss:Aproofs}, \S\ref{ss:Aremarks} contains remarks, and \S\ref{ss:Averif} describes the part of the program of \S\ref{ss:numerics} that concerns this appendix. Sections~\ref{s:setup}--\ref{s:ls} are used with the changes stated in \S\ref{ss:Apot} and in the proofs of Theorems~\ref{thm:Aexplicit} and~\ref{thm:Arec}. \subsection{Results}\label{ss:Aresults} For integers $D\ge4$ let $\Lambda_D:=\frac1{D+1}\log\bigl(1+\frac{2(D+1)}{D^2}\bigr)$, and put \begin{equation}\label{eq:Astar} \begin{aligned} \Lambda^\star&:=\tfrac13\log2+\tfrac14\log\tfrac{17}9+\tfrac14\log\tfrac53+\tfrac15\log\tfrac76+\sum_{D\ge4}\Lambda_D =1.042453\ldots,\\ C_0^\star&:=2+\log9+2\Lambda^\star=6.282131\ldots . \end{aligned} \end{equation} Thus $C_0-C_0^\star=0.10738\ldots$, with $C_0$ as in \eqref{eq:C0}. \begin{theorem}\label{thm:Amain} For every $k\ge37$ one has $G(k)k$ be a prime. The reduced residue classes modulo $p$ can be partitioned into fewer than $k^2$ sets on each of which both maps $x\mapsto x^u$ and $x\mapsto x^{u+1}$ are injective. \end{lemma} \begin{proof} Let $\Gamma$ be the group of the residues $\omega$ modulo $p$ with $\omega^{u(u+1)}=1$; it has at most $u(u+1)0$. Then the number of pairs $(n,n')\in\mathcal{V}^2$ with \begin{equation}\label{eq:Acond} \Bigl\|\frac{b_1(n^u-n'^u)}{r_1}\Bigr\|\le\delta_1\qquad\text{and}\qquad \Bigl\|\frac{b_2(n^{u+1}-n'^{u+1})}{r_2}\Bigr\|\le\delta_2 \end{equation} is at most \[ L+\mathcal{N}_1(\delta_2)+2\delta_1\Bigl(r_1L+(r_1+L)\,\mathcal{N}_1(2\delta_2)\Bigr),\quad\text{where}\quad \mathcal{N}_1(\delta):=\frac{2L^2}{r_2}+4k^Jd(r_2)\,\delta\Bigl(\frac{Lr_2}{r_1^2}+\frac{L^2}{r_1}\Bigr) \] and $d(r_2)$ is the number of divisors of $r_2$. The elements of $\mathcal{V}$ may be negative, and the bound increases with $L$. \end{lemma} \begin{proof} The hypothesis $r_1\mid r_2$ is used only to see that the number $c$ below is a multiple of $r_1$, and the equivalence of the elements of $\mathcal{V}$ only through Lemma~\ref{lem:Aval}. There are at most $L$ pairs with $n=n'$. Next we count, for a given $\delta>0$, the pairs with $n\ne n'$ and $r_1\mid n-n'$ that satisfy the second condition in \eqref{eq:Acond} with $\delta$ in place of $\delta_2$; let $\mathcal{N}_1^*(\delta)$ be their number. Put $h:=n'-n$, so that $0<|h|1$. The polynomial \[ f_h(t):=\frac{(t+h)^{u+1}-t^{u+1}}{c} \] has integer coefficients, its degree is $u$, its leading coefficient is $(u+1)h/c$, and one has $b_2(n'^{u+1}-n^{u+1})/r_2=b_2f_h(n)/r'$. Let $p\mid r'$. Then $v_p(h)=v_p(c)$, so that the leading coefficient of $f_h$ is not divisible by $p$; moreover, by Lemma~\ref{lem:Aval}, neither $f_h(n)$ nor $f_h'(n)=(u+1)\bigl((n+h)^u-n^u\bigr)/c$ is divisible by $p$ when $n$ and $n+h$ are equivalent. Hence $b_2f_h(n)\equiv l\pmod{r'}$ for an integer $l$ with $0<|l|\le\delta r'$, which leaves at most $2\delta r'$ values of $l$. For each of them the integers $n$ in question lie in at most $u^J$ residue classes modulo $r'$: for each prime power $p^{b}$ dividing $r'$ exactly, the congruence $b_2f_h(t)\equiv l\pmod p$ has at most $u$ solutions, and by Hensel's lemma a solution modulo $p^b$ at which $f_h'$ is not divisible by $p$ is determined by its residue modulo $p$. A residue class modulo $r'$ contains at most $1+L/r'$ elements of $\mathcal{V}$. For a given $c$ there are at most $2L/c$ numbers $h$, and $c\ge r_1$. Therefore \[ \mathcal{N}_1^*(\delta)\le\frac{2L^2}{r_2}+\sum_{c}\frac{2L}{c}\cdot2u^J\delta\,(r'+L)\le\mathcal{N}_1(\delta). \] Now consider the pairs counted in the lemma with $r_1\nmid n-n'$. Let $r$ be the residue of $b_1(n'^u-n^u)$ modulo $r_1$ of least absolute value. Then $|r|\le\delta_1r_1$ by \eqref{eq:Acond}, and $r\ne0$ by Lemma~\ref{lem:Aval}; so there are at most $2\delta_1r_1$ possibilities for $r$. For given $n$ and $r$ let $\mathcal{R}(n,r)$ be the set of the numbers $n'$ that occur. If $n_1',n_2'\in\mathcal{R}(n,r)$ are distinct, then $n_1'^u\equiv n_2'^u\pmod{r_1}$, hence $r_1\mid n_1'-n_2'$ by Lemma~\ref{lem:Aval}, and $\|b_2(n_1'^{u+1}-n_2'^{u+1})/r_2\|\le2\delta_2$; so the pair $(n_1',n_2')$ is counted by $\mathcal{N}_1^*(2\delta_2)$. Conversely, for given $n_1'$ and $r$ the congruence $b_1(n_1'^u-n^u)\equiv r\pmod{r_1}$ determines $n$ modulo $r_1$, again by Lemma~\ref{lem:Aval}, so that at most $2\delta_1r_1(1+L/r_1)$ pairs $(n,r)$ have $n_1'\in\mathcal{R}(n,r)$. Since $N\le1+N(N-1)$ for every integer $N\ge0$, we conclude that \[ \sum_{(n,r)}\#\mathcal{R}(n,r)\le2\delta_1r_1L+\sum_{(n,r)}\#\mathcal{R}(n,r)\bigl(\#\mathcal{R}(n,r)-1\bigr)\le 2\delta_1r_1L+2\delta_1(r_1+L)\,\mathcal{N}_1^*(2\delta_2). \] The lemma follows on adding the three contributions. \end{proof} \begin{lemma}[mean value with two coefficients]\label{lem:Amv} Let $A\le X$, and put $Y:=\lfloor X/A\rfloor$. Then, for every $\varepsilon>0$, \[ \mathcal{S}\ll X^{1+\varepsilon}\biggl(\frac1X+\Bigl(1+\frac{X}{Y^D}\Bigr)\Bigl(\frac1{q_{D-1}}+ \frac{q_{D-1}}{Y^{D-1}Xq_D^2}+\frac1{Y^{D-1}q_D}\Bigr)+\frac{q_D}{Y^DX}\biggr)^{\frac1{D(D+1)}} . \] The implied constant depends on $k$, $J$ and $\varepsilon$ only. \end{lemma} \begin{proof} Every prime factor of $m$ divides $A$, so that $(n+Ay,m)=(n,m)$ for all integers $n$ and $y$. Counting the pairs $(n,y)$ with $0\le y1$); Lemmas~\ref{lem:Aval} and~\ref{lem:Apairs} do not require that the integers be positive. As in the proof of Lemma~\ref{lem:mv}, the inner sum is the sum of $e\bigl(\sum_{i\le D}\alpha_i(n)y^i\bigr)$ over $y\in\mathcal{K}_n$, where $\alpha_i(n):=\frac aq\binom kiA^in^{k-i}$ for all integers $n$, and it is at most $2g^*(\boldsymbol\alpha(n))$ in modulus; here $\boldsymbol\alpha(n):=(\alpha_1(n),\dots,\alpha_D(n))$, and $g_t$ and $g^*$ are defined as in that proof, but with the present number $Y=\lfloor X/A\rfloor$ in place of the number $\lfloor X/A\rfloor+1$ used there. Let $w:=\frac12D(D+1)$. The integers $n$ in the outer sum fall into at most $k^{2J}$ sets $\mathcal{V}$ of pairwise equivalent integers, each contained in an interval with at most $2X$ integers, and by H\"older's inequality \begin{equation}\label{eq:Ahol} Y\,|\mathcal{S}|\le2\sum_{\mathcal{V}}(2X)^{1-1/w}\Bigl(\sum_{n\in\mathcal{V}}g^*(\boldsymbol\alpha(n))^{w} \Bigr)^{1/w}. \end{equation} Let $\mathcal{Q}:=\prod_{i\le D}[-Y^{-i},Y^{-i}]$, a box of volume $2^DY^{-w}$. As in the proof of Lemma~\ref{lem:mv}, $g^*(\boldsymbol\alpha)\le(1+2\pi D)\,g^*(\boldsymbol\beta)$ for $\boldsymbol\beta\in\boldsymbol\alpha+\mathcal{Q}$. Averaging over $\boldsymbol\beta$ and using the periodicity of $g^*$, and then Cauchy's inequality, we obtain \[ \sum_{n\in\mathcal{V}}g^*(\boldsymbol\alpha(n))^{w}\ll Y^{w}\int_{\mathbb{T}^D}g^*(\boldsymbol\beta)^{w}\, \nu(\boldsymbol\beta)\,\mathrm{d}\boldsymbol\beta\le Y^w \Bigl(\int_{\mathbb{T}^D}g^*(\boldsymbol\beta)^{2w}\,\mathrm{d}\boldsymbol\beta\Bigr)^{1/2} \Bigl(\int_{\mathbb{T}^D}\nu(\boldsymbol\beta)^2\,\mathrm{d}\boldsymbol\beta\Bigr)^{1/2}, \] where $\nu(\boldsymbol\beta)$ is the number of pairs $(n,\mathbf l)\in\mathcal{V}\times\mathbb{Z}^D$ with $\boldsymbol\beta+\mathbf l\in\boldsymbol\alpha(n)+\mathcal{Q}$. The first integral on the right is $\ll Y^{w+\varepsilon}$. Indeed, the argument in the proof of Lemma~\ref{lem:mv}, which does not depend on the degree, bounds it by $(\log2Y)^{2w}$ times the mean value of $|g_Y|^{2w}$ over $\mathbb{T}^D$, and the latter is $\ll Y^{w+\varepsilon}$ by Vinogradov's mean value theorem at the critical exponent $2w=D(D+1)$; this is classical for $D=2$, it is due to Wooley \cite{Woo2016b} for $D=3$ and to Bourgain, Demeter and Guth \cite{BDG2016} for $D\ge4$, and \cite{Woo2019} covers all degrees. For the second integral, note that \[ \int_{\mathbb{T}^D}\nu(\boldsymbol\beta)^2\,\mathrm{d}\boldsymbol\beta=\sum_{n,n'\in\mathcal{V}}\ \sum_{\mathbf d\in \mathbb{Z}^D}\operatorname{vol}\Bigl(\bigl(\boldsymbol\alpha(n)+\mathcal{Q}\bigr)\cap\bigl(\boldsymbol\alpha(n')+ \mathcal{Q}+\mathbf d\bigr)\Bigr). \] The intersection is empty unless $\boldsymbol\alpha(n)-\boldsymbol\alpha(n')\in\mathbf d+2\mathcal{Q}$, which for given $n$ and $n'$ leaves at most $5^D$ values of $\mathbf d$, and none unless $\|\alpha_i(n)-\alpha_i(n')\|\le2Y^{-i}$ for $1\le i\le D$. So the second integral is at most $5^D\operatorname{vol}(\mathcal{Q})\,\mathcal{M}$, where $\mathcal{M}$ is the number of pairs $(n,n')\in\mathcal{V}^2$ with this property. Hence the left hand side is $\ll Y^{w+\varepsilon}\mathcal{M}^{1/2}$, and by \eqref{eq:Ahol} \[ \mathcal{S}\ll X^{1+\varepsilon}\max_{\mathcal{V}}\bigl(\mathcal{M}/X^2\bigr)^{1/(2w)}. \] In $\mathcal{M}$ we keep the conditions for $i=D$ and $i=D-1$ only. As $p\nmid a\binom ki$ for $p\mid m$, the numbers $\frac aq\binom kDA^D$ and $\frac aq\binom k{D-1}A^{D-1}$ are, in lowest terms, fractions $b_1/q_D$ and $b_2/q_{D-1}$ with $(b_1,q_D)=(b_2,q_{D-1})=1$; thus $\alpha_D(n)=b_1n^{u}/q_D$ and $\alpha_{D-1}(n)=b_2n^{u+1}/q_{D-1}$. So Lemma~\ref{lem:Apairs} applies with $r_1=q_D$, $r_2=q_{D-1}$, $\delta_1=2Y^{-D}$ and $\delta_2=2Y^{1-D}$, and since its bound increases with $L$, we may take $L=2X$. Let $\mathcal{B}$ denote the sum of the three terms in the inner bracket in the lemma, and put $C_1':=4k^J(k+1)^J$. As $d(q_{D-1})\le(k+1)^J$, one finds that $\mathcal{N}_1(\delta_2)\le8C_1'X^2\mathcal{B}$ and $\mathcal{N}_1(2\delta_2)\le16C_1'X^2\mathcal{B}$. Since $q_D\le A\le X$, it follows that \[ \frac{\mathcal{M}}{X^2}\le\frac2X+8C_1'\mathcal{B}+\frac{8q_D}{Y^DX}+\frac{192\,C_1'X}{Y^D}\,\mathcal{B}\le 192\,C_1'\biggl(\frac1X+\Bigl(1+\frac X{Y^D}\Bigr)\mathcal{B}+\frac{q_D}{Y^DX}\biggr), \] which proves the lemma. \end{proof} \begin{corollary}\label{cor:Amv} Let $2\le D\le k-1$ and $U/(D+1)+\vartheta<1$, and put \begin{align*} E_1&:=\tfrac{2U}{D+1}-(D-1)\vartheta, & E_2&:=D-1-\tfrac{(D-2)U}{D+1}-(2D-1)\vartheta,\\ E_3&:=(2D-2)\bigl(1-\tfrac{U}{D+1}\bigr)-(3D-1)\vartheta, & E_4&:=D+1-U-D\vartheta . \end{align*} Then, for every $\varepsilon>0$, \[ \mathcal{S}\ll X^{1+\varepsilon-\varrho^\star},\qquad\text{where}\quad\varrho^\star:=\frac{1}{D(D+1)} \min\{1,E_1,E_2,E_3,E_4\}. \] The implied constant depends on $k$, $J$ and $\varepsilon$ only. \end{corollary} \begin{proof} If the minimum is not positive, there is nothing to prove. Write $U_1:=U/(D+1)$. By \eqref{eq:Asizes}, $A\le X^{U_1+\vartheta}1$ and $\vartheta\ge0$ let $\varsigma^\star(U,\vartheta)$ denote the largest of the following numbers, a number being admitted only when the conditions stated with it hold: \begin{enumerate} \item[\textup{(a)}] $0$ and $1-\frac12U$; \item[\textup{(b)}] $\varrho_j-\frac12\vartheta$, where $\varrho_j:=(j+2-U)/(2^{j+2}-2)$, for $j\in\{1,2,3\}$ with $U\ge j+2^{-j}$ and $\varrho_j\ge\vartheta$; \item[\textup{(c)}] $\min\{1,E_1,E_2,E_3,E_4\}/(D(D+1))$, with $E_1,\dots,E_4$ as in Corollary~\ref{cor:Amv}, for integers $D$ with $3\le D\le k-1$ and $U/(D+1)+\vartheta<1$. \end{enumerate} Further let \begin{gather*} \sigma_k(\theta):=\inf\{\varsigma^\star(U,\theta/k):\ 11$ one has $\varsigma^\star(U,0)\le\varsigma^\star(U)$, with equality when $U\le k-1$. \textup{(iii)} For $\vartheta=0$ the exponents saved by Lemma~\textup{\ref{lem:mv}}, and by Lemma~\textup{\ref{lem:vdc}(ii)} with $j\ge4$, do not exceed $\varsigma^\star(U)$. Consequently $\varsigma\le\varsigma^\star$. \end{lemma} \begin{proof} For an integer $D'\ge3$ and $1\frac72$. Let $D\ge4$. For $\frac1{(D+1)(D+2)}0$, with an implied constant that depends on $k$, $J$ and $\varepsilon$ only. \textup{(ii)} The function $\varsigma^\star$ is nonincreasing in $\vartheta$ and upper semicontinuous, and $\varsigma^\star\le\frac12$. The function $\sigma_k$ is nonincreasing and left-continuous on $[1,\frac12k]$. \textup{(iii)} For $\frac32\le\theta\le\min\{\frac94,\frac k8\}$ one has \[ \sigma_k(\theta)\ge\frac{3-\theta}6-\frac{\theta}{2k}\ge\Bigl(1-\frac{4\theta}{k}\Bigr)\frac{3-\theta}{6}. \] Moreover $\sigma_k(\frac94)\le\frac18$, and $\theta_k(2\tau_k)\ge\frac94$ if $k\ge18$; here $\tau_k=1/(9.027901\,k)$, as in \S\ref{s:explicit}. \end{lemma} \begin{proof} (i) The number $1-\frac12U$ is the exponent saved by Lemma~\ref{lem:vdc}(i), the numbers in (b) are those of Lemma~\ref{lem:vdc}(ii), with the conditions stated there, and the numbers in (c) are those of Corollary~\ref{cor:Amv}. The factors $\log(2qm)$ in Lemma~\ref{lem:vdc} are $\ll\log X$, because $q\le m^k$ and $m\le X$. For a given $k$ only finitely many estimates are involved. (ii) Each of the numbers in (b) and (c) is nonincreasing in $\vartheta$, and the conditions attached to it remain valid when $\vartheta$ decreases. Consider one of these numbers as a function of $(U,\vartheta)$, with the value $0$ where it is not admitted or negative. In case (b) this function is upper semicontinuous, because the conditions define a closed set, on which the number is at least $\frac12\vartheta\ge0$. In case (c) it is continuous, because $E_3=-(D+1)\vartheta\le0$ when $U/(D+1)+\vartheta=1$. Hence $\varsigma^\star$ is upper semicontinuous. The numbers in (a), (b) and (c) are smaller than $\frac12$, at most $\frac14$ and at most $\frac1{12}$, respectively. If $1<\theta<\theta'$, then $\sigma_k(\theta')\le\inf_{U\le\theta}\varsigma^\star(U,\theta'/k)\le\sigma_k(\theta)$. Finally let $\theta_n\uparrow\theta$ with $\theta>1$, and let $12\tau_k$, so that $\theta_k(2\tau_k)\ge\frac94$. \end{proof} Lower bounds for $\theta_k$ are obtained from the following lemma, in which the estimates are arranged in a chain. Its last two parts concern the end point $v/(1-\theta_k(2v)/k)$ of a step that begins at $v$ (see \S\ref{ss:Arec}). \begin{lemma}[chains]\label{lem:Achain} Let $k\ge13$, $t>0$ and $\vartheta\ge0$. Let \begin{gather*} \mathcal{I}_0:=(1,\,2-2t],\\ \mathcal{I}_j:=\bigl[\,j+2^{-j},\ \min\{j+2-(2^{j+2}-2)(t+\tfrac12\vartheta),\ j+2-(2^{j+2}-2)\vartheta\}\bigr] \quad(j=1,2,3), \end{gather*} and for integers $D$ with $3\le D\le k-1$ and $t_D:=D(D+1)\,t\le1$ let $\mathcal{T}_D:=[l_D,r_D]$ (we call these intervals \emph{tents}), where \begin{align*} l_D&:=\tfrac12(D+1)\bigl(t_D+(D-1)\vartheta\bigr),\\ r_D&:=\min\Bigl\{\frac{(D+1)\bigl(D-1-t_D-(2D-1)\vartheta\bigr)}{D-2},\ (D+1)\Bigl(1-\frac{t_D+(3D-1)\vartheta}{2D-2}\Bigr),\\ &\hspace{5em}D+1-t_D-D\vartheta\Bigr\}. \end{align*} \textup{(i)} A number $U>1$ satisfies $\varsigma^\star(U,\vartheta)\ge t$ if and only if it lies in one of these intervals. Hence, if $\theta:=k\vartheta$ satisfies $1<\theta\le\frac12k$, then $\sigma_k(\theta)\ge t$ if and only if the intervals cover $(1,\theta]$. \textup{(ii)} Let $\mathcal{J}_1,\dots,\mathcal{J}_n$ be intervals from this list with $\mathcal{J}_1=\mathcal{I}_0$, such that the left end point of $\mathcal{J}_{i+1}$ does not exceed the right end point of $\mathcal{J}_i$ for $1\le i0$, the number $0$ in (a) of Definition~\ref{def:Asaving} is irrelevant, and it suffices to show that each interval of the list is the set of the numbers $U>1$ at which one of the other numbers of the definition is admitted and at least $t$. For $\mathcal{I}_0$ and the number $1-\frac12U$ this is clear. For $\mathcal{I}_j$ and $\varrho_j-\frac12\vartheta$ note that the left end point expresses the condition $U\ge j+2^{-j}$, and the two terms of the minimum the conditions $\varrho_j-\frac12\vartheta\ge t$ and $\varrho_j\ge\vartheta$. For $\mathcal{T}_D$ and the number in (c) with this $D$, the inequality $U\ge l_D$ is equivalent to $E_1\ge t_D$, and $U\le r_D$ to $\min\{E_2,E_3,E_4\}\ge t_D$; moreover $E_3\ge t_D>0$ implies that $U/(D+1)+\vartheta<1$, and $\min\{1,E_1,\dots,E_4\}\ge t_D$ requires $t_D\le1$. The second assertion of (i) follows, since $\sigma_k(\theta)\ge t$ means that $\varsigma^\star(U,\vartheta)\ge t$ for $10$, and then $a_1=(\rho_0-\lambda_0)/(\lambda_2+\rho_2)$. If the predecessor is $\mathcal{I}_0$, the interval is a tent, and $a_1=2/\lambda_2\le\frac12$. Otherwise $a_1\le(\rho_2-\frac12)/\rho_2<1$ when the interval is one of $\mathcal{I}_1,\mathcal{I}_2,\mathcal{I}_3$, and $a_1\le(\rho_2+1)/(\rho_2+4)<1$ when it is a tent. The condition on $\theta=k\vartheta$ and a term of the right end point of the last interval reads $(k+\rho_2)\vartheta\le\rho_0-\rho_1t$, and here $a_1=\rho_0/(k+\rho_2)<1$ because $\rho_0\le\rho_2+2$. Thus $\tilde\theta(t)/k$ is the least of finitely many numbers $a_1-a_2t$ with $a_1<1$ and $a_2\ge0$, so that $t/(1-\tilde\theta(t)/k)$ is the least of the numbers $t/(1-a_1+a_2t)$, and each of these is positive and increasing for $t>0$. (v) Let $a\le v\le b$ and $t:=2v$. If $\tilde\theta(t)>1$, then $\theta_k(t)\ge\tilde\theta(t)$ by~(iii), and otherwise $\theta_k(t)\ge1\ge\tilde\theta(t)$. As $\theta_k(t)\le\frac12k$, the left hand side of the inequality in~(v) is at least $v/(1-\tilde\theta(2v)/k)$, and by~(iv) this number is at least its value at $v=a$. \end{proof} \subsection{Potentials}\label{ss:Apot} In \S\ref{s:pot} the potential $\mathcal{G}$ enters the induction through Lemma~\ref{lem:pot}, and the proofs there draw on its particular shape, on the admissibility of $\Theta$ and on the hypothesis $k\ge37$. In this appendix two other potentials are used, for all $k\ge13$. We therefore record what is used of \S\S\ref{s:setup}--\ref{s:circle} when $k<37$, and then isolate the properties of a potential on which Proposition~\ref{prop:main} rests (Lemma~\ref{lem:Apot}). \emph{The range of $k$.} Let $k\ge13$. Sections~\ref{s:setup}--\ref{s:apriori} and~\ref{s:circle} were written for $k\ge37$ and for a number $\Theta$ that is admissible for $k$. Apart from \S\ref{s:pot}, and from the evaluation of the potential of that section in \S\ref{ss:major}, the admissibility of $\Theta$ is used in \eqref{eq:params} and \eqref{eq:gammaeps}, in Lemma~\ref{lem:saving} and in Corollary~\ref{cor:fibre}, and the hypothesis $k\ge37$ is used in two places only: in the inequality $s>4.19\,k\ge4k+1$ of \S\ref{ss:arcs}, which requires $k\ge6$, and in the inequality $h_k\le\frac15$, on which the second assertion of Theorem~\ref{thm:explicit} depends. The results from outside the paper that are quoted in these sections hold for $k\ge13$: \cite[Theorem~2.2]{BW2025} is stated for $k\ge6$ and for all real orders $t\ge4$, with arbitrary weights, so that \eqref{eq:admexp} is available as explained in \S\ref{s:apriori}; and \S\ref{s:exp} holds for $k\ge3$. Lemma~\ref{lem:weyl} is proved in \S\ref{ss:weyl} from \eqref{eq:admexp} with $v=2k$. In \S\ref{s:pot} both hypotheses are used at several further points; that section is replaced by Lemma~\ref{lem:Apot} below. \emph{The parameters.} Let $\Theta$ be a real number with $1<\Theta\le\frac12k$ and $\sigma_k(\Theta)>0$. In place of \eqref{eq:params} we suppose that \begin{equation}\label{eq:Aparams} 0<\delta_0<\tfrac1{40},\qquad0<\varepsilon_2\le\min\{\tfrac1{100},\delta_0\},\qquad0<\gamma\le\frac1{100\,k},\qquad 0<\varepsilon\le\tfrac14\delta_0\,\sigma_k(\Theta); \end{equation} thus $\sigma(\Theta)$ is replaced by $\frac12\sigma_k(\Theta)$, and the condition $\delta_0<\frac12(1-\eta_k(\Theta))$ is omitted. The other parameters are chosen as in \S\ref{ss:params}; in particular \eqref{eq:eta} holds. With these parameters Corollary~\ref{cor:fibre} holds for $1<\theta\le\Theta$ with $\sigma_k(\theta)$ in place of $(1-\eta_k(\theta))\sigma(\theta)$. Indeed, if $m\le X^{\theta/k}$, and if $q$ is a divisor of $m^k$ with $q>X$, then $\vartheta\le\theta/k\le\frac12$ and $1\frac15$. So $\theta(z)$ is well defined, the function $\theta(\cdot)$ is nonincreasing with values in $[1,\Theta]$, $M(\theta(z))\ge z$, and $\theta(z)=\Theta$ exactly when $z\le u_\Theta$. By the definition of $\theta_k$, \begin{equation}\label{eq:Athetaz} \theta(z)=\min\bigl\{\Theta,\ \theta_k\bigl(2z/(1-\delta_0)\bigr)\bigr\}\qquad(0\frac12$, and $\tau^\circ:=\tau_k$. In the \emph{second case} $13\le k\le20$, and $\Psi^\circ$ and $\tau^\circ$ are formed with the permissible exponents that Vaughan and Wooley \cite[\S\S15--22]{VW2000} have tabulated, as follows. We write $\lambda_s=\lambda_s^{(k)}$ $(3\le s\le S_k)$ for the numbers that are recorded in the table for $k$ in \cite{VW2000}; here $S_k=36$, $40$, $43$, $47$, $50$, $54$, $58$, $62$ for $k=13,\dots,20$. Further let $\lambda_0:=0$, $\lambda_1:=1$ and $\lambda_2:=2$. These numbers are permissible exponents in the sense of \cite[\S2]{VW2000}: for every $\varepsilon'>0$ there is $\eta'>0$ such that the number of solutions of the equation \[ n_1^k+\dots+n_s^k=n_{s+1}^k+\dots+n_{2s}^k\qquad\bigl(n_i\in\mathcal{A}(Y,Z)\bigr) \] is $\ll Y^{\lambda_s+\varepsilon'}$ whenever $2\le Z\le Y^{\eta'}$. For $s\le2$ this is trivial, or Hua's lemma, as in \S\ref{s:apriori}; for $s\ge3$ the recorded numbers are stated in \cite[\S8]{VW2000} to be upper bounds for the exponents that were computed there. Put \begin{gather*} \Delta_s:=\lambda_s-2s+k\quad(0\le s\le S_k),\qquad z^{(s)}:=\tfrac12(\Delta_s-\Delta_{s+1})\quad(0\le s0),\qquad \tau_k^{\mathrm{VW}}:=\frac1{T_k}, \end{gather*} where the numbers $T_k$ for $k=13,\dots,20$ are \[ 104.95,\quad114.19,\quad123.40,\quad132.60,\quad141.78,\quad150.95,\quad160.07,\quad169.18, \] and let $\Psi^\circ:=\Psi_k^{\mathrm{VW}}$ and $\tau^\circ:=\tau_k^{\mathrm{VW}}$. The following facts are verified by the program of \S\ref{ss:numerics}, in exact rational arithmetic: \begin{enumerate} \item[\textup{(V1)}] the sequence $(\lambda_s)_{0\le s\le S_k}$ is convex, $\lambda_{s+1}-\lambda_s<2$, and $\Delta_{S_k}>0$; \item[\textup{(V2)}] $\lambda_k-\lambda_{k-1}\le\frac85$, that is, $z^{(k-1)}\ge\frac15$; \item[\textup{(V3)}] with $u:=k-1$ one has $\tau_k^{\mathrm{VW}}<(k-2\Delta_u)/(4u^2)$, $9k\le8u^2$ and $\frac18\bigl(1+\frac{\Delta_u}{2u^2}\bigr)+\frac{k}{4u^2}<\frac14$. \end{enumerate} By (V1) the numbers $\Delta_s$ are positive and decrease, the numbers $z^{(s)}$ are positive and do not increase with $s$, and the minimum that defines $\Psi_k^{\mathrm{VW}}(z)$ is attained at $s$ when $z^{(s)}\le z\le z^{(s-1)}$, where $z^{(-1)}:=\infty$ and $z^{(S_k)}:=0$; note that $z^{(0)}=\frac12$, so that $\Psi_k^{\mathrm{VW}}(z)=1/z$ for $z\ge\frac12$. The number $T_k$ is a rounded-up value of $4u^2/(k-2\Delta_u)$; for instance $1/\tau_{17}=153.47\ldots$, whereas $T_{17}=141.78$. \begin{lemma}\label{lem:Ainputs} Let $k\ge13$, and let $(\Psi^\circ,\tau^\circ)$ be as above. \textup{(i)} The function $\Psi^\circ$ is continuous, decreasing and locally Lipschitz continuous on $(0,\infty)$, and $\Psi^\circ(z)=1/z$ for $z\ge\frac12$. The function $\mathfrak{g}^\circ(z):=-z\,\frac{\mathrm{d}}{\mathrm{d}z}\Psi^\circ(z)$ satisfies $0\le\mathfrak{g}^\circ\le\Psi^\circ$ almost everywhere, and \begin{equation}\label{eq:Agcirc} \Psi^\circ(z)-\mathfrak{g}^\circ(z)\ge2\qquad\text{for almost all }z\in(0,\tfrac15]. \end{equation} In particular $\Psi^\circ\ge2$ on $(0,\frac15]$. \textup{(ii)} Let $0\frac12$. So $\Psi^\circ-\mathfrak{g}^\circ$ vanishes for $z>\frac12$, and for $z<\frac12$ it equals $\Psi(z)-\frac1{1-z}$, which is decreasing, vanishes at $z=\frac12$, and is at least $2+\log4-\frac54>2$ for $z\le\frac15$. In the second case let $z^{(s)}0$ and $\Phi(x,0):=0$, and let $\mathcal{G}_\gamma:=\mathcal{G}(\gamma u)$. \textup{(i)} For $\gamma\le x\le1$ the functions $\lambda\mapsto\Phi(x,\lambda)$ and $\lambda\mapsto\mathcal{G}_\gamma k\lambda-\Phi(x,\lambda)$ are nondecreasing on $[0,\infty)$, and the function $\lambda\mapsto\Phi(x,\lambda)-2k\lambda$ is nondecreasing on $[0,\frac15x]$. \textup{(ii)} If $\lambda/x\le\frac15$ and $0\le t\le\min\{\lambda,x-\gamma\}$, then $\Phi(x-t,\lambda-t)\le\Phi(x,\lambda)-2kt$. \textup{(iii)} Let $z:=\lambda/x\gamma$ and therefore $\gamma u/x4\gamma$ and $z\frac32\cdot4\gamma$ shows that the right hand side of the inequality that is required there exceeds $5\gamma\varepsilon_2/k$, while the left hand side is at most $4\gamma\varepsilon_2/k$, as before; the remaining assertions of \eqref{eq:drange} follow from $\theta\le\frac12k$. By \eqref{eq:Aadm} we have $W^2=X^{2z}\le X^{\sigma_k(\theta)-2\varepsilon}$, so that Corollary~\ref{cor:fibre} applies in the form stated above, and Lemma~\ref{lem:iter} gives \eqref{eq:iter}. The estimates for $\Sigma_1$ and $\Sigma_2$ use Lemma~\ref{lem:pot}(ii)--(iv) in the form of the present parts (i)--(iii), and in addition the inequalities $\lambda^+/(x-y)\le\frac15$, $\lambda^\dagger/x\le\frac15$ and $\lambda<\frac1{10}$. These hold for large $P$, because $\lambda^+/(x-y)\le2z+\log4/(2\gamma\log P)$ and $\lambda^\dagger/x\le z+\log K_0/(4\gamma\log P)$, while $z\mathcal{Y}_k(\Theta)-\frac{2k}{\Theta'}\Bigl(1+\log\frac{9.027901\,\Theta'\,b}{2}\Bigr),\qquad\text{where}\quad \Theta':=\frac{\Theta}{1-\Theta/(2k)}. \] \end{theorem} In these statements $\Theta$ need not be admissible in the sense of Definition~\ref{def:round}. Any positive function $\tilde\theta$ with $\tilde\theta\le\theta_k$ on $[2\tau_k,2z_k]$ yields an upper bound for $\mathcal{Y}_k(\Theta)$, namely the number that is obtained when $\theta_k$ is replaced by $\tilde\theta$ in the integral, and it shows that $\tilde\theta(2\tau_k)\le\Theta_k$. It is in this way that the theorem will be applied. For $k\le5000$ parts~(i) and~(ii) are superseded by Theorem~\ref{thm:Arec}; we use them for $k\ge5000$ (Proposition~\ref{prop:Alarge}), and part~(iii) for all $k\ge37$ (\S\ref{ss:Afrac}). \begin{proof} We go through \S\S\ref{s:setup}--\ref{s:ls} with $k$ and $\Theta$ as in the theorem. In these sections the hypothesis that $\Theta$ is admissible for $k$, which is made in \S\ref{ss:params} and again at the beginning of \S\ref{s:ls}, is replaced by $\frac94\le\Theta\le\Theta_k$. It was used in \eqref{eq:params} and \eqref{eq:gammaeps}; in Lemma~\ref{lem:saving} and Corollary~\ref{cor:fibre}; throughout \S\ref{ss:potdef}, and in the proofs of Lemma~\ref{lem:pot} and Proposition~\ref{prop:main}, namely for the positivity and the strict monotonicity of $M$, for \eqref{eq:adm} and \eqref{eq:uzc}, and through the inequality $\theta\le\Theta<\sqrt k\le\frac12k$; and in Lemma~\ref{lem:pot}(i), which is quoted in \S\S\ref{ss:major} and~\ref{ss:frac}. We have $\Theta\le\Theta_k\le\frac12k$ and $\sigma_k(\Theta)\ge\sigma_k(\Theta_k)\ge2\tau_k>0$. So the paragraph of \S\ref{ss:Apot} on the parameters applies: the parameters are subject to \eqref{eq:Aparams}, with $\varepsilon:=\min\{\frac14\delta_0\sigma_k(\Theta),\,\gamma/(16k^2s)\}$ in \eqref{eq:gammaeps}, Corollary~\ref{cor:fibre} holds in the form stated there, and $M$, $u_\Theta$ and $\theta(\cdot)$ are defined as there. \emph{The potential.} The numbers $\eta_c$, $w_c$, $z_c$ and $\theta_0$ are defined as in \S\ref{ss:potdef}, so that $\eta_c<\frac14$, $\frac95<\theta_0<2$ and $\frac16(3-\theta_0)=2w_c$. By Lemma~\ref{lem:Asaving}(iii), \[ M(\theta_0)\ge\tfrac12(1-\delta_0)\Bigl(1-\frac{4\theta_0}k\Bigr)\,2w_c\ge\Bigl(1-\delta_0-\frac{4\theta_0}k\Bigr)w_c \ge(1-\eta_c)\,w_c=z_c, \] the last step by the inequality $4\theta_0/k\le\eta_c-\delta_0$ of \S\ref{ss:potdef}. Hence $\theta(z_c)\ge\theta_0$, and \eqref{eq:H} holds. Moreover $u_\Theta\le M(\frac94)\le\frac1{16}$, again by Lemma~\ref{lem:Asaving}(iii), which gives \eqref{eq:uzc}. We define $\mathcal{G}$ as in \S\ref{ss:potdef}, with one change: for $0\frac32$, and (G1) holds by the definition of $\mathcal{G}$. The function $\mathcal{G}$ is nonincreasing and locally Lipschitz continuous. For almost all $z4.19$; this gives (G2). For (G3) let $0\Theta$. \emph{Large $k$.} We now make the bound of Theorem~\ref{thm:Aexplicit} explicit for $k\ge5000$, by means of the chains of Lemma~\ref{lem:Achain}. Let $D_\star=D_\star(k)$ be the largest integer $D$ with $D^2+6D+32\le k$. Then $D_\star=\lfloor\sqrt{k-23}\rfloor-3$, and $D_\star\ge67$ for $k\ge5000$. \begin{lemma}\label{lem:Alarge} Let $k\ge5000$, and put $\hat t:=\frac{k-9}{8k}$, $\check t:=\frac{k-20}{6(3k+10)}$ and $\Theta:=D_\star/(1+D_\star/k)$. Then $\frac1{18}>\check t>\frac1{20}$, $\Theta\le\Theta_k$, and \[ \theta_k(t)\ge\begin{cases} (3-6t)/(1+\frac3k),& \hat t\le t\le\frac15,\\[1pt] (4-14t)/(1+\frac7k),& \frac1{12}3.3$ there, as $\check t<\frac1{18}$. Moreover $\theta=5-30t-15\vartheta\le 5-30\vartheta$ is the right end point of $\mathcal{I}_3$. \emph{The last two lines.} Let $4\le D\le D_\star$ and $\frac1{(D+1)(D+2)}\frac1{(D+1)(D+2)}$ and $2D+2\le Dk$). We insert this bound in the definition of $\mathcal{Y}_k(\Theta)$, after the substitution $t=2v$. Since \[ \int\frac{\mathrm{d}t}{t(c-c't)}=\frac1c\log\frac{t}{c-c't}\qquad\text{and}\qquad \frac{2z_k}{1-4z_k}=\frac{(1-h_k)(5-h_k)}{15+12h_k-2h_k^2}, \] the first four ranges contribute to $2\int\mathrm{d}t/(t\,\theta_k(t))$ at most the four logarithmic terms in the definition of $C^\star(k)$. The range belonging to $D$ contributes $2(1+\frac Dk)\Lambda_D$, as in the proof of Lemma~\ref{lem:I}, and the range $2\tau_k\le t\le1/(D_\star(D_\star+1))$ contributes $\frac2\Theta\log\frac{9.027901\,k}{2D_\star(D_\star+1)}$. This gives the first inequality, the last term of $\mathcal{Y}_k(\Theta)$ being carried along. For the second one write $n:=D_\star$, $\xi:=k/n$ and $L_1:=\log\frac{9.027901}2=1.50717\ldots$, so that $c_\star=4-2L_1$. From $n^2+6n+32\le k<(n+1)^2+6(n+1)+32$ and $n\ge67$ we get \[ n+6<\xi<\bar\xi:=n+8+\frac{39}n\qquad\text{and}\qquad\sqrt k-4.164\sqrt{k-23}>\sqrt k-0.164$. \emph{The term $C^\star(k)$.} When $k\to\infty$, each of the four logarithmic terms tends to the corresponding term of $2\Lambda^\star$ in \eqref{eq:Astar}, and $\Psi(z_k)\to2+\log9$. With $h:=h_k$ the five differences are $\log\bigl(1+\frac{6h-h^2}{45}\bigr)-\log(1-h)-\log\bigl(1-\frac h5\bigr)$ and \begin{gather*} \tfrac23\Bigl(\bigl(1+\tfrac3k\bigr)\log\Bigl(\bigl(1+\tfrac{12}{k-9}\bigr)\bigl(1-\tfrac{30h-5h^2}{15+12h-2h^2} \bigr)\Bigr)+\tfrac3k\log2\Bigr),\\ \tfrac12\Bigl(\bigl(1+\tfrac7k\bigr)\log\bigl(1-\tfrac{16}{k+7}\bigr)+\tfrac7k\log\tfrac{17}9\Bigr),\qquad \tfrac12\Bigl(\bigl(1+\tfrac8k\bigr)\log\bigl(1+\tfrac{28}{k-20}\bigr)+\tfrac8k\log\tfrac53\Bigr),\\ \tfrac25\Bigl(\bigl(1+\tfrac{15}k\bigr)\log\bigl(1-\tfrac{35}{k+15}\bigr)+\tfrac{15}k\log\tfrac76\Bigr). \end{gather*} We use that $\log(1+x)\le x$ for $x>-1$, that $-\log(1-x)\le x/(1-x)$ for $0\le x<1$, that $\frac{30h-5h^2}{15+12h-2h^2}\ge2h-2h^2$, and that $7.2n+1$, because $F'(\xi)=2L_1-2+2\log\frac{\xi}{n+1}+\frac2\xi>0$. Hence $F(\xi)0.0998$ and $-\log(z_k/\tau_k)<-\log k+0.105$. This gives the second inequality. The assertion on $G(k)$ follows from Theorem~\ref{thm:Aexplicit}(i), since $c_\star>0.9856$. \end{proof} The coefficient $c_\star$ belongs to the choice $\Theta=(1+o(1))\sqrt k$: the three terms that depend on $\Theta$ are then about $-4k/\Theta$, from the tail of the series, $4\log\Theta$, from the rounding, and $(2k/\Theta)\log(9.027901\,k/(2\Theta^2))$; the second of them, which is about $2\log k$, is halved by the term $-\log(z_k/\tau_k)$. In Theorem~\ref{thm:explicit} the term $2R_k(\Theta)$ is of order $k^{-1/2}$ when $\Theta$ is of order $\sqrt k$, and becomes infinite as $\Theta(\Theta+5)\to k$; here its place is taken by a term of order $k^{-1}\log k$. Larger steps are considered in Remark~\ref{rem:Asecond}. \subsection{The steps of the potential as a recursion}\label{ss:Arec} Condition (G3) of Lemma~\ref{lem:Apot} requires that the potential decrease by $\frac2k$ between the two ends of a step, that is, between $z$ and $z/(1-\theta(z)/k)$, apart from the effect of the parameters $\delta_0$ and $\varepsilon_2$. The potentials of \S\ref{s:pot} and of Theorem~\ref{thm:Aexplicit} achieve this by means of a differential inequality: their logarithmic derivative at a point $v$ is governed by $\theta(v)$, and since $\theta(\cdot)$ decreases along a step, they decrease by more than $\frac2k$ along most steps. In this section the requirement is imposed as it stands. The value of the potential at $z$ is defined to be $\frac2k$ plus its value at the end of the step that begins at $z$; more precisely, at the least of the end points of the steps that begin at points $v\ge z$, because the potential has to be monotone. Then $z\,\mathcal{G}(z)$ is no longer concave, and Lemma~\ref{lem:pot}(v) and the second assertion of Corollary~\ref{cor:moment} are lost. They were needed in \S\ref{s:circle} only for \eqref{eq:pr1}, where the arcs of height $Q\ge P^{1/4}$ are pruned by means of a moment of $F$ and a bound for its supremum (compare Remark~\ref{rem:height}). We prove \eqref{eq:pr1} in a different way. After the change of variables of Lemma~\ref{lem:rescale} the bound of Weyl type holds for each of the shorter sums, so that only the values of these sums below that bound have to be considered, and the measure of the set on which such a sum is large is bounded by Proposition~\ref{prop:main} itself (Proposition~\ref{prop:Aprune}). In this way arcs on which $F$ saves a factor $Y^{\tau}$ are pruned with any number of variables that exceeds $k\,\mathcal{G}(z_*)$ for some $z_*<\tau$, whether $z\,\mathcal{G}(z)$ is concave or not. The outcome is Theorem~\ref{thm:Arec}: it bounds $G(k)$ in terms of a single sequence of steps, which begins just below the exponent of the bound of Weyl type and ends below $\frac1{10}$, and no integral has to be estimated. The theorem holds for all $k\ge13$; its numerical consequences are worked out in \S\ref{ss:Anum}. \emph{Pruning by large values.} We turn to \eqref{eq:pr1}. The proposition below takes the place of Corollary~\ref{cor:arcmoment} and of the proof of \eqref{eq:pr1} in \S\ref{ss:weyl}; the numbers $b$, $r$ and $t$ of \eqref{eq:rst} do not occur in it. Let $k\ge13$, and let $(\Psi^\circ,\tau^\circ)$ be one of the two pairs of \S\ref{ss:Apot}; in both cases $\tau^\circ<\frac1{100}$. \begin{proposition}\label{prop:Aprune} In the situation of \S\ref{s:circle}, with the parameters as in \S\ref{ss:Apot}, let $\mathcal{G}$ be a nonincreasing function from $(0,\infty)$ to $[0,\infty)$, let $00),\qquad\Phi(x,0):=0 . \] Suppose that the assertion of Proposition~\textup{\ref{prop:main}} holds with this function $\Phi$, and that for $\gamma\le x\le1$ the function $\lambda\mapsto\Phi(x,\lambda)-2k\lambda$ is nondecreasing on $[0,\frac15x]$. Let $s\ge4k+1$ and $z_*$ be real numbers with \[ u\le z_*<\tau^\circ\qquad\text{and}\qquad\xi:=s-k\,\mathcal{G}(z_*)>0, \] put $\nu:=\xi z_*$, and suppose that, in place of \eqref{eq:rst}, \eqref{eq:gammaeps} and \eqref{eq:Rlarge}, \[ \gamma\le\min\Bigl\{\frac1{100k},\,\frac{\nu}{40k^2}\Bigr\},\qquad\varepsilon\le\gamma,\qquad \eta\le\frac{\tau^\circ-z_*}{8k},\qquad\omega=\frac{\eta}{64\,k\,s}, \] and that $J$ is so large that Lemma~\textup{\ref{lem:Ainputs}(iii)} applies. Then the estimate \eqref{eq:pr1} holds with this number $\nu$, the estimates \eqref{eq:pr2} and \eqref{eq:pr3} hold, and so does \eqref{eq:prune}, in which $\nu_0$ is formed with $\nu$. \end{proposition} \begin{proof} The proofs of \eqref{eq:pr2} and \eqref{eq:pr3} in \S\ref{ss:small} depend on the parameters only through the conditions $s\ge4k+1$ and $\omega=\eta/(64ks)$, and \eqref{eq:prune} is deduced from \eqref{eq:pr1}--\eqref{eq:pr3} as in \S\ref{ss:arcs}. So only \eqref{eq:pr1} has to be proved, and for this the only property of $s$ that is needed is $s>2k$. Let $P^{1/4}\le Q\le P^{k/2}$, and let $\mu$, $i$ and $C_3$ be as in Lemma~\ref{lem:Ainputs}(iii). For $d\in\mathcal{D}_i$ we write $Y:=P/d=P^y$ and $F_d(\beta):=F_{J-i}^{[d]}(\beta;Y)$; thus $\mu\le y<\mu+\frac98\eta$ by \eqref{eq:Ysize}. For a divisor $c$ of $d$ let $V_c:=C_3\,Y\,c\,Q^{-2\tau^\circ/k}R^{1/2}$ and \[ f_{d,c}(\beta):=\begin{cases}|F_d(\beta)|^s,&|F_d(\beta)|\le V_c,\\ 0,&\text{otherwise},\end{cases}\qquad\quad T(d,c):=\int_{\mathbb{T}}f_{d,c}(\beta)\,\mathrm{d}\beta . \] \emph{The large values of the shorter sums.} We claim that \begin{equation}\label{eq:ATdc} T(d,c)\ll Y^{s-k}\,c^{\,s-2k}\,P^{-\nu y+4k\gamma+\varepsilon}(\log P)^{2J}. \end{equation} Define $\lambda_c$ by $V_c=YP^{-\lambda_c}$, and let $\lambda^0:=\max\{\lambda_c,0\}$. Since $|F_d|\le Y$, \begin{align*} T(d,c)&\le\int_0^{\min\{V_c,Y\}}s\,v^{s-1}\operatorname{meas}\{\beta:|F_d(\beta)|\ge v\}\,\mathrm{d}v\\ &=s\log P\int_{\lambda^0}^\infty(YP^{-\lambda})^s\operatorname{meas}\{\beta:|F_d(\beta)|\ge YP^{-\lambda}\}\, \mathrm{d}\lambda . \end{align*} The number $Y$ is attached to $J-i$, and $y\ge\mu\ge\frac1{2k}\ge\gamma$. So Proposition~\ref{prop:main} bounds the measure in the integrand by $Y^{-k}C_*^{J+1}(\log P)^{2J}P^{4k\gamma+\varepsilon+\Phi(y,\lambda)}$, and \[ T(d,c)\ll Y^{s-k}(\log P)^{2J+1}P^{4k\gamma+\varepsilon}\int_{\lambda^0}^\infty P^{\Phi(y,\lambda)-s\lambda}\, \mathrm{d}\lambda . \] Let $\lambda_1:=z_*y$. If $\lambda\ge\lambda_1$, then $\lambda\ge z_*/(2k)>\gamma u$, and since $\mathcal{G}$ is nonincreasing, \[ \Phi(y,\lambda)=k\lambda\,\mathcal{G}(\lambda/y)\le k\lambda\,\mathcal{G}(z_*)=(s-\xi)\lambda . \] If $0\le\lambda\le\lambda_1$, then, by the hypothesis on $\Phi$ and since $\lambda_1=z_*y\le\frac15y$, \[ \Phi(y,\lambda)\le\Phi(y,\lambda_1)-2k(\lambda_1-\lambda),\qquad\text{whence}\qquad \Phi(y,\lambda)-s\lambda\le-\xi\lambda_1+(s-2k)(\lambda_1-\lambda). \] Therefore \[ \int_{\lambda^0}^\infty P^{\Phi(y,\lambda)-s\lambda}\,\mathrm{d}\lambda\le\frac{P^{-\xi\lambda_1}}{\log P}\Bigl( \frac1\xi+\frac{P^{(s-2k)\max\{\lambda_1-\lambda^0,0\}}}{s-2k}\Bigr). \] Now $\frac2k\log Q\ge\mu\log P-\log2$, so that $\lambda_c\log P\ge(\tau^\circ\mu-\frac12\eta)\log P-\log c-\log(2C_3)$, while $\lambda_1\frac12P^{k/2}$, then $\mu=1$, $i=0$ and $F_1=F$, and \eqref{eq:Aweyl} shows that $|F|\le V_1$ on $\mathfrak{N}(Q;P)$; so the integral is at most $T(1,1)$, and \eqref{eq:Asum} holds again. \emph{Conclusion.} By \eqref{eq:ATdc}, and since $Y=P/d$ and $y\ge\mu$, \[ \Bigl(\frac dc\Bigr)^{s-1-k}T(d,c)\ll\frac{P^{s-k}}{d\,c^{\,k-1}}\,P^{-\nu\mu+4k\gamma+\varepsilon}(\log P)^{2J}. \] The sum of $d^{-1}$ over $d\in\mathcal{D}_i$ is at most $1$, by Lemma~\ref{lem:setup}(c), and each $d$ has at most $2^J$ divisors. Moreover $P^{\mu}\ge Q^{2/k}$, and $P^{4k\gamma+\varepsilon}(\log P)^{2J}\le P^{\nu/(4k)}\le Q^{\nu/k}$ for large $P$, because $4k\gamma+\varepsilon\le\frac{\nu}{10k}+\frac{\nu}{40k^2}$ and $Q\ge P^{1/4}$. Thus the left hand side of \eqref{eq:Asum} is $\ll P^{s-k}Q^{-2\nu/k}Q^{\nu/k}$, which is \eqref{eq:pr1}. \end{proof} When $z\,\mathcal{G}(z)$ is concave, the conclusion is the one that is described in Remark~\ref{rem:height}; the point of the proposition is that the concavity is not needed. The truncation at $V_c$ is what makes this possible: in Corollary~\ref{cor:arcmoment} the moments of the shorter sums are taken over all of $\mathbb{T}$, and they are controlled by the values of $\mathcal{G}$ at all points of $(0,1]$, whereas $T(d,c)$ depends on its values at points $z\ge z_*$ only, apart from the terms with $c>1$, which are harmless. \emph{The theorem.} As before, $(\Psi^\circ,\tau^\circ)$ denotes one of the two pairs of \S\ref{ss:Apot}. \begin{theorem}\label{thm:Arec} Let $k\ge13$. Let $n\ge1$ be an integer and $c_0c_j$ for $1\le j\le n$; \item[\textup{(R3)}] $\Psi^\circ(c_{n-1})-\Psi^\circ(c_n)\ge\frac2k$. \end{enumerate} Put $\mathcal{Y}:=k\,\Psi^\circ(c_n)+2n$, and in the second case suppose that $\mathcal{Y}\ge4k+1$. \textup{(i)} One has $G(k)\le\lfloor\mathcal{Y}\rfloor+1$. \textup{(ii)} The conclusions of Theorem~\textup{\ref{thm:mvexplicit}} hold for $k$ and every real number $s_1>\mathcal{Y}$, the parameters being chosen in terms of $k$ and $s_1$. If $\mathcal{Y}\ge4.19\,k$, then the conclusions of Theorem~\textup{\ref{thm:almostexplicit}} hold for $k$ and every integer $\ell>\frac12\mathcal{Y}$; in the first case this condition is always satisfied. \end{theorem} Theorems~\ref{thm:almostexplicit} and~\ref{thm:mvexplicit} are stated for $k\ge37$ and for an admissible number $\Theta$; part~(ii) requires neither. For $k\ge15$ the condition $\theta_k(2c_n)\ge\frac32$ follows from $c_n<\frac1{10}$, since $\sigma_k(\frac32)\ge\frac14-\frac3{4k}\ge\frac15$ by Lemma~\ref{lem:Asaving}(iii). Condition (R2) says that every step that begins in $[c_{j-1},c_j)$ ends beyond $c_j$. It can be verified by means of Lemma~\ref{lem:Achain}(v): if $\tilde\theta$ is as in that lemma, on an interval that contains $[2c_{j-1},2c_j]$, then (R2) holds for $j$ as soon as $c_j0$, because $\sigma_k$ is left-continuous. So the paragraph of \S\ref{ss:Apot} on the parameters applies with this $\Theta$: the parameters $\delta_0$, $\varepsilon_2$, $\gamma$ and $\varepsilon$ are subject to \eqref{eq:Aparams}, and $\theta(\cdot)$ is defined as there. We suppose that $\delta_0$ and $\varepsilon_2$ are so small that \begin{equation}\label{eq:Asmallpar} \delta_0+\varepsilon_2\le\epsilon\qquad\text{and}\qquad z_0\le(1-\delta_0)\,c_n . \end{equation} Then $\theta(z_0)\ge\theta_k(2c_n)\ge\frac32$, by \eqref{eq:Athetaz}. \emph{The steps.} For $0c_{j-1}\ge c_0$, so that $\theta_k(2v')\le\Theta$, and $\theta(v)=\theta_k(2v')$ by \eqref{eq:Athetaz}. For $0\le a\le\frac12$ one has \[ \frac{1-a}{1-a/(1+\varepsilon_2)}=1-\frac{a\,\varepsilon_2}{1+\varepsilon_2-a}\ge1-\varepsilon_2 ; \] with $a=\theta(v)/k$ this shows that \[ S(v)\ge(1-\delta_0)(1-\varepsilon_2)\,\frac{v'}{1-\theta_k(2v')/k}. \] If $v'z_0$. Let $j\le n$ and $z\ge c_{j-1}$. If $z\ge z_0$, then $\mathcal{G}(z)\le\Psi^\circ(z_0)=\Psi^\circ(c_n)+\frac2k$. If $z\mathcal{Y}$. Then $s>4k+1$: in the first case $\mathcal{Y}>k\,\Psi(\frac1{10})>4.19\,k$, and in the second case this is the hypothesis. Fix $z_*$ with $c_04.19\,k$, which holds when $2\ell>\mathcal{Y}\ge4.19\,k$; in the first case $\mathcal{Y}>4.19\,k$, as we have seen. These proofs do not use the hypothesis $k\ge37$, and they are the same in both cases. As $2\ell>\mathcal{Y}$ and $s_1>\mathcal{Y}$, what has just been shown applies with $s=2\ell$ and with $s=s_1$. This gives~(ii). \end{proof} The number $k\,\mathcal{G}(c_0)$ in this proof cannot be lowered by another choice of the potential, as long as the potential is to be nonincreasing, to agree with $\Psi^\circ$ from some point $z_0$ on, and to satisfy (G3) below $z_0$: the function $\mathcal{G}$ is the least one with these properties. In comparison with Theorem~\ref{thm:Aexplicit} there are two gains. The potential of that theorem decreases along a step that begins at $v$ by an amount that is formed with the values of $\theta(\cdot)$ on the whole step, and these are smaller than $\theta(v)$; summed over the steps between $\tau_k$ and $z_k$, this costs roughly $\log\bigl(\Theta_k/\theta_k(2z_k)\bigr)$ in $\mathcal{Y}_k(\Theta_k)$. Secondly, the sequence may end at any point below $\frac1{10}$, whereas $z_k$ is prescribed; for small $k$ the number $z_k$ is considerably smaller than the best end point (for $k=37$ one has $z_{37}=0.0768$, and the sequence that is used below ends at $c_n=0.0940\ldots$). \subsection{Numerical values}\label{ss:Anum} \emph{The computation.} The sequences of Theorem~\ref{thm:Arec} are constructed by the program of \S\ref{ss:numerics}, with directed rounding, as follows. Let \[ D_k:=\min\bigl\{\lceil1.45\sqrt k\rceil+7,\ \lfloor\tfrac12k\rfloor-1\bigr\}. \] The chains that we use are $\mathcal{I}_0,\mathcal{I}_1$ and $\mathcal{I}_0,\mathcal{I}_1,\mathcal{I}_2$, and those that continue one of these two by $\mathcal{T}_{D_1},\mathcal{T}_{D_1+1},\dots,\mathcal{T}_{D_2}$, where $D_1\in\{3,4\}$ and $D_1\le D_2\le D_k$; in addition $\mathcal{I}_3$ may be inserted between $\mathcal{T}_3$ and $\mathcal{T}_4$, or may follow $\mathcal{T}_3$ as the last interval. Fix such a chain, let $p:=\frac15$ if it contains no tent and $p:=1/(D_2(D_2+1))$ otherwise, so that its tents are defined for $01$ this is Lemma~\ref{lem:Achain}(iii), and elsewhere it is trivial. For an integer $D\ge3$ let $\mathcal{K}_D$ be the set of those among these chains whose tents $\mathcal{T}_d$ have $d\le D$, and let $\mathcal{K}_2$ be the set of those without tents. Put \[ p_D:=\frac1{D(D+1)}\quad(D\ge3),\qquad p_2:=\frac15, \] and for $2\le D\le D_k$ and $0\mathcal{Y}^\flat(k)$. \textup{(ii)} One has $G^\flat(k)<6.34\,k$ for $37\le k\le5000$, and $G^\flat(k)<6.3\,k$ for $47\le k\le5000$. \textup{(iii)} Let $37\le k\le5000$. Then $G^\flat(k)\mathcal{Y}^\flat(k)$. (ii)--(iv) We have computed $\mathcal{Y}^\flat(k)$ for each $k$. The assertions are inequalities between rational numbers and rigorous bounds for $C_0^\star$, and they were checked, in exact arithmetic, for each $k$ in the ranges stated; the inequalities with the constants $6.3$, $C_0^\star$ and $C_0^\star-\frac14k^{-1/2}$ fail for $k=46$, $55$, $77$, $49$, $68$ and $63$, respectively, in the order in which they are stated. For $37\le k\le5000$ the largest values of $G^\flat(k)/k$, of $(G^\flat(k)-C_0^\star k)/\sqrt k$ and of $(\ell^\flat(k)-\frac12C_0^\star k)/\sqrt k$ are $\frac{19}3$, $0.3197\ldots$ and $0.2399\ldots$, all attained at $k=39$, where $G^\flat(39)=247$ and $\ell^\flat(39)=124$; the largest value of $(\mathcal{Y}^\flat(k)-C_0^\star k)/\sqrt k$ is $0.2266\ldots$, attained at $k=37$. \end{proof} \begin{table}[ht] \caption{The numbers $\mathcal{Y}^\flat(k)$, $G^\flat(k)$ and $\ell^\flat(k)$ of Proposition~\ref{prop:Arec}, with the number $n$ of steps of the sequence that is used: one has $G(k)\le G^\flat(k)$, and $G^+(k)\le\ell^\flat(k)$ when $k$ is not a power of $2$. The last column contains the bound for $G(k)$ known before: that of \eqref{eq:BW} for $k\le36$, and that of Table~\ref{tab:values} for $k\ge37$.}\label{tab:Arec} \begin{tabular}{@{}rrcrrr@{\hspace{2em}}rrcrrr@{}} \toprule $k$ & $n$ & $\mathcal{Y}^\flat(k)$ & $G^\flat$ & $\ell^\flat$ & before & $k$ & $n$ & $\mathcal{Y}^\flat(k)$ & $G^\flat$ & $\ell^\flat$ & before\\ \midrule 21 & 21 & 134.0179 & 135 & 68 & 153 & 41 & 42 & 258.4626 & 259 & 130 & 297\\ 22 & 22 & 140.2882 & 141 & 71 & 161 & 50 & 51 & 313.9727 & 314 & 157 & 353\\ 23 & 23 & 146.6033 & 147 & 74 & 169 & 56 & 56 & 350.9112 & 351 & 176 & 398\\ 24 & 25 & 152.8904 & 153 & 77 & 178 & 67 & 67 & 418.7500 & 419 & 210 & 481\\ 25 & 26 & 159.2111 & 160 & 80 & 186 & 78 & 78 & 486.9647 & 487 & 244 & 566\\ 26 & 27 & 165.5140 & 166 & 83 & 194 & 81 & 81 & 505.5671 & 506 & 253 & 590\\ 27 & 28 & 171.7246 & 172 & 86 & 203 & 100 & 100 & 623.5525 & 624 & 312 & 709\\ 28 & 29 & 177.8940 & 178 & 89 & 211 & 150 & 151 & 933.7193 & 934 & 467 & 1062\\ 29 & 30 & 184.1304 & 185 & 93 & 220 & 174 & 175 & 1083.1920 & 1084 & 542 & 1241\\ 30 & 31 & 190.3041 & 191 & 96 & 229 & 200 & 201 & 1245.1492 & 1246 & 623 & 1407\\ 31 & 32 & 196.5224 & 197 & 99 & 237 & 212 & 214 & 1320.0039 & 1321 & 661 & 1483\\ 32 & 33 & 202.7877 & 203 & 102 & 246 & 250 & 252 & 1556.6930 & 1557 & 779 & 1724\\ 33 & 34 & 209.0098 & 210 & 105 & 254 & 330 & 334 & 2056.2439 & 2057 & 1029 & 2231\\ 34 & 35 & 215.2477 & 216 & 108 & 263 & 500 & 509 & 3118.9115 & 3119 & 1560 & 3309\\ 35 & 36 & 221.4729 & 222 & 111 & 272 & 700 & 715 & 4370.0634 & 4371 & 2186 & 4578\\ 36 & 37 & 227.6492 & 228 & 114 & 281 & 927 & 948 & 5790.3206 & 5791 & 2896 & 6025\\ 37 & 38 & 233.8173 & 234 & 117 & 273 & 1000 & 1024 & 6247.6151 & 6248 & 3124 & 6492\\ 38 & 39 & 239.9664 & 240 & 120 & 279 & 2000 & 2057 & 12511.3081 & 12512 & 6256 & 12902\\ 39 & 40 & 246.0702 & 247 & 124 & 285 & 3000 & 3093 & 18780.3738 & 18781 & 9391 & 19309\\ 40 & 41 & 252.3324 & 253 & 127 & 291 & 5000 & 5167 & 31322.5609 & 31323 & 15662 & 32116\\ \bottomrule \end{tabular} \end{table} For example, $G(21)\le135$, $G(37)\le234$, $G(50)\le314$, $G(100)\le624$, $G(1000)\le6248$ and $G(5000)\le31323$ (Table~\ref{tab:Arec}), and $\ell^\flat(k)=117$, $157$, $312$ and $3124$ for $k=37$, $50$, $100$ and $1000$. For $21\le k\le36$ the numbers $G^\flat(k)$ are smaller than the bounds of \eqref{eq:BW} by $18$ to $53$, and the largest value of $G^\flat(k)/k$ in this range is $\frac{135}{21}=6.4285\ldots$, for $k=21$. For $37\le k\le5000$ the number $n$ of steps lies between $k$ and $1.04\,k$, and the end points $c_n$ lie between $0.0932$ and $0.09996$; for $21\le k\le36$ they lie between $0.0846$ and $0.0938$. There is no subdivision on which the result depends, and the effect of the rounding on $\mathcal{Y}^\flat(k)$ is of the order of $10^{-8}$ at most; so the integers $G^\flat(k)$ are those that the chains give. In a few cases $\mathcal{Y}^\flat(k)$ lies just below an integer, or just above one: for $37\le k\le5000$ its fractional part exceeds $0.999$ for seven values of $k$, the largest being $0.99969\ldots$ for $k=513$, and it is smaller than $0.001$ for ten values of $k$, the smallest being $0.00005\ldots$ for $k=2885$; for $21\le k\le36$ the numbers $\mathcal{Y}^\flat(k)$ lie below the next integer by at least $0.10$. We have not carried the recursion beyond $k=5000$; for larger $k$ the bounds of this appendix rest on Theorem~\ref{thm:Aexplicit} and Proposition~\ref{prop:Alarge}. \begin{proposition}\label{prop:Arecsmall} For $13\le k\le20$ one has $G(k)\le G^{\mathrm{VW}}(k)$, where the numbers $G^{\mathrm{VW}}(k)$ are those of Table~\textup{\ref{tab:Arecsmall}}; that is, \begin{gather*} G(13)\le80,\quad G(14)\le86,\quad G(15)\le93,\quad G(16)\le99,\\ G(17)\le106,\quad G(18)\le112,\quad G(19)\le119,\quad G(20)\le125 . \end{gather*} Moreover, the conclusions of Theorem~\textup{\ref{thm:almostexplicit}} hold for every integer $\ell\ge\ell^{\mathrm{VW}}(k)$, and those of Theorem~\textup{\ref{thm:mvexplicit}} for every real number $s_1>\mathcal{Y}^{\mathrm{VW}}(k)$. In particular $G^+(k)\le\ell^{\mathrm{VW}}(k)$ when $k\ne16$; the numbers $\ell^{\mathrm{VW}}(k)$ are shown in Table~\textup{\ref{tab:Arecsmall}}. \end{proposition} \begin{proof} This is Theorem~\ref{thm:Arec} in the second case. The program verifies (V1)--(V3) and (R3) exactly; it confirms (R1), including the inequality $\theta_k(2c_n)\ge\frac32$, for which it uses the value of a chain at $2c_n$; the points $c_j$ are constructed in such a way that (R2) holds; and the numbers $\mathcal{Y}^{\mathrm{VW}}(k)$ exceed $4.19\,k$, and hence $4k+1$. Finally $2\ell^{\mathrm{VW}}(k)>\mathcal{Y}^{\mathrm{VW}}(k)$. \end{proof} \begin{table}[ht] \caption{The bounds $G(k)\le G^{\mathrm{VW}}(k)$ and $G^+(k)\le\ell^{\mathrm{VW}}(k)$ of Proposition~\ref{prop:Arecsmall}, with the number $T_k$ of \S\ref{ss:Apot}, the number $n$ of steps and the end point $c_n$ of the sequence that is used; for $k=16$ the number $\ell^{\mathrm{VW}}(16)$ is admissible in Theorem~\ref{thm:almostexplicit}(ii). The columns headed `before' contain the bounds known before: for $G(k)$ those of \cite[Theorem~1.1]{Woo2016} for $k=13$ and of \cite[Theorem~1.3]{BW2023} for $k\ge14$, and for $G^+(k)$ those of \cite[Theorem~9.1]{BW2023}, with the number of \cite[Theorem~9.2]{BW2023} for $k=16$.}\label{tab:Arecsmall} \begin{tabular}{@{}rcrccrrrr@{}} \toprule $k$ & $T_k$ & $n$ & $c_n$ & $\mathcal{Y}^{\mathrm{VW}}(k)$ & $G^{\mathrm{VW}}(k)$ & before & $\ell^{\mathrm{VW}}(k)$ & before\\ \midrule 13 & 104.95 & 10 & 0.0583 & 79.0746 & 80 & 81 & 40 & 44\\ 14 & 114.19 & 11 & 0.0590 & 85.7394 & 86 & 89 & 43 & 45\\ 15 & 123.40 & 12 & 0.0602 & 92.2842 & 93 & 97 & 47 & 49\\ 16 & 132.60 & 14 & 0.0696 & 98.7888 & 99 & 105 & 50 & 53\\ 17 & 141.78 & 15 & 0.0701 & 105.2755 & 106 & 113 & 53 & 57\\ 18 & 150.95 & 16 & 0.0704 & 111.8246 & 112 & 121 & 56 & 61\\ 19 & 160.07 & 17 & 0.0707 & 118.3697 & 119 & 129 & 60 & 65\\ 20 & 169.18 & 19 & 0.0788 & 124.7279 & 125 & 137 & 63 & 69\\ \bottomrule \end{tabular} \end{table} The tables of \cite{VW2000} enter in two places: through the function $\Psi_k^{\mathrm{VW}}$, which is smaller than $\Psi$ in the range that matters, and through the exponent $\tau_k^{\mathrm{VW}}$, which is larger than $\tau_k$; the first of the two is the more important one. The numbers $\mathcal{Y}^{\mathrm{VW}}(k)$ lie below the next integer by at least $0.17$. For $k=13$ the number $\mathcal{Y}^{\mathrm{VW}}(13)=79.0745\ldots$ exceeds $79$ only slightly, so that the bound $G(13)\le79$ is missed narrowly. Without the tables, that is, in the first case, the recursion gives $G^\flat(k)=109$, $116$, $122$ and $128$ and $\ell^\flat(k)=55$, $58$, $61$ and $64$ for $17\le k\le20$; the numbers $\ell^{\mathrm{VW}}(k)$ are smaller by $1$ or $2$. \subsection{Fractional parts}\label{ss:Afrac} Theorem~\ref{thm:Afrac} rests on Theorem~\ref{thm:Aexplicit}(iii), and not on the recursion of \S\ref{ss:Arec}. The reason is that the proof of Theorem~\ref{thm:fracexplicit} uses the potential through Corollary~\ref{cor:moment}, with numbers $r=2s_0$ that are smaller than $k\,\mathcal{G}(\tau_k)$: it requires an upper bound for $k\,z\,\mathcal{G}(z)-r\,z$ for all $z\in(0,1]$, and thus bounds for the potential at all points, whereas Theorem~\ref{thm:Arec} controls it along a single sequence of steps. For the potential of Theorem~\ref{thm:Aexplicit} these bounds are supplied by Lemma~\ref{lem:pot}(v). The recursive potential could be bounded at all points by means of several sequences; one would expect to gain a few units in $2s_0$, as for $G(k)$, and we have not carried this out. \emph{The numbers $B^\natural(k)$ and $\Theta^\natural(k)$.} Let $k\ge37$. We bound $\mathcal{Y}_k(\Theta)$ from above, for a suitable $\Theta$, by means of the chains that are described at the beginning of \S\ref{ss:Anum}; for $k\ge37$ one has $D_k=\lceil1.45\sqrt k\rceil+7$. Recall that each of these chains has $\tilde\theta\le\theta_k$ on $(0,p]$. Let $01$. The linear function $c-c't$ that agrees with $\tilde\theta$ at $t'$ and $t''$ is a positive minorant of $\tilde\theta$, and hence of $\theta_k$, on $[t',t'']$, and \[ \int_{t'}^{t''}\frac{\mathrm{d}t}{t\,\theta_k(t)}\le\int_{t'}^{t''}\frac{\mathrm{d}t}{t\,(c-c't)}=\frac1c\, \log\frac{t''\,\tilde\theta(t')}{t'\,\tilde\theta(t'')} . \] The program of \S\ref{ss:numerics} divides $[2\tau_k,2z_k]$ into subintervals $[t',t'']$, and on each of them it uses one chain in this way, chosen so as to make the right hand side small. The points of division are the numbers $p_D=1/(D(D+1))$ with $3\le D\le D_k$ that exceed $2\tau_k$; the range $(\frac1{12},2z_k]$ is divided further into $64$ parts, each range between two consecutive numbers $p_D$ into $32$ parts, and the remaining range, from $2\tau_k$ to the smallest of these numbers, into $256$ parts, in geometric progression in each case. Finally the numbers $\hat t$ and $\check t$ of Lemma~\ref{lem:Alarge}, which are defined by the same formulae for all $k$, are added as points of division when they lie in $(\frac1{12},2z_k)$ and in $(\frac1{20},\frac1{12})$, respectively. Near $\hat t$ the best chain changes from $\mathcal{I}_0,\mathcal{I}_1,\mathcal{I}_2$ to $\mathcal{I}_0,\mathcal{I}_1$, and near $\check t$ from a chain that ends with $\mathcal{T}_3$ to one that ends with $\mathcal{I}_3$; there the largest of the functions $\tilde\theta$ has a convex corner, which a chord of a single chain cannot follow. On each subinterval the chains that are considered are those whose tents are defined at its right end point. All chains are considered on the last subinterval, which contains $2\tau_k$, and the program computes a lower bound $\Theta^\natural(k)$ for the largest of the numbers $\tilde\theta(2\tau_k)$ over all chains. Then $\Theta^\natural(k)\le\theta_k(2\tau_k)=\Theta_k$. The chords are formed with the numbers $\min\{\Theta^\natural(k),\tilde\theta(t)\}$ in place of $\tilde\theta(t)$; as the minimum of two concave functions is concave, they are minorants of $\min\{\Theta^\natural(k),\theta_k\}$, and the program obtains an upper bound $B^\natural(k)-\frac1k$ for \[ \Psi(z_k)+2\int_{2\tau_k}^{2z_k}\frac{\mathrm{d}t}{t\,\min\{\Theta^\natural(k),\theta_k(t)\}}-\frac1k\log\frac{z_k}{\tau_k}= \frac1k\,\mathcal{Y}_k\bigl(\Theta^\natural(k)\bigr). \] Therefore \begin{equation}\label{eq:Anat} \tfrac94\le\Theta^\natural(k)\le\Theta_k\qquad\text{and}\qquad\mathcal{Y}_k\bigl(\Theta^\natural(k)\bigr)\le \mathcal{Y}^\natural(k):=k\,B^\natural(k)-1\qquad(37\le k\le5000); \end{equation} the inequality $\Theta^\natural(k)\ge\frac94$ is seen from the values computed, the smallest of which is $\Theta^\natural(37)=5.6507\ldots$. Any subdivision and any choice of chains give valid bounds. When the fractional part of $k\,B^\natural(k)$ is smaller than $0.01$, which happens for $45$ values of $k$, the computation is repeated with a subdivision eight times as fine, and $B^\natural(k)$ denotes the smaller of the two numbers obtained. The same construction applies to every $k\ge37$, and \eqref{eq:Anat} holds for the larger values of $k$ in Table~\ref{tab:Afrac} as well. The computations are carried out with directed rounding, so that the numbers obtained are rigorous bounds, provided that the logarithm of the computer's library is accurate to within four units in the last place; see \S\ref{ss:Averif}. \emph{The exponents.} Let $\chi_0=1+\log(9.027901/11)$, as in \S\ref{ss:frac}. For $37\le k\le5000$ let $\Theta:=\Theta^\natural(k)$ and $\Theta':=\Theta/(1-\Theta/(2k))$, as in Theorem~\ref{thm:Aexplicit}(iii), so that $k/\Theta'=k/\Theta-\frac12$, and put \[ b^\natural(k):=\frac{2}{11\,\Theta'},\qquad E^\natural(k):=\frac{2s_0^\natural(k)+4.5139505\,k}{1-b^\natural(k)}, \] where $s_0^\natural(k)$ is a natural number $s_0\ge k$ with $2s_0>\mathcal{Y}^\natural(k)-2\chi_0\,k/\Theta'$, namely the least integer that exceeds one half of the upper bound that the program computes for the right hand side. Note that $9.027901\,\Theta'\,b^\natural(k)/2=9.027901/11$. So by \eqref{eq:Anat} and Theorem~\ref{thm:Aexplicit}(iii), applied with $\Theta=\Theta^\natural(k)$ and $b=b^\natural(k)$, the bound \eqref{eq:fracE} holds for every real number $\rho<1/E^\natural(k)$. \begin{proposition}\label{prop:Afrac} \textup{(i)} Let $37\le k\le5000$. Then $E^\natural(k)<10.7961\,k+\sqrt k$, $E^\natural(k)<11\,k$ and $E^\natural(k)\mathcal{Y}_k(\Theta)-2\chi_0\,k/\Theta'$. Then $s_0\ge k$, and \[ \frac{2s_0+4.5139505\,k}{1-b}<10.7961\,k-0.62\sqrt k+\log k+24 . \] \end{proposition} \begin{proof} (i) We have evaluated an upper bound for $E^\natural(k)$ for each of these $k$ from the numbers $B^\natural(k)$ and $\Theta^\natural(k)$, and the inequalities were checked for these bounds. In all cases $s_0^\natural(k)>3k$. The largest value of $(E^\natural(k)-10.7961\,k)/\sqrt k$ is $0.9910\ldots$, attained at $k=45$, and the largest value of $E^\natural(k)/k$ is $10.9474\ldots$, at $k=37$. One has $10.7961\,k-E^\natural(k)>0.03$ for $135\le k\le5000$, whereas the computed value of this difference is negative for $k=134$; and $11k-E^\natural(k)>1.9$ and $k(\log k+8.02113)-E^\natural(k)>25.3$ for all $k$. (ii) Write $n:=D_\star$. Then $\Theta=n/(1+n/k)$, so that $k/\Theta=k/n+1$ and $k/\Theta'=k/n+\frac12$. In the proof of Proposition~\ref{prop:Alarge} we saw that $n\ge67$, that $k/n\Theta>n-1>\sqrt k-5.17,\qquad b<\frac2{11\cdot66}<0.00276,\qquad\frac k{\Theta'}<\frac k\Theta<\sqrt k+6.59 . \] We have $s_0\ge k$, because $\mathcal{Y}_k(\Theta)\ge k\,\Psi(z_k)>4k$ and $2\chi_0k/\Theta'<2k$, and \[ 2s_0\le\mathcal{Y}_k(\Theta)+2-2\chi_0\,\frac k{\Theta'} . \] By Proposition~\ref{prop:Alarge}, and as $C_0^\star+4.5139505<10.7961$, the number $\mathcal{Z}:=2s_0+4.5139505\,k$ satisfies \[ \mathcal{Z}<10.7961\,k-c_\star\sqrt k+\log k+20.84-2\chi_0\,\frac k{\Theta'} . \] Now $1/(1-b)<1+1.0028\,b$ and $b\cdot10.7961\,k=\frac{2\cdot10.7961}{11}\cdot\frac k{\Theta'}$, while \[ b\,(\log k+20.84)<\frac2{11}\cdot\frac{\log k+20.84}{\sqrt k-5.17}<0.09, \] because the last quotient decreases for $k\ge5000$. It follows that \[ \frac{\mathcal{Z}}{1-b}<\mathcal{Z}+1.0028\,b\,\mathcal{Z}<10.7961\,k-c_\star\sqrt k+\log k+20.94+ \Bigl(\frac{1.0028\cdot2\cdot10.7961}{11}-2\chi_0\Bigr)\frac k{\Theta'} . \] The bracket is smaller than $0.3636$, and $0.3636\,(\sqrt k+6.59)<0.3636\sqrt k+2.40$. Since $c_\star-0.3636>0.62$ and $20.94+2.40<24$, this proves (ii). \end{proof} \begin{table}[ht] \caption{The number $E^\natural(k)$ of \S\ref{ss:Afrac}: one has $\min_{n\le N}\|\alpha n^k\|5000$ the numbers are defined and computed in the same way as for $k\le5000$, with directed rounding, and \eqref{eq:fracE} holds for $\rho<1/E^\natural(k)$ in these cases as well.}\label{tab:Afrac} \begin{tabular}{@{}rrcrrr@{}} \toprule $k$ & $\Theta^\natural(k)$ & $b^\natural(k)$ & $2s_0^\natural(k)$ & $E^\natural(k)$ & $E^\sharp(k)$\\ \midrule 37 & 5.651 & 0.0297 & 226 & 405.05 & 450.43\\ 46 & 6.423 & 0.0263 & 282 & 502.88 & 544.05\\ 50 & 6.788 & 0.0250 & 306 & 545.31 & 587.90\\ 100 & 10.560 & 0.0163 & 612 & 1081.02 & 1174.94\\ 200 & 15.614 & 0.0112 & 1228 & 2154.90 & 2330.23\\ 500 & 26.006 & 0.0068 & 3092 & 5385.65 & 5582.86\\ 1000 & 37.615 & 0.0047 & 6210 & 10775.05 & 11022.78\\ 2000 & 54.460 & 0.0033 & 12458 & 21556.89 & 21950.76\\ 5000 & 87.573 & 0.0021 & 31236 & 53916.71 & 54717.71\\ $10^4$ & 125.397 & 0.0014 & 62572 & 107866.93 & 109295.89\\ $10^5$ & 401.897 & 0.0005 & 627394 & 1079276.33 & 1091049.59\\ $10^6$ & 1276.717 & 0.0001 & 6279514 & 10795000.84 & 10905541.15\\ \bottomrule \end{tabular} \end{table} The exponent of \cite{BW2025} is $1/(k(\log k+8.02113))$. By Proposition~\ref{prop:Afrac}(i) it is smaller than $1/E^\natural(k)$ for $37\le k\le5000$, and for $k>5000$ it is smaller than $1/(10.7961\,k)$. The remarks that follow Corollary~\ref{cor:lsarcs} apply with $C_0^\star$ in place of $C_0$. Indeed, let $\Theta$ be as in Lemma~\ref{lem:Alarge} and $b_0=1/\log k$. The proof of Proposition~\ref{prop:Alarge} shows that, in the limit $\delta_0,\varepsilon_2\to0$, one has $\mathcal{G}(u_\Theta)\le C_0^\star+O(k^{-1}\log k)$, while $a_*(b_0)=O(k^{-1/2}\log k)$; so $2s_0=(C_0^\star+o(1))k$ is admissible in Theorem~\ref{thm:lsF}. For instance, the number $\xi_1$ now tends to $1/(1+2C_0^\star/9.027901)=0.4181\ldots$. The conclusions of \S\ref{ss:decide} remain valid as well. The second condition in \eqref{eq:tcond} becomes $t/(kb)>2C_0^\star\xi/(1-\xi)$, and this is stronger than the first one exactly when $\xi>0.4181\ldots$; so Theorem~\ref{thm:lsF} does not reduce the number of variables. In the proof of Proposition~\ref{prop:exponents}(i) the inequality $2/\theta^*(2u)<1/(1-u)$ for $u<\frac1{10}$ persists, because the function $\theta^*$ that belongs to $\varsigma^\star$ is at least the one that belongs to $\varsigma$; and the leading constant is not affected by the exponent $\tau_k$. The numerical values quoted in \S\ref{ss:decide} refer to $C_0$ and change accordingly. \subsection{Proofs of the theorems}\label{ss:Aproofs} \begin{proof}[Proof of Theorems~\ref{thm:Amain} and~\ref{thm:Aall}] For $37\le k\le5000$ we have $G(k)\le G^\flat(k)$, by Proposition~\ref{prop:Arec}(i), and all assertions are contained in parts~(ii) and~(iii) of that proposition. Let $k\ge5000$. By Proposition~\ref{prop:Alarge}, $G(k)\le C_0^\star k-0.9856\sqrt k+\log k+20$. Now $0.7356\sqrt k>\log k+20$, since this holds for $k=5000$ and $0.7356\sqrt k-\log k$ increases with $k$. Hence $G(k)\frac12\log k+11$ for $k\ge5000$. (ii) For $13\le k\le20$ this is Proposition~\ref{prop:Arecsmall}, and for $21\le k\le36$ it is Proposition~\ref{prop:Arec}(i). \end{proof} The numbers $201$, $399$, \dots, $12827$ that were mentioned after Theorem~\ref{thm:Aalmost} are the values of the numbers $\ell^\flat(k)$ of \S\ref{ss:Anum} for $k=64$, $128$, \dots, $4096$, and the numbers $50$ and $102$ there are $\ell^{\mathrm{VW}}(16)$ and $\ell^\flat(32)$; by Theorem~\ref{thm:Arec}(ii) and Proposition~\ref{prop:Arecsmall} they are admissible in Theorem~\ref{thm:almostexplicit}(ii). For $k=37$, $50$, $100$ and $1000$ one finds $\ell^\flat(k)=117$, $157$, $312$ and $3124$, so that $G^+(37)\le117$, $G^+(50)\le157$, $G^+(100)\le312$ and $G^+(1000)\le3124$; the bounds recorded after Theorem~\ref{thm:almost} are $137$, $177$, $355$ and $3246$. \begin{proof}[Proof of Theorem~\ref{thm:Amv}] Let $37\le k\le5000$. By Proposition~\ref{prop:Arec}(i), the conclusions of Theorem~\ref{thm:mvexplicit} hold for every real number $s_1>\mathcal{Y}^\flat(k)$, and by part~(iii) of that proposition $\mathcal{Y}^\flat(k)$ is smaller than $C_0^\star k+0.23\sqrt k$, smaller than $C_0^\star k$ when $k\ge50$, and smaller than $C_0^\star k-\frac14\sqrt k$ when $k\ge69$. Let $k\ge5000$. By Theorem~\ref{thm:Aexplicit}(ii), the conclusions of Theorem~\ref{thm:mvexplicit} hold for every real number $s_1>\mathcal{Y}_k(\Theta)$ with $\frac94\le\Theta\le\Theta_k$. We take $\Theta$ as in Lemma~\ref{lem:Alarge}; then $\mathcal{Y}_k(\Theta)\log k+20$ from the proof of Theorems~\ref{thm:Amain} and~\ref{thm:Aall}. Theorem~\ref{thm:mv} is deduced from Theorem~\ref{thm:mvexplicit} at the end of \S\ref{ss:large}, and that deduction applies without change. \end{proof} In the same way one obtains the analogue of Corollary~\ref{cor:mvranges}: the conclusions of Theorem~\ref{thm:mvexplicit} hold with $s_1=A_1k+A_2\sqrt k$ whenever $k\ge k_1$ and $(k_1,A_1,A_2)$ is one of the triples $(37,6.34,0)$, $(37,C_0^\star,0.23)$, $(50,C_0^\star,0)$ and $(69,C_0^\star,-\frac14)$, and for $k\ge5000$ they hold with $s_1=C_0^\star k-0.9856\sqrt k+\log k+19$. \begin{proof}[Proof of Theorem~\ref{thm:Afrac}] By Theorem~\ref{thm:Aexplicit}(iii) it suffices to exhibit numbers $\Theta$, $b$ and $s_0$ as in that theorem for which $(2s_0+4.5139505\,k)/(1-b)$ is smaller than the reciprocal of the exponent in question. For $37\le k\le5000$ this is Proposition~\ref{prop:Afrac}(i). For $k\ge5000$ we use Proposition~\ref{prop:Afrac}(ii), in which $9.027901\,\Theta'\,b/2=9.027901/11$, and note that $0.62\sqrt k>\log k+24$ for $k\ge5000$, since this holds for $k=5000$ and $0.62\sqrt k-\log k$ increases. \end{proof} \subsection{Remarks}\label{ss:Aremarks} \begin{remark}[the term of order $\sqrt k$]\label{rem:Asecond} In Proposition~\ref{prop:Alarge} the largest step $\Theta$ is slightly smaller than $\sqrt k$. Larger steps are useful, and the chains of \S\ref{ss:Anum} reach them: for the numbers $\Theta^\natural(k)$ and $B^\natural(k)$ of \S\ref{ss:Afrac} the ratio $\Theta^\natural(k)/\sqrt k$ lies between $0.90$ and $1.25$ for $37\le k\le5000$, and it is $1.06$, $1.19$ and $1.24$ for $k=100$, $1000$ and $5000$. Accordingly the number $(k\,B^\natural(k)-C_0^\star k)/\sqrt k$ decreases from $0.64$ at $k=37$ to $-1.18$ at $k=5000$, and for $k=10^4$, $10^5$ and $10^6$ the same computation gives $-1.23$, $-1.33$ and $-1.36$. By Theorem~\ref{thm:Aexplicit}(i) and \eqref{eq:Anat}, which holds for these $k$ as well, the numbers $\lfloor k\,B^\natural(k)\rfloor$ are upper bounds for $G(k)$; thus $G(10^4)\le62698$, $G(10^5)\le627793$ and $G(10^6)\le6280769$. These three bounds are illustrations, which are not used in our theorems; they show that the coefficient $0.9856$ in Theorem~\ref{thm:Amain} is not the limit of the method. In Proposition~\ref{prop:Alarge} the loss is caused by the choice of $\Theta$, and not by the estimates of Lemma~\ref{lem:Alarge}: at every point $t>1/(D_\star(D_\star+1))$ at which we have compared the two, the lower bound of that lemma agrees with $\theta_k(t)$, and for $k=5000$ the first inequality of Proposition~\ref{prop:Alarge} is an equality to within $10^{-3}$, both sides being $31363.104\ldots$, whereas $\mathcal{Y}_{5000}(\Theta_{5000})\le\mathcal{Y}^\natural(5000)=31326.33\ldots$. For $\theta>\sqrt k$ the efficient degree in Corollary~\ref{cor:Amv} is no longer the integer next to $U$, the term $E_1$ takes over, and a heuristic computation suggests that $\sigma_k(\theta)$ is about $(2-\theta^2/k)\,\theta^{-2}$ for $\sqrt k<\theta<\sqrt{2k}$. If this is so, then $\Theta_k\sim1.28\sqrt k$, and the bound of Theorem~\ref{thm:Aexplicit} is $C_0^\star k-(c_\infty+o(1))\sqrt k$ with \[ c_\infty=4-\sqrt2\int_{2/9.027901}^{1}\frac{\sqrt{1+x}}{x}\,\mathrm{d}x=1.3819\ldots . \] We have not tried to prove this. \end{remark} \begin{remark}[the sources of the improvement]\label{rem:Asources} Five things have changed in comparison with Theorem~\ref{thm:explicit}: the saving function, the treatment of the rounding losses, the range of the steps, which is no longer restricted by Definition~\ref{def:round}, the potential, which now takes the exact length of the steps into account, and, for $k\le5000$, the recursion of \S\ref{ss:Arec} with its different pruning. The first change accounts for the constant. The others would improve the bounds of \S\ref{s:eval} even without Lemma~\ref{lem:Amv}. Suppose that Definition~\ref{def:Asaving} is formed with the estimates of \S\ref{s:exp} alone, that is, with (b) for $1\le j\le k-2$ and with Lemma~\ref{lem:mv} in place of (c); Theorem~\ref{thm:Aexplicit} applies to this variant as well. For $k=37$, $100$ and $1000$ the largest steps are then about $3.70$, $8.03$ and $27.07$, and Riemann sums, evaluated with directed rounding and with the function $\theta_k$ computed by bisection as in Remark~\ref{rem:Acompare}, give the bounds $251$, $656$ and $6445$, which are the best that Theorem~\ref{thm:Aexplicit}(i) provides in this case; Table~\ref{tab:values} has $273$, $709$ and $6492$, Theorem~\ref{thm:Aexplicit}(i) with the present saving function gives $236$, $626$ and $6251$ (Remark~\ref{rem:Acompare}), and the recursion gives $234$, $624$ and $6248$. For $k=37$, for example, the largest step in Proposition~\ref{prop:moderate} is $\Theta^\sharp=\frac{37}{16}$, on account of the condition $\Theta\le\varpi(\Theta)k$, and the term $W_k(\Theta^\sharp)=1.997$ makes up more than a quarter of the bound; now $\Theta^\natural(37)=5.65$, and no such term occurs. Thus for small $k$ the improvement that is due to the saving function is of about the same size as the others taken together, while for large $k$ the saving function is decisive. \end{remark} \begin{remark}[the two potentials compared]\label{rem:Acompare} For $37\le k\le5000$ the numbers $\mathcal{Y}^\natural(k)$ of \S\ref{ss:Afrac} can be used in Theorem~\ref{thm:Aexplicit}(i) and~(ii) as well. With $G^\natural(k):=\lfloor k\,B^\natural(k)\rfloor$ and $\ell^\natural(k):=\lfloor\frac12\mathcal{Y}^\natural(k)\rfloor+1$ they give $G(k)\le G^\natural(k)$, and $G^+(k)\le\ell^\natural(k)$ when $k$ is not a power of $2$; for example $G^\natural(k)=236$, $316$, $626$, $6251$ and $31327$ for $k=37$, $50$, $100$, $1000$ and $5000$. The recursion does better for every $k$ in this range: one has $1.49<\mathcal{Y}^\natural(k)-\mathcal{Y}^\flat(k)<4.50$, the difference being smallest for $k=42$ and largest for $k=4193$; the integer $G^\natural(k)-G^\flat(k)$ equals $1$, $2$, $3$, $4$ and $5$ for $26$, $395$, $2432$, $2084$ and $27$ values of $k$, respectively; and $\ell^\natural(k)-\ell^\flat(k)$ lies between $0$ and $3$. The difference is not an effect of the numerical evaluation of $\mathcal{Y}_k$. Indeed, by Lemma~\ref{lem:Achain}(i), $\theta_k(t)$ is the largest $\theta\le\frac12k$ for which the intervals of that lemma, formed with $\vartheta=\theta/k$, cover $(1,\theta]$; so $\theta_k$ can be computed directly from Definition~\ref{def:Asaving}, by bisection and without the use of chains. In this way one finds that $\Theta^\natural(k)=\Theta_k$, up to rounding errors, for $k=37$, $100$, $1000$, $3109$, $5000$, $10^4$, $10^5$ and $10^6$. Since $\theta_k$ is nonincreasing, the bisection also gives lower bounds for $\mathcal{Y}_k(\Theta_k)$, by lower Riemann sums: on a subinterval $[t',t'']$ one has $\theta_k(t)\le\theta_k(t')<\theta$ for every $\theta$ for which the intervals of Lemma~\ref{lem:Achain} do not cover $(1,\theta]$ at the level $t'$. Evaluated with directed rounding, such sums show that $\mathcal{Y}_k(\Theta_k)+1$ exceeds $236.30$, $626.22$, $6251.27$ and $31327.07$ for $k=37$, $100$, $1000$ and $5000$, respectively. Hence $G^\natural(k)=\lfloor\mathcal{Y}_k(\Theta_k)\rfloor+1$ for these $k$, so that $G^\natural(k)$ is the best bound that Theorem~\ref{thm:Aexplicit}(i) can give. None of the statements of this remark is used in the proofs. \end{remark} \begin{remark}[further refinements]\label{rem:Afurther} A more recent estimate of the present type in the classical setting is due to Heath-Brown, in an appendix to the work of Demeter, Guth and Wang on small cap decouplings \cite{DGW2020}; it improves on the fourth derivative estimate of \cite{HB2017} for sums of length $N$ when the fourth derivative has a size between $N^{-2}$ and $N^{-1}$. The proof exploits that the cubic Taylor coefficients of all the short sums lie in one short interval. In Lemma~\ref{lem:Amv} with $D=3$ the corresponding coefficients $\alpha_3(n)$ are the fractions $b_1n^{u}/q_3$, which are spread over all of $\mathbb{T}$ however $n$ is restricted to an interval, at least when $q_3$ is large (as it is when $\vartheta$ is small), and we have not found a substitute for this step. In another direction, exponent pairs that involve a process $B$ before the last step would increase $\varsigma^\star(U)$ for small $U$. For the sums $\mathcal{S}$ this would require an analogue of the process $B$ for the moduli of \S\ref{s:exp}, in which exponents $e_p=1$ and $e_p\ge2$ occur together (for prime powers see \cite{Mil2016}), and we have not pursued it. \end{remark} \begin{remark}[exponents below $13$]\label{rem:Asmallk} We have not considered $k\le12$, where Definition~\ref{def:Asaving} and Theorem~\ref{thm:Arec} do not apply as they stand. The second case of the theorem could be imitated with the tables of \cite[\S\S9--14]{VW2000}. An exploratory computation of this kind for $7\le k\le12$, which is not rigorous and is not part of the program of \S\ref{ss:numerics}, suggested the bounds $33$, $41$, $49$, $57$, $65$ and $73$; for $k\le11$ no step of the recursion is used in it. These are weaker than the bounds $31$, $39$, $47$, $55$, $63$ and $72$ of \cite{Woo2016}. \end{remark} \subsection{Numerical verification}\label{ss:Averif} The program of \S\ref{ss:numerics} contains a part that is devoted to this appendix (Part~15, which takes about eight minutes). Table~\ref{tab:Averif} lists the computations on which the proofs depend; everything else in that part is a safeguard or reproduces a number that is quoted in a remark. \begin{table}[ht] \caption{The computations on which the proofs in this appendix depend.}\label{tab:Averif} \begin{tabular}{@{}p{0.33\textwidth}p{0.25\textwidth}p{0.34\textwidth}@{}} \toprule computation & used in & arithmetic\\ \midrule \raggedright bounds for $\Lambda^\star$ and $C_0^\star$ & \raggedright Propositions~\ref{prop:Arec}, \ref{prop:Afrac} & \raggedright directed rounding; confirmed with $30$ decimal digits\tabularnewline \raggedright the sequences of Theorem~\ref{thm:Arec}, first case, $17\le k\le5000$ & \raggedright Proposition~\ref{prop:Arec} & \raggedright directed rounding; the logarithms confirmed with $40$ decimal digits\tabularnewline \raggedright the same in the second case, $13\le k\le20$, and \textup{(V1)--(V3)} & \raggedright Proposition~\ref{prop:Arecsmall} & \raggedright directed rounding for the chains, exact rational arithmetic otherwise\tabularnewline \raggedright the inequalities of Proposition~\ref{prop:Arec}(ii)--(iv) & \raggedright Theorems~\ref{thm:Amain}--\ref{thm:Amv} & \raggedright exact rational arithmetic\tabularnewline \raggedright $B^\natural(k)$ and $\Theta^\natural(k)$, $37\le k\le5000$ & \raggedright Proposition~\ref{prop:Afrac}(i) & \raggedright directed rounding, with an allowance for the library logarithm\tabularnewline \raggedright the inequalities of Proposition~\ref{prop:Afrac}(i) & \raggedright Theorem~\ref{thm:Afrac} & \raggedright exact rational arithmetic\tabularnewline \bottomrule \end{tabular} \end{table} \emph{Directed rounding.} The computations with chains are carried out in double precision arithmetic. Every operation whose result enters a bound is followed by a step to the adjacent floating point number in the safe direction, and the constants in the conditions on the chains are rounded from exact fractions. Under the IEEE~754 standard, with rounding to nearest, the results of the four basic operations are then rigorous bounds. The value of a chain is a lower bound for $\theta_k$ only if all its tents are defined at the level in question, if $D_2\le k-1$, and if $\max\{5,D_2+1\}\le\frac12k$; these conditions are tested inside the functions that evaluate the chains, and the program stops when one of them, or another hypothesis of this kind, fails. The points $p_D$ are replaced by floating point numbers on the safe side. \emph{The constants.} For $\Lambda^\star$ the series in \eqref{eq:Astar} is summed up to $D=10^6$, and the remainder is bounded by means of the inequalities $2/(D^2+D+1)\le\Lambda_D\le2/D^2$. The intervals for $\Lambda^\star$ and $C_0^\star$ that are obtained in double precision arithmetic are confirmed by a second summation, in decimal arithmetic with $30$ digits, in which the logarithm is correctly rounded and the other operations are rounded in the safe direction. The inequalities of Proposition~\ref{prop:Arec}(ii)--(iv) involve $\mathcal{Y}^\flat(k)$, the end points of the interval for $C_0^\star$, and $\sqrt k$; they are decided in exact rational arithmetic. \emph{The recursion.} For Theorem~\ref{thm:Arec} the values of the chains are rounded downwards, and each number $c_j$ is obtained by rounding the bound of Lemma~\ref{lem:Achain}(v) downwards and lowering the result by one more unit in the last place. Up to this point only the four basic operations are used. In the first case the logarithm enters in two places: in (R3), where it is rounded downwards, and in $\Psi(c_n)$, where it is rounded upwards, the logarithm of the library being allowed an error of four units in the last place. Both are then verified a second time, for every $17\le k\le5000$, in decimal arithmetic with $40$ digits and a correctly rounded logarithm, the floating point numbers $c_{n-1}$, $c_n$ and $\mathcal{Y}^\flat(k)$ being used exactly: the left hand side of (R3) exceeds $\frac2k$ by at least $1.1\cdot10^{-10}$, and $\mathcal{Y}^\flat(k)$ exceeds $k\,\Psi(c_n)+2n$ by at most $2.8\cdot10^{-11}$. Thus Proposition~\ref{prop:Arec} does not depend on the accuracy of the library logarithm. In the second case the function $\Psi_k^{\mathrm{VW}}$ is evaluated at the floating point numbers $c_j$ exactly, as a fraction, and (R3), (V1)--(V3) and the numbers $\mathcal{Y}^{\mathrm{VW}}(k)$ are exact. \emph{The tables of Vaughan and Wooley.} For $13\le k\le20$ the tables of \cite[\S\S15--22]{VW2000} are part of the program. Each table records, next to $\lambda_s$, the parameter $\phi_1$ of the iteration by which $\lambda_s$ was obtained, and the two columns are related by \[ \lambda_s=\lambda_{s-1}(1-\phi_1)+1+(2s-2)\,\phi_1 \] (compare \cite[(4.10)]{VW2000}). The program contains both columns, and it verifies this relation for each of the $374$ rows; it holds to within $3\cdot10^{-7}$, which is what the $7$ and $8$ decimals of the entries permit. So an error of transcription in a single entry that exceeds a few units of the seventh decimal would be detected. In addition the numbers $\tau(k)$ that are printed below the tables are reproduced; they involve the entries $\lambda_{k-1}$. The option \texttt{--list-appendix} prints the tables as they are used. \emph{The numbers $B^\natural(k)$.} In \S\ref{ss:Afrac} the points of division are floating point numbers on the safe side of the numbers $p_D$, the subdivision covers a range slightly larger than $[2\tau_k,2z_k]$, and $\Theta^\natural(k)$ is a lower bound for the largest value of a chain at the floating point number next to $2\tau_k$ from above. The chords involve one logarithm for each subinterval, and here the logarithm of the library is allowed an error of four units in the last place; applied to $60\,000$ sample arguments from the ranges that occur, it is accurate to within $0.6$ units. Hence, under the IEEE~754 standard and under the hypothesis that the library logarithm is accurate to within four units in the last place for the arguments that occur, the numbers $B^\natural(k)$ and $\Theta^\natural(k)$ satisfy \eqref{eq:Anat}. The integers $s_0^\natural(k)$ and the bounds for $E^\natural(k)$ are derived from them with all roundings in the safe direction, and the inequalities of Proposition~\ref{prop:Afrac}(i) are then decided in exact rational arithmetic. The same applies to the entries of Table~\ref{tab:Afrac}, to the numbers $G^\natural(k)$ and $\ell^\natural(k)$ and to the lower bounds in Remark~\ref{rem:Acompare}, and to the bounds in Remarks~\ref{rem:Asecond} and~\ref{rem:Asources}. Statements of the form `the largest value of \dots\ is \dots', the fractional parts quoted in \S\ref{ss:Anum}, and the assertion on $k=134$ in the proof of Proposition~\ref{prop:Afrac} are numerical observations, made in double precision arithmetic; the proofs use only the inequalities. \emph{Safeguards.} For the recursion: the inequalities between the coefficients in the proof of Lemma~\ref{lem:Achain}(iv) are confirmed for the tents with $D\le3000$, and for $D\le1600$ the constants of the program are compared with the exact fractions that are derived from the end points of Lemma~\ref{lem:Achain}. The inequality in (R2) is tested for $108$ single steps, of which $64$ cross one of the points $\frac12p_D$, by evaluating $v/(1-\theta_k(2v)/k)$ at $201$ points of each step and just beyond each point of division, with $\theta_k$ computed directly from Definition~\ref{def:Asaving}, by bisection (Remark~\ref{rem:Acompare}). The recursion is repeated in plain double precision, with $\theta_k$ computed in this way and without chains, for $k=17$, $21$, $37$, $100$, $577$, $1000$ and $5000$, and for $13\le k\le20$ with the tables of \cite{VW2000}: it gives the same numbers $n$, and the same values of $k\,\Psi^\circ(c_n)+2n$ to within $7\cdot10^{-9}$. And the potential of the proof of Theorem~\ref{thm:Arec} is computed on a grid of $40\,000$ points for $k=21$, $37$ and $100$, in the limiting case $\delta_0=\varepsilon_2=0$: it is nonincreasing, it satisfies (G3) and the bound $-z\,\mathcal{G}'(z)\le\mathcal{G}(z)-2$ on $(0,\frac15]$, and $k\,\mathcal{G}(c_0)$ agrees with $\mathcal{Y}^\flat(k)$ to within $0.003$. For \S\ref{ss:Afrac}: the program contains a plain double precision version of the computation, which agrees with the one with directed rounding to within $2\cdot10^{-9}$ in $k\,B^\natural(k)$ at the six values of $k$ at which the two were compared, and a second implementation in $40$-digit decimal arithmetic, in which the conditions on a chain are not taken from formulae worked out by hand but are derived mechanically from the end points in Lemma~\ref{lem:Achain}; for $k=37$, $577$ and $1201$ it agrees with the computation with directed rounding to within $10^{-9}$ on the same subdivision, and for $k=577$ and $k=1201$ to within $5\cdot10^{-9}$ on the refined one. For $k\ge5000$: the elementary numerical inequalities in the proofs of Lemma~\ref{lem:Alarge} and of Propositions~\ref{prop:Alarge} and~\ref{prop:Afrac}(ii) can be checked by hand, and the program confirms them; in addition the final bounds of these two propositions are compared with the quantities that they estimate at $55\,019$ values of $k$ between $5000$ and $10^{12}$, where the left hand sides exceed $C_0^\star k-c_\star\sqrt k+\log k$ and $10.7961\,k-0.62\sqrt k+\log k$ by at most $15.21$ and $18.15$, respectively. \emph{Further checks, not needed for the proofs.} Lemmas~\ref{lem:Aval} and~\ref{lem:Apairs} are tested by exact counts: on seven examples of the kind that occurs in the proof of Lemma~\ref{lem:Amv}, and Lemma~\ref{lem:Apairs}, with the intermediate inequalities of its proof, on $200$ random configurations, in which $r_1=1$ and $r_1=r_2$ occur, the integers may be negative, and $\delta_1$ and $\delta_2$ are of several sizes; the largest ratio of a count to the bound is $0.35$. The last step of the proof of Lemma~\ref{lem:Amv} is confirmed in exact arithmetic for random values of the quantities involved. The bound of Lemma~\ref{lem:Asaving}(i) is compared with $60$ explicit sums; this is a consistency check only, because Corollary~\ref{cor:Amv} gives a substantial saving only when $m$ is a small power of $X$, which is out of reach of direct summation, and for $52$ of these sums the saving $\varsigma^\star(U,\vartheta)$ is $0$, while for the others it is less than $0.01$. Lemma~\ref{lem:Alimit} and the value of $C_0^\star$ are compared with Definition~\ref{def:Asaving}. The chains of Lemma~\ref{lem:Achain} are compared with Definition~\ref{def:Asaving} on grids of values of $U$, at random points $(k,t)$; and $\theta_k$, computed directly from Definition~\ref{def:Asaving}, is compared with the numbers $\Theta^\natural(k)$ and, at $1200$ points, with Lemma~\ref{lem:Alarge}. Finally the numbers in Tables~\ref{tab:Arec}--\ref{tab:Afrac}, in the comparison that follows Theorem~\ref{thm:Aalmost}, in the remark that follows the proof of Theorem~\ref{thm:Aexplicit} and in Remarks~\ref{rem:Asecond}--\ref{rem:Acompare} are reproduced; the bounds of \cite[Theorem~9.1]{BW2023} that are quoted there are confirmed in decimal arithmetic. The complete list of the numbers $n$, $c_n$, $\mathcal{Y}^\flat(k)$, $G^\flat(k)$ and $\ell^\flat(k)$ for $17\le k\le5000$, of the corresponding numbers for $13\le k\le20$, and of the numbers $\Theta^\natural(k)$, $k\,B^\natural(k)$, $2s_0^\natural(k)$ and $E^\natural(k)$ for $37\le k\le5000$ is printed by the option \texttt{--list-appendix}. \subsection*{Statement on the use of artificial intelligence} With the exception of \S\ref{ss:motivation}, which was written by the author, the results, proofs, computations and text of this paper were produced by Claude, an AI system developed by Anthropic, in the course of a conversation with the author, who posed the problem, proposed the test of intermediate coefficients reported in \S\ref{ss:inter}, proposed that the multiplicative structure of $F$ be used to obtain estimates of the type of \cite[Theorem~5.2]{BW2023} with the Weyl exponent of \cite[Lemma~7.1]{BW2023}, asked for the pruning to be improved so as to reach the constant $2+\log9+2\Lambda$, proposed that the mean value estimates for $F$, which are stronger than those for smooth Weyl sums, be used to derive stronger estimates on the minor arcs (the investigation of this question led to \S\ref{s:ls} and to the present form of Lemma~\ref{lem:pot}(v), Corollary~\ref{cor:moment} and Theorem~\ref{thm:explicit}), proposed that the whole argument be written for the integers $mp_1 \cdots p_J$ with primes from a single dyadic interval $(R,2R]$ and $m\le R$, pointed out that a union over dyadic ranges whose number is proportional to $\log P$, as in \cite{BW2001}, recovers the logarithmic loss in the density of this set (\S\ref{ss:density}), pointed out that \cite[Theorem~2.2]{BW2025} provides the mean values of smooth Weyl sums for all real orders, which led to the present form of \eqref{eq:admexp} and Lemma~\ref{lem:apriori} and to the term $+1$ in Theorem~\ref{thm:explicit}, asked that the history of the problem be recalled from \cite{BW2023}, proposed that the standard deduction of a bound for $G^+(k)$, for which \cite[\S9]{BW2023} is the model, be written up together with its consequence for powers of $2$ (Theorems~\ref{thm:almost} and~\ref{thm:almostexplicit}), observed that the argument of \S\ref{s:fibre} resembles the method of Hal\'asz and Montgomery, proposed the application to the fractional parts of $\alpha n^k$ by means of \cite{Woo1993} (Theorems~\ref{thm:frac} and~\ref{thm:fracexplicit}), asked that the mean value estimate for $F$ be made explicit and recorded as a tool for other applications (Theorems~\ref{thm:mv} and~\ref{thm:mvexplicit}, Corollary~\ref{cor:mvranges}), suggested that recent enhancements of van der Corput's method should improve Lemma~\ref{lem:vdc} when $j$ and $k$ are small, and asked that the literature be surveyed with a view to reducing $C_0$ (this led to Lemma~\ref{lem:Amv}, and Appendix~\ref{s:appendix} was written at the author's request), and requested a refereed and self-contained exposition. The author has checked the mathematical arguments of this manuscript and lightly edited the text. Its production would not have been possible without the gracious assistance of Claude Fable~5.2 and Claude Opus~5.5. \bibliographystyle{amsbracket} \providecommand{\bysame}{\leavevmode\hbox to3em{\hrulefill}\thinspace} \begin{thebibliography}{44} \bibitem{Bak1986} R. C. Baker, \emph{Diophantine inequalities}, London Math. Soc. Monographs (N.S.) 1, Oxford University Press, Oxford, 1986. \bibitem{Bak2016} R. C. Baker, \emph{Small fractional parts of polynomials}, Funct. Approx. Comment. Math. \textbf{55} (2016), 131--137. \bibitem{Bou2017} J. Bourgain, \emph{On the Vinogradov mean value}, Proc. Steklov Inst. Math. \textbf{296} (2017), 30--40. \bibitem{BDG2016} J. Bourgain, C. Demeter and L. Guth, \emph{Proof of the main conjecture in Vinogradov's mean value theorem for degrees higher than three}, Ann. of Math. (2) \textbf{184} (2016), 633--682. \bibitem{BW2001} J. Br\"udern and T. D. Wooley, \emph{On Waring's problem for cubes and smooth Weyl sums}, Proc. London Math. Soc. (3) \textbf{82} (2001), 89--109. \bibitem{BW2023} J. Br\"udern and T. D. Wooley, \emph{On Waring's problem for larger powers}, J. reine angew. Math. \textbf{805} (2023), 115--142. \bibitem{BW2024} J. Br\"udern and T. D. Wooley, \emph{Estimates for smooth Weyl sums on major arcs}, Int. Math. Res. Not. IMRN \textbf{2024}, 14662--14688. \bibitem{BW2024b} J. Br\"udern and T. D. Wooley, \emph{Partitio Numerorum: sums of squares and higher powers}, Funct. Approx. Comment. Math. \textbf{71} (2024), 21--67. \bibitem{BW2025} J. Br\"udern and T. D. Wooley, \emph{Estimates for smooth Weyl sums on minor arcs}, Bull. Lond. Math. Soc. \textbf{57} (2025), 657--668. \bibitem{CD2026} S. Chow and R. Dietmann, \emph{A linear bound in Waring's problem}, preprint; arXiv:2611.29821v1. \bibitem{DGW2020} C. Demeter, L. Guth and H. Wang, \emph{Small cap decouplings}, with an appendix by D. R. Heath-Brown, Geom. Funct. Anal. \textbf{30} (2020), 989--1062. \bibitem{Gal1967} P. X. Gallagher, \emph{The large sieve}, Mathematika \textbf{14} (1967), 14--20. \bibitem{Gal1972} P. X. Gallagher, \emph{Primes in progressions to prime-power modulus}, Invent. Math. \textbf{16} (1972), 191--201. \bibitem{GR1990} S. W. Graham and C. J. Ringrose, \emph{Lower bounds for least quadratic non-residues}, in: Analytic number theory (Allerton Park, IL, 1989), Progr. Math. \textbf{85}, Birkh\"auser, Boston, 1990, pp. 269--309. \bibitem{Hal1968} G. Hal\'asz, \emph{\"Uber die Mittelwerte multiplikativer zahlentheoretischer Funktionen}, Acta Math. Acad. Sci. Hungar. \textbf{19} (1968), 365--403. \bibitem{HL1920} G. H. Hardy and J. E. Littlewood, \emph{A new solution of Waring's problem}, Quart. J. Math. Oxford \textbf{48} (1920), 272--293. \bibitem{HL1922} G. H. Hardy and J. E. Littlewood, \emph{Some problems of ``Partitio Numerorum'': IV. The singular series in Waring's Problem and the value of the number $G(k)$}, Math. Z. \textbf{12} (1922), 161--188. \bibitem{HL1925} G. H. Hardy and J. E. Littlewood, \emph{Some problems of ``Partitio Numerorum'' (VI): Further researches in Waring's Problem}, Math. Z. \textbf{23} (1925), 1--37. \bibitem{HW2008} G. H. Hardy and E. M. Wright, \emph{An introduction to the theory of numbers}, 6th ed., Oxford University Press, Oxford, 2008. \bibitem{Har1981} G. Harman, \emph{Trigonometric sums over primes I}, Mathematika \textbf{28} (1981), 249--254. \bibitem{HB1978} D. R. Heath-Brown, \emph{Hybrid bounds for Dirichlet $L$-functions}, Invent. Math. \textbf{47} (1978), 149--170. \bibitem{HB1988} D. R. Heath-Brown, \emph{The fractional part of $\alpha n^k$}, Mathematika \textbf{35} (1988), 28--37. \bibitem{HB2017} D. R. Heath-Brown, \emph{A new $k$th derivative estimate for exponential sums via Vinogradov's mean value}, Tr. Mat. Inst. Steklova \textbf{296} (2017), 95--110; Proc. Steklov Inst. Math. \textbf{296} (2017), 88--103. \bibitem{Kar1985} A. A. Karatsuba, \emph{The function $G(n)$ in Waring's problem}, Izv. Akad. Nauk SSSR Ser. Mat. \textbf{49} (1985), 935--947, 1119. \bibitem{Mil2016} D. Mili\'cevi\'c, \emph{Sub-Weyl subconvexity for Dirichlet $L$-functions to prime power moduli}, Compos. Math. \textbf{152} (2016), 825--875. \bibitem{Mon1969} H. L. Montgomery, \emph{Mean and large values of Dirichlet polynomials}, Invent. Math. \textbf{8} (1969), 334--345. \bibitem{Mon1971} H. L. Montgomery, \emph{Topics in multiplicative number theory}, Lecture Notes in Math. 227, Springer-Verlag, Berlin--New York, 1971. \bibitem{Rob2016} O. Robert, \emph{On the fourth derivative test for exponential sums}, Forum Math. \textbf{28} (2016), 403--404. \bibitem{RS2002} O. Robert and P. Sargos, \emph{A fourth derivative test for exponential sums}, Compositio Math. \textbf{130} (2002), 275--292. \bibitem{Vau1986} R. C. Vaughan, \emph{On Waring's problem for smaller exponents}, Proc. London Math. Soc. (3) \textbf{52} (1986), 445--463. \bibitem{Vau1989} R. C. Vaughan, \emph{A new iterative method in Waring's problem}, Acta Math. \textbf{162} (1989), 1--71. \bibitem{Vau1997} R. C. Vaughan, \emph{The Hardy--Littlewood method}, 2nd ed., Cambridge Tracts in Math. \textbf{125}, Cambridge University Press, Cambridge, 1997. \bibitem{VW1991} R. C. Vaughan and T. D. Wooley, \emph{On Waring's problem: some refinements}, Proc. London Math. Soc. (3) \textbf{63} (1991), 35--68. \bibitem{VW2000} R. C. Vaughan and T. D. Wooley, \emph{Further improvements in Waring's problem, IV: higher powers}, Acta Arith. \textbf{94} (2000), 203--285. \bibitem{VW2002} R. C. Vaughan and T. D. Wooley, \emph{Waring's problem: a survey}, in: Number theory for the millennium, III (Urbana, IL, 2000), A K Peters, Natick, MA, 2002, pp. 301--340. \bibitem{Vin1959} I. M. Vinogradov, \emph{On an upper bound for $G(n)$}, Izv. Akad. Nauk SSSR Ser. Mat. \textbf{23} (1959), 637--642. \bibitem{Wei1948} A. Weil, \emph{On some exponential sums}, Proc. Nat. Acad. Sci. U.S.A. \textbf{34} (1948), 204--207. \bibitem{Woo1990} T. D. Wooley, \emph{On simultaneous additive equations and Waring's problem}, Ph.D. thesis, University of London, 1990. \bibitem{Woo1992} T. D. Wooley, \emph{Large improvements in Waring's problem}, Ann. of Math. (2) \textbf{135} (1992), 131--164. \bibitem{Woo1993} T. D. Wooley, \emph{The application of a new mean value theorem to the fractional parts of polynomials}, Acta Arith. \textbf{65} (1993), 163--179. \bibitem{Woo1995} T. D. Wooley, \emph{New estimates for smooth Weyl sums}, J. London Math. Soc. (2) \textbf{51} (1995), 1--13. \bibitem{Woo2016} T. D. Wooley, \emph{On Waring's problem for intermediate powers}, Acta Arith. \textbf{176} (2016), 241--247. \bibitem{Woo2016b} T. D. Wooley, \emph{The cubic case of the main conjecture in Vinogradov's mean value theorem}, Adv. Math. \textbf{294} (2016), 532--561. \bibitem{Woo2019} T. D. Wooley, \emph{Nested efficient congruencing and relatives of Vinogradov's mean value theorem}, Proc. London Math. Soc. (3) \textbf{118} (2019), 942--1016. \end{thebibliography} \end{document}