arXiv reader

On exponential sums with multiplicative coefficients

Haozhe Gou

arXiv
2610.22345v1 · PDF · 15 October 2026
Categories
math.NT
Licence
CC BY 4.0 The site shows the text.

Abstract

Let f:\mathbb{N}\to{z\in\mathbb{C}:|z|\leq1} be multiplicative, and suppose that \alpha has a rational approximation a/q with |\alpha-a/q|\leq 1/(qx) and q\leq x/((\log x)^2(\log\log x)^3). We prove that \left|\sum_{n\leq x}f(n)e(n\alpha)\right|\leq \left(\frac4{\sqrt6}+o(1)\right)\frac{x}{\sqrt q} +O\left(\frac{x}{\log x}\right), whereas complete multiplicativity improves 4/\sqrt6 to 1. Both constants are optimal. In particular, this confirms a folklore conjecture on exponential sums with multiplicative coefficients motivated by the work of Montgomery and Vaughan (1977). We also obtain logarithmically weighted estimates and give counterexamples to related conjectures.

Items 56

Conjecture

Conjecture 1.1

B44E

Fix \varepsilon>0. Let f:\mathbb{N}\to\mathbb{U} be multiplicative, and suppose that |\alpha-a/q|\leqslant1/(qx), where (a,q)=1 and 1\leqslant q\leqslant x/(\log x)^{2+\varepsilon}. Then

|S_f(x,\alpha)| \ll_\varepsilon \frac{x}{\log x}+\frac{x}{\sqrt q}.
Used by Proof
Theorem

Theorem 1.1 (Sharp exponential-sum bounds)

SL71

Let f:\mathbb{N}\to\mathbb{U} be multiplicative, and suppose that |\alpha-a/q|\leqslant1/(qx), where (a,q)=1 and 1\leqslant q\leqslant Q_{\rm MV}(x). Then

|S_f(x,\alpha)| \leqslant \left(\frac4{\sqrt6}+o(1)\right)\frac{x}{\sqrt q} +O\left(\frac{x}{\log x}\right).

If f is completely multiplicative, then

|S_f(x,\alpha)| \leqslant (1+o(1))\frac{x}{\sqrt q} +O\left(\frac{x}{\log x}\right).

Both leading constants are best possible, and the estimates are uniform in f,a,q, and \alpha. In particular, Conjecture 1.1 holds for every fixed \varepsilon>0.

Proof of Theorem 1.1

Put L=\log x and first suppose q\leqslant L^3. Take A sufficiently large in Proposition 9.1. If there is no exceptional character, the proposition and partial summation in the phase perturbation \alpha-a/q give S_f(x,\alpha)=O(x/L)+o(x/\sqrt q).

Otherwise let \chi_0 be the unique surviving character, and choose t from Lemma 9.5. For x/L^A\leqslant X\leqslant x apply the stability lemma to the terms d\leqslant L^R with u=xd/X, enlarging A in terms of the fixed R. Proposition 9.1 and (?) yield uniformly

S_f(X,a/q) =\frac{M_{\chi_0}(x)}{\phi(q)} \left(\frac Xx\right)^{1+it} \sum_{d\in\mathcal D_q} \frac{f(d)G_q(ad,\overline{\chi_0})}{d^{1+it}} +O_A\left(\frac XL\right)+o\left(\frac X{\sqrt q}\right).

Writing \alpha=a/q+\beta, where |\beta|x\leqslant1/q, partial summation in \mathrm e(\beta n) gives

\begin{aligned} S_f(x,\alpha) ={}&\frac{\mathcal H_x(\beta,t)M_{\chi_0}(x)}{\phi(q)} \sum_{d\in\mathcal D_q} \frac{f(d)G_q(ad,\overline{\chi_0})}{d^{1+it}}\\ &\quad+O\left(\frac xL\right)+o\left(\frac x{\sqrt q}\right). \end{aligned}

The omitted prefixes below x/L^A contribute O(x/L^A). The uniform errors in (?) remain of the same order after partial summation.

Lemma 9.5 gives

|\mathcal H_x(\beta,t)M_{\chi_0}(x)| \leqslant\frac{\phi(q)}q x+O\bigl(2^{\omega(q)}+xL^{-\eta_1}\bigr).

The error on the right is o(x\phi(q)/q) for q\leqslant L^3. For general multiplicative f, the first estimate in Lemma 9.1 bounds the kernel in (?) by (4/\sqrt6)\sqrt q. This proves (1.1) in the small-modulus range. If f is completely multiplicative, we instead apply (9.1), obtaining (1.1) from the same expansion.

For L^3<q\leqslant Q_{\rm MV}(x) the Montgomery–Vaughan estimate (?), together with q/\phi(q)\ll\log\log(3q), gives S_f(x,a/q)\ll x/L for either class of functions. Lemma 2.1 contributes O(x/q), so the asserted estimates hold throughout the claimed range.

Finally, the periodic example of Proposition 1.1(i) attains 4/\sqrt6, while primitive characters attain 1 in the completely multiplicative class. The error terms are uniform in the stated parameters. Since q\leqslant x/(\log x)^{2+\varepsilon} implies q\leqslant Q_{\rm MV}(x) for every fixed \varepsilon>0 and large x, Conjecture 1.1 follows.

Remark

Remark 1.1

Q3EM

Independently, Robles [Robles2026] proved the folklore conjecture for all 1-bounded multiplicative functions, in the wider range q\leqslant x/(\log x)^2 under the weaker approximation condition |\alpha-a/q|\leqslant q^{-2}. His result gives the conjectured upper bound, but does not determine the sharp leading constants 4/\sqrt6 and 1 as in our Theorem 1.1.

Corollary

Corollary 1.1

4MGP

Suppose that q=o((\log x)^2) and that the hypotheses of Theorem 1.1 hold. Then

|S_f(x,\alpha)| \leqslant \left(\frac4{\sqrt6}+o(1)\right)\frac{x}{\sqrt q}.

For completely multiplicative f, the constant 4/\sqrt6 can be replaced by 1. Both constants are optimal, and neither estimate can be extended uniformly to q\asymp(\log x)^2 with the same leading constant.

Corollary

Corollary 1.2 (Logarithmic exponential sums)

NCW4

Let f:\mathbb{N}\to\mathbb{U} be multiplicative, and suppose that |\alpha-a/q|\leqslant1/(qx), where (a,q)=1 and 1\leqslant q\leqslant x. Then

\left| \sum_{n\leqslant x}\frac{f(n)}n\mathrm e(n\alpha) \right| \ll \log q+\frac{\log x}{\sqrt q}.

In particular, conjecture (1.5) of [GranvilleLamzouri2026] holds.

Moreover, if q=o((\log x/\log\log x)^2), then

\left| \sum_{n\leqslant x}\frac{f(n)}n\mathrm e(n\alpha) \right| \leqslant \left(\frac4{\sqrt6}+o(1)\right) \frac{\log x}{\sqrt q}.

If f is completely multiplicative, the stronger estimate

\left| \sum_{n\leqslant x}\frac{f(n)}n\mathrm e(n\alpha) \right| \leqslant (1+o(1))\frac{\log x}{\sqrt q}

holds in the same range.

The leading constants 4/\sqrt6 and 1 are best possible for multiplicative and completely multiplicative functions, respectively. All estimates are uniform in f,a,q, and \alpha.

Proof of Corollary 1.2

Write L=\log x. First assume q\leqslant Q_{\rm MV}(x), and set

U=\max\{x_0,qL^2(\log\log x)^3\},

where x_0 is an absolute threshold for Proposition 8.1. For U\leqslant t\leqslant x, one has q\leqslant Q_{\rm MV}(t) and |\alpha-a/q|\leqslant1/(qt), so Proposition 8.1 gives

|S_f(t,\alpha)|\ll\frac{t}{\log t}+\frac{t}{\sqrt q}.

Using |S_f(t,\alpha)|\leqslant t below U, partial summation yields

\left|\sum_{n\leqslant x}\frac{f(n)}n\mathrm e(n\alpha)\right| \ll \log U+\log\log x+\frac{L}{\sqrt q} \ll \log q+\frac{L}{\sqrt q}.

For the last inequality, note that \log U\leqslant\log q+O(\log\log x), and \log\log x\ll\log q+L/\sqrt q: use L/\sqrt q\geqslant\log\log x if q\leqslant(L/\log\log x)^2, and \log q\gg\log\log x otherwise. If Q_{\rm MV}(x)<q\leqslant x, then \log q\asymp L, and the trivial harmonic bound proves the same assertion. This establishes (1.2).

For the sharp estimates, put C_0=4/\sqrt6 in the general case and C_0=1 in the completely multiplicative case. Under the subcritical hypothesis, choose T by

\log T=\left(\frac{L\log\log x}{\sqrt q}\right)^{1/2}.

Then q\leqslant Q_{\rm MV}(T) and

\log T=o(L/\sqrt q),\qquad \log\log x=o(L/\sqrt q).

Theorem 1.1 therefore implies, uniformly for T\leqslant t\leqslant x,

|S_f(t,\alpha)|\leqslant(C_0+o(1))\frac{t}{\sqrt q} +O\left(\frac{t}{\log t}\right).

The initial segment n\leqslant T contributes O(\log T); partial summation on (T,x] contributes at most

(C_0+o(1))\frac{L}{\sqrt q}+O(\log\log x).

This proves (?) and (?). For optimality, the periodic construction in Proposition 1.1(i) gives the coefficient 4/\sqrt6 after partial summation; primitive Dirichlet characters give the coefficient 1 in the completely multiplicative case. A direct treatment of the logarithmic sums and further discussion appear in [GouLogarithmic2026].

Proposition

Proposition 1.1 (Three counterexamples)

OGZ2

The following statements hold.

  1. There are 1-bounded multiplicative functions f_j and parameters q_j,x_j\to\infty, with q_j\leqslant(\log x_j)^2, such that

    |S_{f_j}(x_j,1/q_j)| = \left(\frac4{\sqrt6}+o(1)\right) \frac{x_j}{\sqrt{q_j}}.

    Thus the leading constant 1 in conjecture (1.3) is false for general multiplicative functions.

  2. There are squarefree integers q_j\to\infty, real numbers x_j\geqslant y_j\geqslant q_j^2 tending to infinity, reduced numerators a_j, and periodic unimodular multiplicative functions f_j such that

    \frac{ \left| \sum_{\substack{n\leqslant x_j\\P^+(n)\leqslant y_j}} f_j(n)\mathrm e(a_jn/q_j) \right| }{ \Psi(x_j,y_j)/\sqrt{q_j} +\sqrt{x_jy_j}/\log x_j } \longrightarrow\infty.

    Hence conjecture (1.4) fails in order of magnitude.

  3. For f\equiv1 and q=\lfloor(\log x/\log\log x)^2\rfloor, we have

    \left| \sum_{n\leqslant x}\frac{\mathrm e(n/q)}n \right| =(2+o(1))\log\log x.

    This exceeds the proposed upper bound with leading constant 4/\sqrt6 in conjecture (1.6). Thus that conjecture fails at its stated endpoint, even for completely multiplicative functions.

Used by Proof, Proof
Proof of Proposition 1.1

Let \ell\geqslant5 be a prime, let \chi be a primitive character modulo \ell, and put q=6\ell. Define a multiplicative function g by

g(2^k)=g(3^k)=-1\quad(k\geqslant1), \qquad g(p^k)=1\quad(p>3,\ k\geqslant1),

and set f(n):=g(n)\chi(n). The function g is periodic modulo 6, with

(g(0),g(1),\ldots,g(5))=(1,1,-1,-1,-1,1),

so f is periodic modulo q. Notice that f is multiplicative but not completely multiplicative.

Write \tau(\chi):=\sum_{v\bmod\ell}\chi(v)\mathrm e(v/\ell) for the primitive Gauss sum; then |\tau(\chi)|=\sqrt\ell.

Let

C_q:=\sum_{b\bmod q}f(b)\mathrm e(b/q).

Choose s and t with s\ell\equiv1\pmod6 and 6t\equiv1\pmod\ell. The Chinese remainder theorem gives

C_q= \left(\sum_{u\bmod6}g(u)\mathrm e(su/6)\right) \left(\sum_{v\bmod\ell}\chi(v)\mathrm e(tv/\ell)\right).

Since s\equiv\pm1\pmod6, the first factor equals 4; the second equals \chi(6)\tau(\chi). Thus

C_q=4\chi(6)\tau(\chi),\qquad |C_q|=4\sqrt\ell.

Periodicity now yields

\sum_{n\leqslant x}f(n)\mathrm e(n/q) =\frac{x}{q}C_q+O(q).

Consequently, whenever q^{3/2}=o(x),

\left|\sum_{n\leqslant x}f(n)\mathrm e(n/q)\right| =\left(\frac4{\sqrt6}+o(1)\right)\frac{x}{\sqrt q}.

For example, take primes \ell_j\to\infty, put q_j=6\ell_j, and choose x_j=\exp(q_j). Then q_j\leqslant(\log x_j)^2, and (?) contradicts the leading constant 1 in [GranvilleLamzouri2026, (1.3)]. This does not contradict an order-of-magnitude bound \ll x/\sqrt q.

Proof of Proposition 1.1

Let q be squarefree, assume P^+(q)\leqslant y, and define

f_q(n):=\mu((n,q)).

This is a periodic, unimodular multiplicative function. For a\in(\mathbb{Z}/q\mathbb{Z})^\times, write

S_q(a;x,y):= \sum_{\substack{n\leqslant x\\P^+(n)\leqslant y}} f_q(n)\mathrm e(an/q).

Averaging over the reduced numerators gives the exact identity

\frac1{\phi(q)}\sum_{a\bmod q}^{*}S_q(a;x,y) =\mu(q)M_q(x,y),

where

M_q(x,y):=\frac1{\phi(q)} \sum_{r\mid q} \left(\prod_{p\mid r}(p-2)\right)\Psi(x/r,y)>0.

Indeed, if d=(n,q), then the squarefreeness of q gives

c_q(n)=\mu(q/d)\phi(d), \qquad \mu(d)c_q(n)=\mu(q)\phi(d).

Also

\phi((n,q)) =\prod_{p\mid q}\bigl(1+(p-2)\mathbf1_{p\mid n}\bigr).

Expanding the last product and summing over the y-smooth integers gives (Proof). In particular,

\max_{(a,q)=1}|S_q(a;x,y)|\geqslant M_q(x,y).

Averaging in (Proof) is essential: the corresponding identity need not hold for a fixed numerator a.

Choose x=x(y) by

\log x=\sum_{p\leqslant y}\frac{\log p}{\sqrt p-1}.

Thus the Hildebrand–Tenenbaum saddle point is 1/2. Their saddle-point theorem [HildebrandTenenbaum1986, Theorems 1 and 3] and its fixed-dilation consequence give, for each fixed q and each r\mid q,

\frac{\Psi(x/r,y)}{\Psi(x,y)} =r^{-1/2}(1+o_q(1)) \qquad(y\to\infty).

For completeness, let \sigma_r be the saddle point associated with (x/r,y). The mean-value theorem in the saddle equation gives

\sigma_r=\frac12+O_q\!\left( \left\{\sum_{p\leqslant y} \frac{p^{1/2}(\log p)^2}{(p^{1/2}-1)^2}\right\}^{-1} \right)=\frac12+o_q(1).

A Taylor expansion of the two saddle-point formulae, first in the \log x variable and then in the saddle, therefore gives \log\Psi(x/r,y)-\log\Psi(x,y)=-(\log r)/2+o_q(1), which is (?). This is the framework recalled in [GranvilleLamzouri2026, §3.1]; crucially, q is fixed before y tends to infinity. It follows that

\begin{aligned} M_q(x,y) &=(1+o_q(1))\frac{\Psi(x,y)}{\phi(q)} \prod_{p\mid q}\left(1+\frac{p-2}{\sqrt p}\right) \\ &=(1+o_q(1))\frac{\Psi(x,y)}{\sqrt q}\mathfrak A(q), \end{aligned}

where

\mathfrak A(q):= \prod_{p\mid q}\left(1+\frac1{\sqrt p+1}\right).

The second equality uses

\frac{\sqrt p}{p-1}\left(1+\frac{p-2}{\sqrt p}\right) =1+\frac1{\sqrt p+1}.

The same saddle-point formula, combined with the prime number theorem, gives \log x=(2+o(1))\sqrt y and

\log\left(\frac{\Psi(x,y)\log x}{\sqrt{xy}}\right) =\left(2+o(1)\right)\frac{\sqrt y}{\log y}.

Consequently, for every fixed q,

\frac{\sqrt{xy}}{\log x} =o\left(\frac{\Psi(x,y)}{\sqrt q}\right).

Finally take the primorials q_z:=\prod_{p\leqslant z}p. The prime number theorem gives

\begin{aligned} \log\mathfrak A(q_z) &=\sum_{p\leqslant z}\log\left(1+\frac1{\sqrt p+1}\right)\\ &=\sum_{p\leqslant z}\left(\frac1{\sqrt p}+O\left(\frac1p\right)\right) =\left(2+o(1)\right)\frac{\sqrt z}{\log z}\longrightarrow\infty. \end{aligned}

Choose z_j\to\infty and set q_j=q_{z_j}. With q_j fixed, choose y_j\geqslant q_j^2 sufficiently large, define x_j by (?), and then choose a reduced numerator a_j using (Proof). Equations (?) and (?) give

\frac{|S_{q_j}(a_j;x_j,y_j)|} {\Psi(x_j,y_j)/\sqrt{q_j}+\sqrt{x_jy_j}/\log x_j} \longrightarrow\infty.

This disproves [GranvilleLamzouri2026, (1.4)]. The order of these choices matters: we use the smooth-number asymptotic only with q fixed, without assuming uniformity as q grows. Since f_q(p^2)=f_q(p)=-1 for p\mid q, this example is not completely multiplicative and does not settle the completely multiplicative version of that problem.

Proof of Proposition 1.1

Set q=\lfloor(\log x/\log\log x)^2\rfloor. For f\equiv1 and \alpha=1/q, summation by parts gives

\sum_{n\leqslant x}\frac{\mathrm e(n/q)}n =-\operatorname{Log}(1-\mathrm e(1/q))+O(q/x),

with the principal branch of the logarithm. Hence

\left|\sum_{n\leqslant x}\frac{\mathrm e(n/q)}n\right| =\log q+O(1)=(2+o(1))\log\log x,

whereas (4/\sqrt6)(\log x)/\sqrt q=(4/\sqrt6+o(1))\log\log x. This disproves conjecture (1.6) at its stated endpoint. More generally, taking q\sim c(\log x/\log\log x)^2 gives the lower leading coefficient 2\sqrt c, so the proposed coefficient 4/\sqrt6 fails whenever c>2/3. See also [GouLogarithmic2026].

Lemma

Lemma 2.1

9UPV

If |\alpha-a/q|\leqslant 1/(qX) and |f(n)|\leqslant1, then

|S_f(X,\alpha)-S_f(X,a/q)|\ll \frac{X}{q}.
Used by Proof, Proof, Proof
Proof of Lemma 2.1

Using |\mathrm e(t)-1|\ll|t|, the left-hand side is at most |\alpha-a/q|\sum_{n\leqslant X}n\ll X/q.

Proposition

Proposition 2.1

SR8V

Suppose that (a,q)=1, L^{5/2}\leqslant q\leqslant Q_{\rm MV}(x), and |\alpha-a/q|\leqslant1/(qx). Then S_f(x,\alpha)\ll x/L.

Used by Proof
Proof of Proposition 2.1

For these values of q, [MontgomeryVaughan1977, Theorem 1] gives (?). The standard estimate q/\phi(q)\ll\log\log(3q) yields x/\sqrt{\phi(q)}\ll x\sqrt{\log\log(3q)/q}=o(x/L) when q\geqslant L^{5/2}. Lemma 2.1 contributes O(x/q)=o(x/L).

Lemma

Lemma 3.1

E406

There is a multiplicative function h such that f=h*F_q, with h(p^k)=0 for p\mid q, h(p)=0 for p\nmid q, and h(p^k)=f(p^k)-f(p)f(p^{k-1}) for p\nmid q and k\geqslant2. In particular,

\sum_{d\geqslant1}\frac{|h(d)|}{d}<\infty, \qquad \sum_{d\geqslant1}\frac{|h(d)|}{d^{1-\delta}}<\infty \quad(0<\delta<1/2).
Used by Proof
Proof of Lemma 3.1

Define h multiplicatively by the identity of formal Euler factors

\sum_{k\geqslant0}\frac{f(p^k)}{p^{ks}} =\left(\sum_{k\geqslant0}\frac{h(p^k)}{p^{ks}}\right) \left(\sum_{k\geqslant0}\frac{F_q(p^k)}{p^{ks}}\right).

If p\mid q, the two factors involving f and F_q are identical, whence h(p^k)=0 for every k\geqslant1. Suppose that p\nmid q. Since F_q(p^k)=f(p)^k, comparison of the coefficient of p^{-s} gives h(p)=0. For k\geqslant2, the coefficient identity reads f(p^k)=h(p^k)+f(p)h(p^{k-1})+\cdots+f(p)^k. Using the same identity at level k-1 and multiplying it by f(p), all terms except the first cancel, and therefore h(p^k)=f(p^k)-f(p)f(p^{k-1}).

It follows that |h(p^k)|\leqslant2, and that every integer in the support of h, apart from 1, is powerful and coprime to q. Hence

\sum_{d\geqslant1}\frac{|h(d)|}{d} \leqslant\prod_{p\nmid q}\left(1+2\sum_{k\geqslant2}\frac1{p^k}\right) \leqslant\prod_p\left(1+\frac{2}{p(p-1)}\right)<\infty.

More generally, if 0<\delta<1/2, then \sum_{k\geqslant2}p^{-k(1-\delta)}\ll p^{-2(1-\delta)}, and the corresponding Euler product converges because 2(1-\delta)>1. This proves both assertions in (3.1).

Proposition

Proposition 3.1

CN4S

Suppose that, whenever X is large, q\leqslant8(\log X)^3, and F:\mathbb{N}\to\mathbb{U} is multiplicative and completely multiplicative at every prime p\nmid q, one has

S_F(X,\theta)\ll \frac{X}{\log X}+\frac{X}{\sqrt q}

for |\theta-b/q|\leqslant1/(qX) and (b,q)=1. Then the same estimate holds, under the same approximation hypothesis, for every multiplicative f:\mathbb{N}\to\mathbb{U} whenever q\leqslant(\log x)^3.

Used by Proof
Proof of Proposition 3.1

Expanding the convolution f=h*F_q and changing the order of summation gives

S_f(x,\alpha)=\sum_{\substack{d\leqslant x\\(d,q)=1}}h(d)S_{F_q}(x/d,d\alpha).

The restriction (d,q)=1 follows from Lemma 3.1. Since (d,q)=1, ad is also coprime to q, and

d\alpha=\frac{ad}{q}+d(\alpha-a/q), \qquad |d(\alpha-a/q)|\leqslant\frac{d}{qx}=\frac1{q(x/d)}.

Thus every inner sum in (Proof) has a rational approximation with the same denominator q. This is the point of the definition (?).

We split the d-sum at \sqrt x. If d\leqslant\sqrt x, then x/d\geqslant\sqrt x and \log x\leqslant2\log(x/d). Consequently q\leqslant(\log x)^3\leqslant8(\log(x/d))^3, so (3.1) applies. Since \log(x/d)\asymp\log x in this range,

\begin{aligned} \sum_{d\leqslant\sqrt x}|h(d)|\left(\frac{x/d}{\log(x/d)}+\frac{x/d}{\sqrt q}\right) &\ll \left(\frac{x}{\log x}+\frac{x}{\sqrt q}\right) \sum_{d\geqslant1}\frac{|h(d)|}{d}\\ &\ll \frac{x}{\log x}+\frac{x}{\sqrt q}. \end{aligned}

For d>\sqrt x we use |S_{F_q}(x/d,d\alpha)|\leqslant x/d. Taking \delta=1/4 in (3.1),

x\sum_{d>\sqrt x}\frac{|h(d)|}{d} \leqslant x^{7/8}\sum_{d\geqslant1}\frac{|h(d)|}{d^{3/4}} \ll x^{7/8}=o(x/\log x).

Combining the two ranges proves the proposition.

Proposition

Proposition 4.1

UY20

Uniformly for q\leqslant8L^3 and (a,q)=1,

\sum_{\substack{n\leqslant x\\P^{+}(n)>x/q}}F(n)\mathrm e(an/q)\ll \frac{x}{\log x}.
Used by Proof
Proof of Proposition 4.1

Let n\leqslant x satisfy P^{+}(n)>x/q. Since x/q>\sqrt x, the largest prime factor of n occurs to the first power and is the unique prime factor of n exceeding x/q. Thus n=pm uniquely, where p>x/q is prime and m<x/p<q. In particular p\nmid m, so ordinary multiplicativity gives F(pm)=F(p)F(m).

For 1\leqslant k<q, put I_k=(x/(k+1),x/k] and A_k(b):=\sum_{m\leqslant k}F(m)\mathrm e(abm/q). The condition p\in I_k is equivalent to \lfloor x/p\rfloor=k, and therefore

\sum_{\substack{n\leqslant x\\P^{+}(n)>x/q}}F(n)\mathrm e(an/q) =\sum_{k<q}\sum_{p\in I_k}F(p)A_k(p).

The length of I_k is |I_k|=x/(k(k+1))\asymp x/k^2. Since k<q\leqslant8L^3, we have |I_k|/q\geqslant x/q^3=x^{1-o(1)}. The short-interval Brun–Titchmarsh inequality bounds the primes in an interval of length H>q and a reduced class by \ll H/\{\phi(q)\log(H/q)\}. Applying this to I_k as in [GranvilleLamzouri2026, (3.20)] gives

\#\{p\in I_k:p\equiv b\pmod q\} \ll \frac{x}{\phi(q)k^2\log x}

for every reduced residue class b\pmod q, uniformly in k<q. Here the logarithm in Brun–Titchmarsh is \log(|I_k|/q)\asymp\log x.

Define \mathcal E_q(k):=\phi(q)^{-1}\sum_{b\bmod q,(b,q)=1}|A_k(b)|^2. Grouping the primes in the inner sum of (?) by residue class, and then using (?), gives

\begin{aligned} \left|\sum_{p\in I_k}F(p)A_k(p)\right| &\leqslant\sum_{\substack{b\bmod q\\(b,q)=1}}|A_k(b)| \#\{p\in I_k:p\equiv b\pmod q\}\\ &\ll \frac{x}{\phi(q)k^2\log x} \sum_{\substack{b\bmod q\\(b,q)=1}}|A_k(b)|\\ &\leqslant \frac{x}{k^2\log x}\sqrt{\mathcal E_q(k)}. \end{aligned}

Thus each k-block is bounded by x\sqrt{\mathcal E_q(k)}/(k^2\log x).

We estimate \mathcal E_q(k) in two different ways. Enlarging the average from the reduced residue classes to all additive frequencies and applying Parseval gives

\mathcal E_q(k) \leqslant\frac1{\phi(q)}\sum_{b\bmod q}|A_k(b)|^2 =\frac q{\phi(q)}\sum_{m\leqslant k}|F(m)|^2 \leqslant\frac q{\phi(q)}k.

For small k one can do better. Expanding the square over reduced residue classes yields the exact identity

\mathcal E_q(k)=\frac1{\phi(q)} \sum_{m,n\leqslant k}F(m)\overline{F(n)}c_q(m-n).

The diagonal contributes at most k, while for each 1\leqslant h<k there are at most k pairs with m-n=h and at most k with n-m=h. Hence

\mathcal E_q(k)\leqslant k+2k\sum_{1\leqslant h<k}\frac{|c_q(h)|}{\phi(q)}.

The prime-power formula for Ramanujan sums implies

\frac{|c_q(h)|}{\phi(q)}= \begin{cases} \phi((u,\operatorname{rad}(q)))/\phi(\operatorname{rad}(q)),&h=\frac{q}{\operatorname{rad}(q)}u,\\ 0,&\frac{q}{\operatorname{rad}(q)}\nmid h. \end{cases}

Indeed, for p^a\Vert q the local factor vanishes unless p^{a-1}\mid h; after writing h=(q/\operatorname{rad}(q))u, it is 1 if p\mid u and 1/(p-1) otherwise. Therefore,

\sum_{1\leqslant h<k}\frac{|c_q(h)|}{\phi(q)} \leqslant\frac1{\phi(\operatorname{rad}(q))}\sum_{u\leqslant k\operatorname{rad}(q)/q}\phi((u,\operatorname{rad}(q))) \leqslant\frac{k^2}{\phi(\operatorname{rad}(q))}.

If k\leqslant(q/\phi(q))^2, then

\frac{k^2}{\phi(\operatorname{rad}(q))}\leqslant\frac{(q/\phi(q))^4}{\phi(\operatorname{rad}(q))} =\prod_{p\mid q}\frac{p^4}{(p-1)^5}\leqslant\frac{81}{2}.

The last inequality holds because each local factor is less than 1 for p\geqslant5, while the factors at 2 and 3 have product 81/2. Substitution in (?) gives \mathcal E_q(k)\leqslant82k for k\leqslant(q/\phi(q))^2.

We now sum the blocks. For k\leqslant(q/\phi(q))^2 use the short estimate, and for larger k use Parseval:

\begin{aligned} \sum_{k<q}\frac{\sqrt{\mathcal E_q(k)}}{k^2} &\ll\sum_{k\leqslant(q/\phi(q))^2}k^{-3/2} +\sqrt{q/\phi(q)}\sum_{k>(q/\phi(q))^2}k^{-3/2}\\ &\ll1. \end{aligned}

Summing the preceding block estimate over k<q proves (4.1).

Lemma

Lemma 5.1

MNQ6

Uniformly for 0\leqslant z\leqslant1 and u\geqslant1,

\sum_{m\leqslant u}w_z(m)\ll u\rho_z(u).

If u\geqslant q^4, then uniformly for every b\pmod q,

\sum_{\substack{m\leqslant u\\m\equiv b\pmod q}}w_z(m) \ll\frac uq\rho_z(u).
Used by Proof
Proof of Lemma 5.1

Shiu’s Brun–Titchmarsh theorem for non-negative multiplicative functions [Shiu1980], combined with Mertens’ estimate, gives

\sum_{m\leqslant u}w_z(m) \ll\frac{u}{\log(2u)} \exp\left(\sum_{p\leqslant u}\frac{w_z(p)}p\right) \ll u\rho_z(u).

For small u\ll T the same assertion follows trivially, since w_z(m)\leqslant1 and \rho_z(u)\asymp1. For the progression estimate, let d=(b,q), q_1=q/d and u_1=u/d. Dividing the congruence by d gives a reduced class modulo q_1. Every prime dividing d is below T, so w_z(dm)=w_z(m). Moreover u\geqslant q^4 ensures q_1\leqslant u_1^{1/4}. Shiu’s theorem, with the prime factors of q_1 omitted from its Euler product, gives

\sum_{\substack{m\leqslant u_1\\m\equiv b/d\pmod{q_1}}}w_z(m) \ll\frac{u_1}{\phi(q_1)}\rho_z(u_1) \prod_{p\mid q_1}\left(1-\frac1p\right).

Here w_z(p)=1 for p\mid q_1; the final product cancels q_1/\phi(q_1). Since d\leqslant q\leqslant u^{1/4}, \rho_z(u/d)\ll\rho_z(u) uniformly in z. We obtain u_1\rho_z(u_1)/q_1\ll u\rho_z(u)/q.

Lemma

Lemma 5.2

8GRE

With the notation above,

\int_0^1\sum_{j<J} \frac{\Delta_jM_j}{\log t_j}\rho_z(M_j)\,\mathrm{d} z \ll x.
Used by Proof
Proof of Lemma 5.2

Since t_{j+1}/t_j=1+O(t_j^{-1/3}), the left-hand side is bounded by a constant times

x\int_0^1\int_T^{2y}\frac{\rho_z(x/t)}{t\log t}\,\mathrm{d} t\,\mathrm{d} z.

For u>T, integration in z gives

\int_0^1\rho_z(u)\,\mathrm{d} z \leqslant\min\left\{1, \frac1{\log\{\log(2u)/\log(2T)\}}\right\}

whenever the second expression is defined with positive denominator. For T\leqslant t\leqslant\sqrt x we have u=x/t\geqslant\sqrt x; the z-integral is O(1/\log L), while \int_T^{\sqrt x}\mathrm{d} t/(t\log t)\ll\log L. For \sqrt x\leqslant t\leqslant2y we use \rho_z\leqslant1 and \int_{\sqrt x}^{2y}\mathrm{d} t/(t\log t)=O(1). Together these estimates prove (5.2).

Lemma

Lemma 6.1

BX7R

For every v\in\mathbb{Z},

\sum_{\chi\pmod q}|G_q(v,\chi)|^2=\phi(q)^2.
Used by Proof
Proof of Lemma 6.1

Expand the square and use orthogonality of characters on (\mathbb{Z}/q\mathbb{Z})^\times.

Lemma

Lemma 6.2

0W4S

For every v\in\mathbb{Z} and every character \chi\pmod q,

|G_q(v,\chi)|\leqslant\sqrt{q(v,q)}.
Used by Proof
Proof of Lemma 6.2

By the Chinese remainder theorem, it is enough to consider q=p^a. If the local character has conductor p^b, 1\leqslant b\leqslant a, then G_{p^a}(v,\chi) vanishes unless v_p(v)=a-b; in the nonzero case its modulus equals p^{a-b}p^{b/2}=p^{a-b/2}. For the principal character the sum is c_{p^a}(v), whose prime-power formula gives the same pointwise bound.

Lemma

Lemma 6.3

F1OC

Uniformly in \chi\pmod q and (a,q)=1,

\sum_{v\bmod q}|G_q(av,\chi)| \leqslant\frac4{\sqrt6}\phi(q)\sqrt q.
Used by Proof
Proof of Lemma 6.3

The sum factors over prime powers. For a local conductor p^b, 1\leqslant b\leqslant a, precisely \phi(p^b) classes have nonzero Gauss sum, each of modulus p^{a-b/2}. The local \ell^1 sum is thus \phi(p^a)p^{b/2}, which is at most \phi(p^a)p^{a/2}. For the principal character the Ramanujan-sum formula gives local norm 2\phi(p^a); relative to \phi(p^a)p^{a/2} it has factor 2/p^{a/2}. Only p^a=2,3 enlarge the product, and their factors are 2/\sqrt2 and 2/\sqrt3.

Proposition

Proposition 6.1

TTHY

If M_j\geqslant q^4, then, uniformly for 0\leqslant z\leqslant1 and all \chi\pmod q,

|B_{j,z}(\chi)|\ll \frac{\phi(q)}{\sqrt q}\,M_j\rho_z(M_j).

Consequently the total contribution of the selected coefficient |B_{j,z}(\chi_{j,z})| in (?), over the blocks with M_j\geqslant q^4, is O(x/\sqrt q).

Proof of Proposition 6.1

Group (?) by m\pmod q. Lemma 5.1 and (6.3) give

|B_{j,z}(\chi)| \ll\frac{M_j\rho_z(M_j)}q \sum_{v\bmod q}|G_q(av,\overline\chi)| \ll\frac{\phi(q)}{\sqrt q}M_j\rho_z(M_j).

Insert this in (?) and use Lemma 5.2 to obtain the claimed total bound.

Lemma

Lemma 6.4 (Granville–Harper–Soundararajan)

4T0U

Let g\in\mathcal C(1) and M\geqslant q^4. There is a character \chi_0\pmod q such that

\left(\sum_{\substack{\chi\pmod q\\\chi\ne\chi_0}} \left|\sum_{n\leqslant v}g(n)\chi(n)\right|^2\right)^{1/2} \ll v\mathfrak D(M,q)

uniformly for \sqrt M\leqslant v\leqslant M. If no exceptional character is needed, choose \chi_0 arbitrarily.

Used by Proof
Proposition

Proposition 6.2

T5OL

If M_j\geqslant q^4, then for each z\in[0,1] there exists a character \chi_{j,z}\pmod q satisfying

\left(\sum_{\substack{\chi\pmod q\\\chi\ne\chi_{j,z}}} |B_{j,z}(\chi)|^2\right)^{1/2} \ll H(q)\bigl(\sqrt q\,M_j\mathfrak D(M_j,q) +\phi(q)M_j^{3/4}\bigr).
Proof of Proposition 6.2

Every m has a unique factorization m=dn with d\in\mathcal D_q and (n,q)=1. Since q<T, we have w_z(dn)=w_z(n). Define

g_z(n):=F(n)w_z(n)\mathbf1_{(n,q)=1}.

It is multiplicative and belongs to \mathcal C(1): for p\nmid q and p>T its local generating function equals

1+z\sum_{k\geqslant1}\frac{F(p)^k}{p^{ks}} =\frac{1-(1-z)F(p)p^{-s}}{1-F(p)p^{-s}},

so that \Lambda_{g_z}(p^k)=F(p)^k\{1-(1-z)^k\}\log p; for p\leqslant T (away from q) the usual bound holds, and for p\mid q the function is zero. Thus |\Lambda_{g_z}(n)|\leqslant\Lambda(n).

For (n,q)=1, the change of variables in the Gauss sum gives G_q(adn,\overline\chi)=\chi(n)G_q(ad,\overline\chi). Hence

B_{j,z}(\chi)=\sum_{\substack{d\leqslant M_j\\d\in\mathcal D_q}} F(d)G_q(ad,\overline\chi) \sum_{n\leqslant M_j/d}g_z(n)\chi(n).

Choose \chi_{j,z} from Lemma 6.4 with M=M_j. For d\leqslant\sqrt{M_j}, Minkowski’s inequality, the pointwise Gauss bound, and the large sieve give the contribution

\ll\sqrt q\,M_j\mathfrak D(M_j,q) \sum_{d\in\mathcal D_q}\frac{\sqrt{(d,q)}}d \leqslant H(q)\sqrt q\,M_j\mathfrak D(M_j,q).

For d>\sqrt{M_j}, use the trivial inner-sum bound M_j/d. Minkowski’s inequality and (6.1) give

\ll\phi(q)M_j \sum_{\substack{d>\sqrt{M_j}\\d\in\mathcal D_q}}\frac1d \leqslant H(q)\phi(q)M_j^{3/4}.

This proves (6.2).

Lemma

Lemma 6.5

PXEA

If q\leqslant M_j<q^4, then for every z\in[0,1],

\left(\sum_{\chi\pmod q}|B_{j,z}(\chi)|^2\right)^{1/2} \leqslant \sqrt{2\phi(q)}\,M_j.
Proof of Lemma 6.5

Multiplicative Parseval and the enlargement to all additive frequencies give

\sum_\chi|B_{j,z}(\chi)|^2 \leqslant\phi(q)q\sum_{b\bmod q} \left|\sum_{\substack{m\leqslant M_j\\m\equiv b\pmod q}} F(m)w_z(m)\right|^2.

Each residue class contains at most M_j/q+1 integers; |F(m)w_z(m)|\leqslant1 and M_j\geqslant q, so the last sum is at most 2\phi(q)M_j^2.

Proposition

Proposition 7.1

CHT0

Suppose that q\leqslant8(\log x)^3, (a,q)=1, and F:\mathbb{N}\to\mathbb{U} is multiplicative and completely multiplicative at every prime p\nmid q. Then

\sum_{\substack{n\leqslant x\\P^+(n)\leqslant x/q}} F(n)\mathrm e(an/q) \ll\frac{x}{\log x}+\frac{x}{\sqrt q}.
Used by Proof
Proposition

Proposition 8.1

G542

Under the hypotheses of Theorem 1.1, one has

S_f(x,\alpha)\ll\frac{x}{\log x}+\frac{x}{\sqrt q}.
Uses Theorem 1.1 · Used by Proof, Proof
Proof of Proposition 8.1

We first establish the local statement required in Proposition 3.1. Moduli below a fixed absolute constant are covered by |S_F(x,\alpha)|\leqslant x\ll x/\sqrt q, so we may assume that q is sufficiently large for the quoted smooth-number estimates. For q\leqslant8L^3, split S_F(x,a/q) according as P^{+}(n) is at most or greater than x/q. Proposition 4.1 and Proposition 7.1 give

S_F(x,a/q)\ll \frac{x}{\log x}+\frac{x}{\sqrt q}.

Lemma 2.1 extends this to |\alpha-a/q|\leqslant1/(qx). Proposition 3.1 then proves the same estimate for every multiplicative f in the range q\leqslant(\log x)^3.

The preceding argument treats q\leqslant(\log x)^3. Proposition 2.1 treats q\geqslant(\log x)^{5/2} up to Q_{\rm MV}(x). The ranges overlap and exhaust all admissible q.

Lemma

Lemma 9.1 (Local Gauss-sum bounds)

CVZ3

Uniformly in \chi\pmod q and (a,q)=1,

\sum_{d\in\mathcal D_q}\frac{|G_q(ad,\overline\chi)|}{d} \leqslant\frac4{\sqrt6}\sqrt q.

For each fixed 0<\rho<1/2,

\sum_{d\in\mathcal D_q}\frac{|G_q(ad,\overline\chi)|}{d^{1-\rho}} \ll_\rho q^{1/2+o(1)}.

If f is completely multiplicative and |f(n)|\leqslant1, then, for all real t,

\left|\sum_{d\in\mathcal D_q} \frac{f(d)G_q(ad,\overline\chi)}{d^{1+it}}\right| \leqslant\sqrt q.
Used by Proof
Proof of Lemma 9.1

We prove the estimates prime by prime. Factor q=\prod_{p^e\Vert q}p^e and let \chi_p denote the component of \chi modulo p^e. The Chinese remainder theorem gives a constant \omega(a,\chi) of modulus one for which

\sum_{d\in\mathcal D_q}\frac{f(d)G_q(ad,\overline\chi)}{d^{1+it}} =\omega(a,\chi) \prod_{p^e\Vert q}\left(\sum_{v\geqslant0} \frac{f(p^v)\chi^{(p)}(p)^v}{p^{v(1+it)}} G_{p^e}(p^v,\overline{\chi_p})\right),

where \chi^{(p)}=\prod_{\substack{r^b\Vert q\\r\ne p}}\chi_r; thus |\chi^{(p)}(p)|=1. More explicitly, the CRT expression for G_q has local additive coefficient ad(q/p^e)^{-1}; its unit part can be removed from the local Gauss sum and contributes precisely the character factors displayed in (Proof). The factorization also holds after taking absolute values.

For a local character of conductor p^j with 1\leqslant j\leqslant e, G_{p^e}(p^v,\overline{\chi_p}) vanishes unless v=e-j, in which case its modulus is p^{e-j/2}. The corresponding local contribution to (9.1) is p^{j/2}\leqslant p^{e/2}. For a principal local character the relevant Ramanujan sums are

c_{p^e}(p^{e-1})=-p^{e-1},\qquad c_{p^e}(p^v)=\phi(p^e)\quad(v\geqslant e).

Consequently the local absolute norm equals 2. Only the factors p^e=2,3 have 2>p^{e/2}, and their relative contributions multiply to 4/\sqrt6. This proves (9.1). Replacing d^{-1} by d^{-1+\rho} gives local norms p^{j/2+\rho(e-j)} in the nonprincipal case and O_\rho(p^{\rho e}) in the principal case. Their product is q^{1/2+o(1)}, proving the weighted bound.

Suppose now that f is completely multiplicative. Set

z_p=f(p)p^{-it}\chi^{(p)}(p),\qquad |z_p|\leqslant1.

The local factor in (Proof) is \sum_{v\geqslant0}z_p^v p^{-v}G_{p^e}(p^v,\overline{\chi_p}). For conductor p^j, j\geqslant1, this has modulus at most p^{j/2}|z_p|^{e-j}\leqslant p^{e/2}. For the principal character the complete geometric sum is

-z_p^{e-1}+\frac{(1-p^{-1})z_p^e}{1-z_p/p} =-z_p^{e-1}\frac{1-z_p}{1-z_p/p}.

For |z|\leqslant1,

\frac{|1-z|}{|1-z/p|}\leqslant\frac{2p}{p+1} \leqslant\sqrt p\leqslant p^{e/2}.

Thus every local factor is at most p^{e/2}; multiplying over p^e\Vert q proves (9.1). The empty product for q=1 is understood as 1.

Lemma

Lemma 9.2

II2Y

Fix A>0. There is a set \mathcal E_q of characters modulo q, with |\mathcal E_q|\leqslant1, such that, uniformly for x/L^A\leqslant Y\leqslant x,

\left(\sum_{\substack{\chi\bmod q\\\chi\notin\mathcal E_q}} |M_\chi(Y)|^2\right)^{1/2} \ll_A YL^{-(1-1/\sqrt2)+o(1)}.
Used by Proof
Proof of Lemma 9.2

Define a completely multiplicative function f^\flat by f^\flat(p)=f(p) for p\nmid q and f^\flat(p)=0 for p\mid q. There is a multiplicative function h, supported on powerful integers coprime to q, such that

f(n)\mathbf1_{(n,q)=1}=(h*f^\flat)(n), \qquad \sum_{n\geqslant1}\frac{|h(n)|}{n^{1-\rho}}\ll_\rho1 \quad(0<\rho<1/2).

Indeed, h(p)=0 and h(p^\nu)=f(p^\nu)-f(p)f(p^{\nu-1}) for p\nmid q and \nu\geqslant2; the assertion follows from the same Euler-factor calculation as in Lemma 3.1.

Apply [GranvilleHarperSoundararajan2019, Theorem 1.9] with J=1 to f^\flat, using the base point x/L^{2A+20}. Since q\leqslant L^3, the modulus condition is automatic, and the uniform interval in that theorem contains every Y/k with x/L^A\leqslant Y\leqslant x and k\leqslant L^R, for each fixed R. The uniformity in the length gives a set \mathcal E_q of at most one character for which the analogue of (9.2) holds for the means of f^\flat, uniformly throughout the displayed interval.

Expanding (Proof) and applying Minkowski’s inequality transfers this estimate to f. For k\leqslant L^R, with R fixed sufficiently large in terms of A, the same exceptional character works at every length Y/k, and the total cost is \sum |h(k)|/k\ll1. For k>L^R, the trivial character L^2 estimate and (Proof) give

\ll \sqrt q\,Y\sum_{k>L^R}\frac{|h(k)|}{k} \ll YL^{3/2-R\rho+o(1)}.

Choose R so that this is smaller than the right-hand side of (9.2). This proves the lemma.

Lemma

Lemma 9.3

QKMX

Fix A>0. There is a set \mathcal E of characters modulo q, with |\mathcal E|=L^{o(1)}, such that, uniformly for x/L^A\leqslant X\leqslant x and X/L^A\leqslant Y\leqslant X,

\frac1L\sum_{\substack{\chi\bmod q\\\chi\notin\mathcal E}} \left|\sum_{n\leqslant Y}f(n)\chi(n)w_X(n)\right| \ll_A Y\left(\frac{\log Z_A}{L}\right)^{2/3}.
Used by Proof
Proof of Lemma 9.3

We give the argument with varying cutoffs because the exceptional set must work uniformly for both X and Y. By (Proof) and Minkowski’s inequality, the Granville–Harper–Soundararajan large sieve for f^\flat transfers to the means M_\chi(u), with the same exceptional set at each length. Fix R=40 and separate the convolution variables at k=L^R. The tail has the following \ell^2-norm over characters: \ll \sqrt q\,u\sum_{k>L^R}|h(k)|/k \ll uL^{3/2-R/4+o(1)}, which is negligible for the present purpose. For k\leqslant L^R, apply [GranvilleHarperSoundararajan2019, Theorem 1.9] with J=100 at geometric base points U_0,U_0^2,U_0^4,\ldots, where U_0=Z_A/L^{2A+R+2}. With the enlarged value of Z_A above, q\leqslant U_0^{1/4}; the available uniform length intervals cover all the required u/k. There are O_A(\log L) relevant points, and their exceptional sets have total size L^{o(1)}. After relaxing the fixed large-sieve exponent,

\left(\sum_{\chi\notin\mathcal E}|M_\chi(u)|^2\right)^{1/2} \ll_A u\left(\frac{\log(qL)}{\log u}\right)^{4/5}

for Z_A/L^{2A}\ll u\leqslant x/Z_A. The convolution factor supported on powerful numbers has a power-saving tail, so it only changes the implied constant.

By ordinary multiplicativity, after removing multiples of p^2 with p>Z_A,

\sum_{n\leqslant Y}f(n)\chi(n)w_X(n) =\sum_{Z_A<p\leqslant X/Z_A}(\log p)f(p)\chi(p) M_\chi(Y/p) +O\left(\frac{Y\log Z_A}{Z_A}\right).

The error, summed over all \chi\pmod q, is negligible in (9.3) since Z_A is a sufficiently large fixed power of qL.

Partition the primes into dyadic intervals D<p\leqslant2D, and each such interval into pieces \mathcal I=(V,V+h] of length h\asymp D^{2/3}. Weighted Brun–Titchmarsh gives \sum_{p\in\mathcal I,\,p\equiv b\pmod q}\log p\ll h/\phi(q). For P_\chi(\mathcal I)=\sum_{p\in\mathcal I}(\log p)f(p)\chi(p), character orthogonality and a second application of the same bound yield

\sum_{\chi\pmod q}|P_\chi(\mathcal I)|^2\ll h^2.

Freezing M_\chi(Y/p) at M_\chi(Y/V), Cauchy–Schwarz, (Proof), and (?) bound the frozen contribution of one piece by

\ll_A\frac{hY}{D} \left(\frac{\log(qL)}{\log(Y/D)}\right)^{4/5}.

There are O(D/h) pieces in a dyadic block. The freezing error in one piece is at most q h(1+Yh/D^2) after summing over \chi, and hence over the whole dyadic block is

\ll q(D+YD^{-1/3}).

Indeed, the interval between Y/p and Y/V has length O(Yh/D^2), while the sum of the prime weights in a piece is O(h).

Summing the frozen contributions over dyadic D and dividing by L=\log x, a comparison with the integral of u^{-4/5} gives

\frac1L\sum_DY \left(\frac{\log(qL)}{\log(Y/D)}\right)^{4/5} \ll_A Y\left(\frac{\log(qL)}L\right)^{4/5}.

The errors from (?), after summation over D and division by L, are

\ll\frac{q}{L}\left(\frac X{Z_A}+YZ_A^{-1/3}\right) =o\left(Y\left(\frac{\log Z_A}{L}\right)^{2/3}\right).

Because 4/5>2/3, the required bound follows.

Uses Proof
Lemma

Lemma 9.4

13E0

Let Z be any fixed sufficiently large power of qL, with Z\ll L^{O(1)}, and let x/L^A\leqslant X\leqslant x. Uniformly in (a,q)=1,

\sum_{X/Z<p\leqslant X}f(p)\log p \sum_{m\leqslant X/p}f(m)\mathrm e(apm/q) \ll_A X+\frac{X2^{\omega(q)/2}}{\sqrt{\phi(q)}}\log(2Z).
Used by Proof
Proof of Lemma 9.4

Partition 1\leqslant u\leqslant Z into intervals (u_j,u_{j+1}] with u_{j+1}-u_j\asymp\sqrt{u_j}, and group primes according to X/u_{j+1}<p\leqslant X/u_j. Put V_j(b)=\sum_{m\leqslant u_j}f(m)\mathrm e(abm/q). Replacing the inner cutoff X/p by u_j costs at most

\ll X\sum_j\frac{(u_{j+1}-u_j)^2}{u_j^2}=O(X).

Weighted Brun–Titchmarsh bounds the contribution of one prime block by

\ll\frac{X(u_{j+1}-u_j)}{u_j^2\phi(q)} \sum_{(b,q)=1}|V_j(b)|.

By Cauchy–Schwarz and the Ramanujan identity c_q(h)=\sum_{d\mid(q,h)}d\mu(q/d),

\left(\sum_{(b,q)=1}|V_j(b)|\right)^2 \leqslant\phi(q)u_j\sum_{|h|\leqslant u_j}|c_q(h)|, \qquad \sum_{|h|\leqslant T}|c_q(h)|\ll\phi(q)+T2^{\omega(q)}.

Consequently the sum of the prime blocks is at most

\ll X\sum_j\frac{u_{j+1}-u_j}{u_j^{3/2}} +\frac{X2^{\omega(q)/2}}{\sqrt{\phi(q)}} \sum_j\frac{u_{j+1}-u_j}{u_j} \ll X+\frac{X2^{\omega(q)/2}}{\sqrt{\phi(q)}}\log(2Z).

Combining with the freezing error proves the lemma.

Proposition

Proposition 9.1 (Reduction to a single character)

QN2A

Fix A>0. There is a function \delta_A(x)\to0 and a choice of at most one exceptional character \chi_0\pmod q such that, uniformly for x/L^A\leqslant X\leqslant x,

\begin{aligned} S_f(X,a/q) ={}&\frac1{\phi(q)} \sum_{d\in\mathcal D_q}f(d)G_q(ad,\overline{\chi_0})M_{\chi_0}(X/d)\\ &\quad+O_A\left(\frac XL\right) +\delta_A(x)\frac X{\sqrt q}. \end{aligned}

If there is no exceptional character, the first term is omitted.

Used by Proof
Proof of Proposition 9.1

Choose a sufficiently large fixed R=R(A) and write B=A+R+1. Throughout the proof we use the weight in (?) with A replaced by B; thus its threshold is Z_B=(qL^{B+2})^4. We first estimate the boundary terms. Uniformly for x/L^A\leqslant X\leqslant x,

(\log X)S_f(X,a/q) =\sum_{n\leqslant X}f(n)\mathrm e(an/q)w_X(n) +O_A(X)+o\left(\frac{XL}{\sqrt q}\right).

Indeed,

\log n-w_X(n) =\sum_{\substack{p^j\mid n\\p\leqslant Z_B}}\log p +\sum_{\substack{p^j\mid n\\p>X/Z_B}}\log p +\sum_{\substack{p^j\mid n,\ j\geqslant2\\Z_B<p\leqslant X/Z_B}}\log p.

The final sum has total mass O(X\sum_{p>Z_B}(\log p)/p^2)=O(X/Z_B). For the first sum, separate the exact valuation p^k\Vert n. If p^k\leqslant Z_B^2, Proposition 8.1 applied at length X/p^k and reduced denominator q/(q,p^k) gives

\sum_{\substack{m\leqslant X/p^k\\(m,p)=1}} f(m)\mathrm e(ap^km/q) \ll_A \frac{X}{p^kL} +\frac{X}{p^k\sqrt{q/(q,p^k)}}.

After summing with weight k\log p, the first terms contribute O_A(X\log Z_B/L)=O_A(X), while the second terms are

\ll \frac{X}{\sqrt q} \sum_{p^k\leqslant Z_B^2} \frac{k(\log p)\sqrt{(q,p^k)}}{p^k} =\frac{X}{\sqrt q}L^{o(1)}\log Z_B =o\left(\frac{XL}{\sqrt q}\right).

The terms with p^k>Z_B^2 have total mass O(X\log Z_B/Z_B).

For the second sum, p>X/Z_B implies p^2>X for sufficiently large x. Hence its contribution is

\sum_{p>X/Z_B}f(p)\log p \sum_{m\leqslant X/p}f(m)\mathrm e(apm/q).

Lemma 9.4, with Z=Z_B, bounds this by

O_A(X)+O\left( \frac{X2^{\omega(q)/2}}{\sqrt{\phi(q)}}\log(2Z_B) \right) =O_A(X)+o\left(\frac{XL}{\sqrt q}\right).

Finally, \sum_{n\leqslant X}\log(X/n)\ll X. These estimates prove (Proof).

For a character \chi\pmod q, write

W_{\chi,X}(Y):=\sum_{n\leqslant Y}f(n)\chi(n)w_X(n).

Since every prime dividing q is smaller than Z_B, one has w_X(dm)=w_X(m) whenever d\in\mathcal D_q and (m,q)=1. Thus Fourier inversion gives the exact identity

\sum_{n\leqslant X}f(n)\mathrm e(an/q)w_X(n) =\frac1{\phi(q)}\sum_{\chi\bmod q} \sum_{\substack{d\leqslant X\\d\in\mathcal D_q}} f(d)G_q(ad,\overline\chi)W_{\chi,X}(X/d).

Restrict first to d\leqslant L^R. Lemma 6.2 and Lemma 9.3 with parameter B, together with

\sum_{d\in\mathcal D_q}\frac{\sqrt{(d,q)}}d\leqslant H(q),

show that the characters outside \mathcal E contribute, after division by \log X,

\ll \frac{X\sqrt q}{\phi(q)}H(q) \left(\frac{\log Z_B}{L}\right)^{2/3} =o\left(\frac X{\sqrt q}\right).

The terms with d>L^R are O_A(X/L) by (?), since w_X(n)\leqslant\log X.

For \chi\in\mathcal E and Y=X/d, direct summation of the missing prime weights gives

|(\log X)M_\chi(Y)-W_{\chi,X}(Y)|\ll_A Y\log Z_B.

Indeed, write \log X=\log(X/n)+\log n and split the prime-power expansion of \log n at Z_B and X/Z_B. Since X/L^R\leqslant Y\leqslant X, the term \log(X/n) has total mass O_A(Y\log L), and Mertens’ theorem bounds each of the two prime ranges by O(Y\log Z_B); repeated central primes contribute less. Using (?) in (?) costs

\ll \frac X{\sqrt q}\frac q{\phi(q)}H(q)|\mathcal E| \frac{\log Z_B}{L} =o\left(\frac X{\sqrt q}\right).

Together, (Proof)– (?) show that only the characters in \mathcal E can contribute significantly to (?).

Take \mathcal E_q from Lemma 9.2 with parameter B. For \chi\in\mathcal E\setminus\mathcal E_q, Cauchy–Schwarz in the character variable, Lemma 6.2, and (9.2) give, for d\leqslant L^R,

\sum_{\chi\in\mathcal E\setminus\mathcal E_q} |G_q(ad,\overline\chi)M_\chi(X/d)| \ll \sqrt{q(d,q)}\,|\mathcal E|^{1/2} \frac Xd L^{-(1-1/\sqrt2)+o(1)}.

After summing over d and dividing by \phi(q), this is o(X/\sqrt q). The terms with larger d\in\mathcal D_q are covered by (?). Hence at most the character in \mathcal E_q remains, proving (9.1).

Lemma

Lemma 9.5

OTCI

Fix A>0 and let \chi\pmod q. There are a real |t|\leqslant L and an absolute constant \eta_1>0 such that, uniformly for 1\leqslant u\leqslant L^A and |\gamma|\leqslant1/(qx),

\sum_{n\leqslant x/u}f(n)\chi(n)\mathrm e(\gamma un) =\frac{\mathcal H_x(\gamma,t)}{u^{1+it}}M_\chi(x) +O_A\left(\frac{x}{uL^{\eta_1}}\right).

Moreover,

|\mathcal H_x(\gamma,t)M_\chi(x)| \leqslant\frac{\phi(q)}q x +O_A\left(2^{\omega(q)}+\frac{x}{L^{\eta_1}}\right).
Used by Proof
Proof of Lemma 9.5

Recall the completely multiplicative f^\flat and the powerful convolution f\mathbf1_{(\cdot,q)=1}=h*f^\flat from (Proof). Apply the Lipschitz theorem [GranvilleHarperSoundararajan2019, Theorem 1.5] to g(n)=f^\flat(n)\chi(n)\in\mathcal C(1). Let t be its maximizing frequency, with |t|\leqslant L. For each fixed B>0, the theorem gives

\sum_{n\leqslant x/v}g(n) =v^{-1-it}\sum_{n\leqslant x}g(n) +O_B\left(\frac{x}{vL^{\eta_2}}\right) \qquad(1\leqslant v\leqslant L^B)

for some absolute \eta_2>0. Indeed, the displayed Lipschitz error is L^{-(1-2/\pi)+o(1)} for polylogarithmic shortening v.

Choose R sufficiently large in terms of A and use (Proof) with v=uk for k\leqslant L^R. Since \sum_k|h(k)|/k^{1-\rho}\ll_\rho1 for 0<\rho<1/2, convolution gives

M_\chi(x/u)= u^{-1-it}M_g(x)\sum_{k\geqslant1} \frac{h(k)\chi(k)}{k^{1+it}} +O_A\left(\frac{x}{uL^{\eta_1}}\right),

with \eta_1>0 after decreasing \eta_2. The tails k>L^R follow from Rankin’s trick and the trivial mean-value bound. Taking u=1 in this formula identifies its main amplitude as M_\chi(x) up to O(xL^{-\eta_1}). Hence

M_\chi(x/u)=u^{-1-it}M_\chi(x) +O_A\left(\frac{x}{uL^{\eta_1}}\right).

Write the left-hand side of (9.5) by partial summation in the phase \mathrm e(\gamma un), and use (?) at every prefix x/L^{B}\leqslant y\leqslant x/u, with B sufficiently large in terms of A. The omitted smaller prefixes cost O(x/L^B), while |\gamma|x\leqslant1 keeps the integrated error O_A(x/(uL^{\eta_1})). The main term is

\frac{M_\chi(x)}{u^{1+it}} \left(\mathrm e(\gamma x)-2\pi i\gamma x \int_0^1 \mathrm e(\gamma xv)v^{1+it}\,\mathrm{d} v\right) =\frac{\mathcal H_x(\gamma,t)}{u^{1+it}}M_\chi(x),

by integration by parts. This proves (9.5). Finally, take u=1. The left side has modulus at most \#\{n\leqslant x:(n,q)=1\}=x\phi(q)/q+O(2^{\omega(q)}), which gives (9.5).

Uses Proof
Proposition

Proposition 13.1 (Counterexample in the critical range)

SXV2

Let 0<c\leqslant1 be fixed. There exist arbitrarily large x, integers q satisfying

q=c(\log x)^2,

and 1-bounded multiplicative functions f such that, with \alpha=1/q,

\left| \sum_{n\leqslant x}f(n)\mathrm e(n/q) \right| \geqslant \left( \frac4{\sqrt6}+\frac{\sqrt c}{2}+o(1) \right)\frac{x}{\sqrt q}.

In particular, the estimate

\left| \sum_{n\leqslant x}f(n)\mathrm e(n\alpha) \right| \leqslant \left(\frac4{\sqrt6}+o(1)\right)\frac{x}{\sqrt q}

cannot hold uniformly for all 1-bounded multiplicative f throughout the range q\leqslant(\log x)^2.

Proof of Proposition 13.1

Let \ell>3 tend to infinity through the primes, and take q=6\ell and

x=\exp\left(\sqrt{\frac q c}\right).

Thus q=c(\log x)^2. Let \chi be a non-principal character modulo \ell; since \ell is prime, \chi is primitive.

Define the multiplicative function g on prime powers by

g(2^k)=g(3^k)=-1\quad(k\geqslant1), \qquad g(p^k)=1\quad(p>3,\ k\geqslant1).

Then g is periodic modulo 6, with

(g(0),g(1),\ldots,g(5))=(1,1,-1,-1,-1,1).

The multiplicative function

f_0(n)=g(n)\chi(n)

is therefore periodic modulo q.

Let \overline{\ell} denote the inverse of \ell modulo 6, and \overline6 the inverse of 6 modulo \ell. By the Chinese remainder theorem,

\begin{aligned} \sum_{b\bmod q}f_0(b)\mathrm e(b/q) &= \left( \sum_{u\bmod6}g(u)\mathrm e(u\overline{\ell}/6) \right) \left( \sum_{v\bmod\ell}\chi(v)\mathrm e(v\overline6/\ell) \right). \end{aligned}

Since \overline{\ell}\equiv\pm1\pmod6, the first factor is

1+\mathrm e(1/6)-\mathrm e(1/3)-\mathrm e(1/2)-\mathrm e(2/3)+\mathrm e(5/6)=4,

up to complex conjugation. The second factor is a Gauss sum of absolute value \sqrt\ell. Hence

\left| \sum_{b\bmod q}f_0(b)\mathrm e(b/q) \right| =4\sqrt\ell.

Using periodicity,

\sum_{n\leqslant x}f_0(n)\mathrm e(n/q) = \frac{x}{q} \sum_{b\bmod q}f_0(b)\mathrm e(b/q)+O(q),

and consequently

\left| \sum_{n\leqslant x}f_0(n)\mathrm e(n/q) \right| = \left(\frac4{\sqrt6}+o(1)\right)\frac{x}{\sqrt q},

since q^{3/2}=o(x).

We next show that primes in (x/2,x] make a negligible contribution to (?). For such primes p one has g(p)=1, and hence

\sum_{x/2<p\leqslant x}f_0(p)\mathrm e(p/q) = \sum_{x/2<p\leqslant x}\chi(p)\mathrm e(p/q).

Since q\ll(\log x)^2, the Siegel–Walfisz theorem, applied after splitting the primes into residue classes modulo q, gives

\begin{aligned} \sum_{x/2<p\leqslant x}\chi(p)\mathrm e(p/q) &= \frac{Li(x)-Li(x/2)}{\phi(q)} \sum_{\substack{b\bmod q\\(b,q)=1}} \chi(b)\mathrm e(b/q) +O_A\left(\frac{x}{(\log x)^A}\right) \end{aligned}

for every fixed A>0.

The finite sum again factors by the Chinese remainder theorem:

\begin{aligned} \sum_{\substack{b\bmod q\\(b,q)=1}} \chi(b)\mathrm e(b/q) &= \left( \sum_{u\in(\mathbb{Z}/6\mathbb{Z})^\times} \mathrm e(u\overline{\ell}/6) \right) \left( \sum_{v\bmod\ell}\chi(v)\mathrm e(v\overline6/\ell) \right). \end{aligned}

The first factor has absolute value 1, while the second has absolute value \sqrt\ell. Since \phi(q)=2(\ell-1), it follows that

\sum_{x/2<p\leqslant x}f_0(p)\mathrm e(p/q) = o\left(\frac{x}{\sqrt q}\right).

Consequently, if

S_*= \sum_{\substack{n\leqslant x\\ n\notin\{p:x/2<p\leqslant x\}}} f_0(n)\mathrm e(n/q),

then (?) and (?) imply

|S_*| = \left(\frac4{\sqrt6}+o(1)\right)\frac{x}{\sqrt q}.

For sufficiently large x this is non-zero; write S_*=\omega|S_*| with |\omega|=1.

We now modify f_0 only at primes p\in(x/2,x]. Define a multiplicative function f on prime powers by

f(p)=\omega\mathrm e(-p/q), \qquad f(p^k)=f(p)^k \quad \left(\frac x2<p\leqslant x,\ k\geqslant2\right),

and retain

f(p^k)=f_0(p^k)

at every other prime power. This defines a 1-bounded multiplicative function.

If p>x/2, then 2p>x and p^2>x. Thus, among the integers n\leqslant x, changing the value at such a prime affects only the term n=p. Therefore

\begin{aligned} \sum_{n\leqslant x}f(n)\mathrm e(n/q) &= S_*+ \sum_{x/2<p\leqslant x}f(p)\mathrm e(p/q)\\ &= \omega\left( |S_*|+\pi(x)-\pi(x/2) \right). \end{aligned}

By the prime number theorem,

\pi(x)-\pi(x/2) = \left(\frac12+o(1)\right)\frac{x}{\log x} = \left(\frac{\sqrt c}{2}+o(1)\right)\frac{x}{\sqrt q}.

Combining this with (?) proves (13.1).

Remark

Remark 13.1

B8UU

The construction exhibits two independent sources of large values. The first comes from the Gauss sums at the primes 2 and 3, which contribute

\frac4{\sqrt6}\frac{x}{\sqrt q}.

The second comes from the unrestricted values of a multiplicative function at primes p>x/2, and contributes

\left(\frac12+o(1)\right)\frac{x}{\log x}.

At the critical scale q\sim c(\log x)^2 these two quantities have the same order of magnitude and can be arranged to have the same phase. Thus any sharp critical-scale estimate of the form

\left| \sum_{n\leqslant x}f(n)\mathrm e(n\alpha) \right| \leqslant \bigl(C(c)+o(1)\bigr)\frac{x}{\sqrt q}

must satisfy

C(c)\geqslant\frac4{\sqrt6}+\frac{\sqrt c}{2}.

In particular, at the endpoint q\sim(\log x)^2 one necessarily has

C(1)\geqslant\frac4{\sqrt6}+\frac12.

The large-prime contribution is o(x/\sqrt q) when q=o((\log x)^2), in agreement with Corollary 1.1.

A similar construction shows that the range in Corollary 1.1 is also optimal for completely multiplicative functions. Take q prime and use a primitive character modulo q as the initial completely multiplicative function. Modifying its values at primes in (x/2,x] and then extending completely multiplicatively gives

\left|\sum_{n\leqslant x}f(n)\mathrm e(n/q)\right| \geqslant\left(1+\frac{\sqrt c}{2}+o(1)\right)\frac{x}{\sqrt q}

when q\sim c(\log x)^2.

Source and licence

The text on this page is from arXiv:2610.22345v1 by Haozhe Gou, under the licence CC BY 4.0. The corpus made these changes: it read the items out of the LaTeX source, it expanded the macros of the paper, it put each proof after its statement, and it converted the text to HTML. The formulas are the TeX of the paper, and KaTeX renders them. A formula or a reference can look different from the PDF. The page is published under CC BY 4.0.

The record of each item is in analysis/objects/2610/2610.22345.jsonl.