We prove unconditionally that every primitive Dirichlet character χ modulo q≥3 has
character sums of size at most Cqloglogq. Montgomery and Vaughan proved this bound under
the generalised Riemann hypothesis, and Paley showed that it is optimal. The proof uses the
zero-free half-plane ℜs>7/8, which also gives ∣L′/L(1,χ)∣≪loglogq and two-sided
bounds for the Euler–Kronecker constants of the cyclotomic fields Q(ζq).
Introduction
Let χ be a primitive Dirichlet character modulo q≥3. The Pólya–Vinogradov inequality states that ∑n≤xχ(n)≪qlogq uniformly in x.1 Paley proved that the factor logq cannot be replaced by anything smaller than loglogq: for infinitely many primitive quadratic characters the maximum over x exceeds cqloglogq.2 Montgomery and Vaughan [2] proved the upper bound qloglogq under the generalised Riemann hypothesis. Without hypothesis, Granville and Soundararajan lowered the exponent of logq for characters of fixed odd order.3 We prove the bound of Montgomery and Vaughan for every primitive character.
Theorem 1.1. There is an absolute constant C such that for every primitive character χ modulo q≥3 and every x≥1,
n≤x∑χ(n)≤Cqloglogq.
By Paley’s theorem, Theorem 1.1 is optimal up to the value of C. The input that replaces the Riemann hypothesis is the following theorem.
Theorem 1.2 ([3]). If χ is a nonprincipal Dirichlet character, then L(s,χ)=0 for Res>7/8.
Theorem 1.2 is proved, and formalised in Lean 4, in [3]. It is the only result we use without proof; everything else is proved below from first principles, and the constants are effective.
Montgomery and Vaughan use the Riemann hypothesis in one place: on the major arcs, for prime sums of the characters χψ twisted by additive characters, where ψ runs over the characters of a small modulus r. A power saving in these sums is enough there, and Theorem 1.2 provides one (Corollary 3.8). On the minor arcs they use their unconditional bound for exponential sums with multiplicative coefficients. A weaker form of it suffices, and we prove that form in § 4 with Selberg’s sieve as the only arithmetic input. Figure 1 shows how the parts fit together.
Figure 1. The structure of the proofs. The left branch proves Theorem 1.1: the Fourier expansion of a character sum reduces it to the sums ∑m≤Hχ(m)e(mβ)/m, which are bounded on the major arcs by the half-plane and on the minor arcs by bilinear forms and the sieve. The right branch proves Theorem 1.3.
The same half-plane controls the logarithmic derivative of L(s,χ) at s=1. For a number field K write ζK(s)=c−1(s−1)−1+c0+O(s−1) near s=1; the Euler–Kronecker constant of K is γK=c0/c−1. Let γq be the Euler–Kronecker constant of Q(ζq). For a prime q the factorisation ζQ(ζq)(s)=ζ(s)∏χ=χ0L(s,χ), the product over the nonprincipal characters modulo q,4 gives
γq=γ+χ=χ0∑LL′(1,χ),(1)
where γ is Euler’s constant.
Theorem 1.3.There is an absolute constant C with the following properties.
(i) For every nonprincipal character χ modulo q,
LL′(1,χ)≤Cloglogq.
(ii) For every prime q≥3, −Clogqloglogq≤γq≤Clogq.
Under the generalised Riemann hypothesis the bound (i) is classical, Ihara proved γq≤(2+o(1))logq and Badzyan proved a lower bound of the order of (ii);5 Ford, Luca and Moree proved the two bounds of (ii) without hypothesis for a set of primes q of density one.6 For all primes the best unconditional bound we know is ∣γq∣≪εqε, due to Ihara, Murty and Shimura [1]. The upper bound in (ii) needs only Chebyshev’s bound. The lower bound needs an upper bound for the prime powers n≤q17 with n≡1(modq), which we obtain from Selberg’s sieve applied in dyadic blocks (Lemma 6.3).
We have not found Theorem 1.1 or Theorem 1.3 among the consequences of Theorem 1.2 drawn in [3] or in the work that followed it. The arguments work, with other constants, whenever L(s,χ)=0 on Res>θ for all nonprincipal χ and some fixed θ<1.
The paper is organised as follows. Section 2 collects Chebyshev’s bounds and Selberg’s sieve. Section 3 bounds Riesz means of χΛ by a contour shift. Section 4 proves the bound for exponential sums with multiplicative coefficients, Section 5 proves Theorem 1.1 and Section 6 proves Theorem 1.3.
Preliminaries
Throughout, p and ℓ denote primes, Λ is the von Mangoldt function, θ(x)=∑p≤xlogp, ψ(x)=∑n≤xΛ(n), e(x)=e2πix, and ∥x∥ is the distance from x to the nearest integer. We write ω(n) for the number of prime factors of n, τ3(n) for the number of ordered factorisations n=abc, and P(n) for the largest prime factor of n≥2, with P(1)=1.
Lemma 2.1. For x≥1 and integers N≥2,
(i) θ(x)≤xlog4;
(ii) ψ(x)−θ(x)≤2xlogx and ψ(x)≤4x;
(iii) ∑p≤Nplogp≤logN+log4;
(iv) ∑p≤Np1≤loglogN+10.
Proof. (i) It suffices to treat integers m≥1, and we use induction on m. The cases m=1,2 are clear, and for even m>2 we have θ(m)=θ(m−1). Let m=2n+1. The primes in (n+1,2n+1] divide (n2n+1), and 2(n2n+1)≤22n+1 because (n2n+1) and (n+12n+1) are equal terms of the binomial expansion of (1+1)2n+1. Hence θ(2n+1)≤θ(n+1)+nlog4≤(2n+1)log4.
(ii) We have ψ(x)−θ(x)=∑k≥2θ(x1/k), where only k≤logx/log2 contribute. Each term is at most xlog4 by (i), so the sum is at most (logx/log2)xlog4=2xlogx. Since logx≤x, ψ(x)≤(log4+2)x≤4x.
(iii) By Legendre’s formula and (i),
NlogN≥logN!≥p≤N∑⌊pN⌋logp≥Np≤N∑plogp−Nlog4.
(iv) Let A(u)=∑p≤ulogp/p. Partial summation and (iii) give
We use Selberg’s upper bound sieve in the following form.7
Lemma 2.2. Let a1,…,aX be integers, P a squarefree integer, ν a multiplicative function with $0<\nu(p)<1$ for p∣P, and y≥1. For d∣P put Rd=#{n≤X:d∣an}−ν(d)X, and for l∣P put $g(l)=\prod_{p\mid l}\nu(p)/(1-
Proof. Let D be the set of divisors d of P with d≤y, and let (λd)d∈D be real numbers with λ1=1. If (an,P)=1 then ∑d∈D,d∣anλd=1, and otherwise this sum is real, so
Write Q for the double sum in the first term. Since ν is multiplicative and d1,d2 are squarefree, ν([d1,d2])=ν(d1)ν(d2)/ν((d1,d2)). Let h be the multiplicative function on the divisors of P with h(p)=1/ν(p)−1=1/g(p); then 1/ν(m)=∑l∣mh(l) for m∣P, and
Since g(d)/ν(d)=∏p∣d(1−ν(p))−1=∏p∣d(1+g(p))=∑f∣dg(f), we get ∣λd∣≤S−1∑f∣d∑eg(fe), and the products fe are distinct elements of D; hence ∣λd∣≤1. Finally [d1,d2]≤d1d2≤y, and every d∣P is the least common multiple of at most 3ω(d) pairs (d1,d2), so the second term is at most ∑d∣Pd≤y3ω(d)∣Rd∣.
The weight 1−n/x makes the Mellin kernel absolutely integrable, which keeps the contour shift below free of truncation errors. The aim of this section is Proposition 3.7.
Lemma 3.1. Let a:N→C satisfy ∑n∣a(n)∣n−σ<∞ for σ>1, and let F(s)=∑na(n)n−s for Res>1.
(i) For Res>1,
∫1∞S(a;x)x−s−1dx=s(s+1)F(s).
(ii) For x>0,
S(a;x)=2π1∫−∞∞F(2+it)(2+it)(3+it)x2+itdt.
In other words the following square commutes, and (ii) inverts its right column on the line Res=2:
Proof. (i) For n≥1, ∫n∞(1−n/x)x−s−1dx=n−s/s−n−s/(s+1)=n−s/(s(s+1)). Since ∑n∣a(n)∣∫n∞x−σ−1dx=σ−1∑n∣a(n)∣n−σ<∞, the sum and the integral may be exchanged.
(ii) For y>0 let k(y)=2πi1∫(2)yss(s+1)ds. If y≥1, moving the line of integration to Res=−U and letting U→∞ picks up the residues 1 at s=0 and −1/y at s=−1, so k(y)=1−1/y; if y<1, moving it to the right gives k(y)=0. As ∣s(s+1)∣−1 is integrable on Res=2 and ∑n∣a(n)∣n−2<∞, summation and integration may be exchanged, and the right side equals ∑na(n)k(x/n)=S(a;x).
Lemma 3.2. Let χ be nonprincipal modulo q. For Res=σ>0, ∣L(s,χ)∣≤q∣s∣/σ.
Proof. Put A(t)=∑n≤tχ(n); then ∣A(t)∣≤q, and partial summation gives L(s,χ)=s∫1∞A(t)t−s−1dt for σ>0. Hence ∣L(s,χ)∣≤q∣s∣∫1∞t−σ−1dt=q∣s∣/σ.
Lemma 3.3. Let A0=23∑ℓℓ−3/2. For every Dirichlet character χ the series E(s)=−∑ℓlog(1−χ(ℓ)ℓ−s) is holomorphic on Res>1, eE(s)=L(s,χ) there, and ∣E(s)∣≤A0 for Res≥3/2.
Proof. For Res≥1 we have ∣χ(ℓ)ℓ−s∣≤1/2, and ∣log(1−w)∣≤∑k∣w∣k/k≤23∣w∣ for ∣w∣≤1/2. The series therefore converges locally uniformly on Res>1 and is bounded by A0 on Res≥3/2, and the Euler product gives eE=L.
Lemma 3.4 (Borel–Carathéodory). Let h be holomorphic on a neighbourhood of the disc ∣z−c∣≤R and let 0<r<R. Then
Proof. Put g(z)=h(c+z)−h(c) and A=max∣w∣=RReg(w). The mean of Reg over the circle ∣w∣=R is Reg(0)=0, so A≥0. If A=0, then Reg vanishes on the circle, hence on the disc, and g is an imaginary constant equal to g(0)=0. Let A>0. By the maximum principle Reg≤A on ∣z∣≤R, so ∣2A−g∣≥A there and ϕ=g/(2A−g) is holomorphic. Since ∣g∣2−∣2A−g∣2=4A(Reg−A)≤0, we have ∣ϕ∣≤1, and ϕ(0)=0. Schwarz’s lemma gives ∣ϕ(z)∣≤∣z∣/R, and from g=2Aϕ/(1+ϕ) we get ∣g(z)∣≤2A∣z∣/(R−∣z∣).
Lemma 3.5. Let 0<δ<1/1000, 1/2≤a≤1, and let χ be nonprincipal modulo q with L(s,χ)=0 for Res>a+2δ. Put K1=(1+2A0)/(2δ2). For a+8δ≤σ≤2 and t∈R,
LL′(σ+it,χ)≤K1log(2q(3+∣t∣)2).
Proof. Let c=2+it, R=2−a−3δ, r=2−a−6δ and Λ0=log(2q(3+∣t∣)2)≥log18>1. On the disc ∣z−c∣<2−a−2δ we have Rez>a+2δ, so L(z,χ) has no zero there and has a holomorphic logarithm h. On ∣z−c∣<1/2 both h and the function E of Lemma 3.3 are logarithms of L, so they differ by a constant in 2πiZ; we choose h=E there. Then ∣h(c)∣≤A0.
If ∣z−c∣≤R, then Rez≥a+3δ≥1/2 and ∣z∣≤∣c∣+3/2≤4+∣t∣, so Lemma 3.2 gives Reh(z)=log∣L(z,χ)∣≤log(2q(4+∣t∣))≤Λ0. Lemma 3.4 gives, for ∣z−c∣≤r,
∣h(z)−h(c)∣≤R−r2r(Λ0+A0)≤δΛ0+A0,
as r≤3/2 and R−r=3δ. Hence ∣h(z)∣≤A0+(Λ0+A0)/δ≤(1+2A0)Λ0/δ on ∣z−c∣≤r. For w=σ+it with a+8δ≤σ≤2 we have ∣w−c∣=2−σ≤r−2δ, so the circle ∣z−w∣=2δ lies in ∣z−c∣≤r, and Cauchy’s estimate gives ∣L′/L(w,χ)∣=∣h′(w)∣≤(1+2A0)Λ0/(2δ2).
Proof. We have log(2q)≤2log(q+2), and logy≤2y1/2 with 3+∣t∣≤4(1+∣t∣) gives log(3+∣t∣)≤4(1+∣t∣)1/2; the first bound follows from log(q+2)≥1. For the second, ∣s∣≥max(σ,∣t∣)≥(1+∣t∣)/4 and ∣s+1∣≥max(σ+1,∣t∣)≥(1+∣t∣)/2.
Proposition 3.7. Let 0<δ<1/1000. There is K=K(δ) such that the following holds. Let 1/2≤a≤1 and let χ be nonprincipal modulo q with L(s,χ)=0 for Res>a+2δ. Then for x≥1,
∣S(χ;x)∣≤Kxa+8δlog(q+2).
Proof. Put σ0=a+8δ and
Φ(s)=−LL′(s,χ)s(s+1)xs.
For Res>1, −L′/L(s,χ)=∑nχ(n)Λ(n)n−s, so Lemma 3.1(ii) gives S(χ;x)=2π1∫RΦ(2+it)dt. The function Φ is holomorphic on σ0≤Res≤2, and by Lemmas 3.5 and 3.6,
∣Φ(σ+it)∣≤80K1log(q+2)xσ(1+∣t∣)−3/2(σ0≤σ≤2).
This tends to 0 as ∣t∣→∞ uniformly in σ, so Cauchy’s theorem on the rectangles [σ0,2]×[−T,T], T→∞, moves the integral to Res=σ0 (Figure 2). Since ∫R(1+∣t∣)−3/2dt=4, we get ∣S(χ;x)∣≤π160K1xσ0log(q+2).
Figure 2. The contour shift in the proof of Proposition 3.7. The zeros of L(s,χ) lie in the strip 0≤Res≤7/8 (dots), the kernel xs/(s(s+1)) has poles at 0 and −1 (crosses), and the line of integration moves from Res=2 to Res=σ0 inside the zero-free half-plane.
From now on fix δ=1/2000 and a=7/8−1/1000, so that a+2δ=7/8 and
σ0=a+8δ=87+10003.
and let K be the constant of Proposition 3.7 for this δ. By Theorem 1.2, Proposition 3.7 applies to every nonprincipal character.
Corollary 3.8. There is an absolute constant C3 such that for every nonprincipal character ξ modulo k:
Take h=x47/50. Since 1+σ0−47/50<19/20 and log(2x)≤1+100x1/100, the right side is at most (8K+202)x19/20log(k+2). The prime powers contribute at most ψ(x)−θ(x)≤2xlogx≤200x19/20 by Lemma 2.1(ii), and (ii) follows with C3=8K+402.
(iii) Let Π(u)=∑p≤uξ(p)logp and f(u)=e(uγ)/logu. Partial summation gives
and ∣f′(u)∣≤2π∣γ∣/logA+1/(ulog2u) for u≥A. By (ii) the right side is at most C3B19/20log(k+2)(3+2π∣γ∣B)/logA, which gives (2). □
Exponential sums with multiplicative coefficients
For M>0 put wM(θ)=M if ∥θ∥<1/M and wM(θ)=1/∥θ∥ otherwise; then 0≤wM(θ)≤M and wM(−θ)=wM(θ).
Theorem 4.1. There is an absolute constant C1 with the following property. Let f be completely multiplicative with ∣f(n)∣≤1, let α∈R, and let a,r be coprime integers with r≥1, ∣α−a/r∣≤r−2 and 2≤R≤r≤N/R. Then
n≤N∑f(n)e(nα)≤C1(logNN+R1/4N(logN)2).
:::`
Montgomery and Vaughan [2 Corollary 1] proved this for multiplicative f with N(logR)3/2R−1/2 in place of N(logN)2R−1/4. The proof below follows their approach, a bilinear decomposition together with the spacing of the multiples of α and an upper bound for prime pairs, with cruder estimates, which suffice for Theorem 1.1.
Lemma 4.2. Let a,r be coprime with r≥2 and ∣α−a/r∣≤r−2, and let H≥0 be an integer.
(i) ∥kα∥≥1/(2r) for every integer k with 0<∣k∣≤r/2.
(ii) #{1≤h≤H:∥hα∥<t}≤(4H/r+1)(4rt+1) for every t≥0.
(iii) For M>0 and every integer K≥0 with M≤2K,
h≤H∑wM(hα)≤(r4H+1)(3M+4r+8rK),
h≤H∑wM(hα)2≤(r4H+1)(20rM+3M2).
Proof. (i) Let z be the integer nearest to kα. Since 0<∣k∣<r and (a,r)=1, r∤ka, so ∣ka/r−z∣≥1/r and ∥kα∥≥1/r−∣k∣∣α−a/r∣≥1/(2r).
(ii) Let L=⌊r/2⌋, so L≥r/4. For k in a block of L consecutive integers let yk=kα−zk with zk the integer nearest to kα. For k=k′ in the block, 0<∣k−k′∣<L≤r/2 and yk−yk′≡(k−k′)α(mod1), so ∣yk−yk′∣≥1/(2r) by (i). Points of (−t,t) at mutual distances at least 1/(2r) number at most 4rt+1, and [1,H] is covered by at most H/L+1≤4H/r+1 blocks.
(iii) If ∥θ∥≥1/M, let k≥1 be least with ∥θ∥<2k/M; then k≤K because ∥θ∥≤1/2<2K/M, and ∥θ∥≥2k−1/M, so wM(θ)≤21−kM. Hence
Proof. (i) If ∥θ∥<1/U, the sum has at most U terms of modulus 1. Otherwise θ∈/Z, the sum has modulus at most ∣e((B−A)θ)−1∣/∣e(θ)−1∣, and ∣e(θ)−1∣=2∣sinπθ∣≥4∥θ∥, so the modulus is at most 1/(2∥θ∥). (ii) Expanding the square gives ∑v,v′b(v)b(v′)∑ue(u(v−v′)α), where u runs over the integers of (A,min(B,N/v,N/v′)], an interval of length at most U; apply (i). (iii) For fixed m, the term m′=m is wM(0)=M, and each h=∣m−m′∣∈[1,H] arises from at most two m′.
Lemma 4.4. Let C5=1+4ζ(3/2). For every completely multiplicative f with ∣f(n)∣≤1, every α∈R and every integer N≥1, the sum S=∑n≤Nf(n)e(nα) satisfies
SlogN−p≤N∑logpf(p)m≤N/p∑f(m)e(pmα)≤C5N.
Proof. Write SlogN=S1+S2 with S1=∑n≤Nf(n)e(nα)logn and S2=∑n≤Nf(n)e(nα)log(N/n). Then ∣S2∣≤NlogN−logN!≤N, since NN/N!≤eN. In S1 write logn=∑d∣nΛ(d) and n=dm; complete multiplicativity gives ∑d≤NΛ(d)f(d)∑m≤N/df(m)e(dmα). The terms with d prime form the sum in the statement, and the others have modulus at most N∑p∑k≥2logp/pk≤2N∑plogp/p2≤4ζ(3/2)N, since logp≤2p.
Let G(h)=∏p∣hp/(p−1).
Lemma 4.5. (i) For every integer X≥2 and every even h≥2,
#{0≤n<X:n and n+h prime}≤(logX)2400G(h)X+3X3/5.
(ii) ∑h≤XG(h)4≤e30X for every X≥1.
Proof. (i) Apply Lemma 2.2 to an=n(n+h), 0≤n<X, with y=X1/5, z=⌊y⌋, P the product of the primes p≤z with p∤h, and ν(d)=2ω(d)/d. Every p∣P is odd, so ν(p)=2/p<1. For d∣P the residues n with d∣n(n+h) form 2ω(d) classes modulo d (namely n≡0 or −h(modp) for each p∣d, distinct as p∤h), and each class contains between X/d−1 and X/d+1 of the integers 0≤n<X; hence ∣Rd∣≤2ω(d). Since the prime factors of d are at least 3, 3ω(d)∣Rd∣≤6ω(d)≤d2≤y2, and the error term is at most y3=X3/5.
Let M be the set of m≤y whose prime factors divide P. Since
1−ν(p)ν(p)=k≥1∑ν(p)k
and ν(m)=2Ω(m)/m for these m, g(l) is the sum of 2Ω(m)/m over the m whose set of prime factors is that of l. An m∈M is counted in g(l) for l the product of its prime factors, and l≤m≤y. Hence, with τ(m)≤2Ω(m) the number of divisors of m,
S≥m∈M∑m2Ω(m)≥m∈M∑mτ(m).
Let T=⌊y1/4⌋ and let B be the set of b≤T that are prime to h; these b are odd. For b,b′∈B the product bb′ lies in M, and a given m is a product bb′ in at most τ(m) ways, so S≥(∑b∈B1/b)2. If E is a set of primes and p∈/E, every b≤T prime to E is uniquely pkb′ with b′ prime to E∪{p}, so the sum of 1/b over the b≤T prime to E is at most p/(p−1) times the same sum for E∪{p}. Adding the prime factors of h one at a time gives
b∈B∑b1≥G(h)1b≤T∑b1≥G(h)log(T+1).
As T+1>y1/4=X1/20, we get S≥(logX)2/(400G(h)2), that is, X/S≤400G(h)2X/(logX)2. Finally, if n<X and n,n+h are prime, then n≤z or (n(n+h),P)=1, so the count is at most z+1+X/S+y3≤400G(h)2X/(logX)2+3X3/5.
(ii) For t=p−1≥1, (t+1)5≤(t+31)t4, that is, (p/(p−1))4≤1+30/p. Hence G(h)4≤∑d30ω(d)/d over the squarefree d∣h, and
Proof of Theorem 4.1. Let S=∑n≤Nf(n)e(nα), L=logN and ℓ=⌊log2N⌋. Since N≥rR≥4, L≥1. If ℓ<64, then L<64log2<45 and ∣S∣≤N≤45N/L. Let ℓ≥64, I=⌊log2ℓ⌋+1 and J=ℓ+1−4I. Then 16I>ℓ4, 1≤J≤ℓ≤2L, I≤ℓ≤2L, 2I≤2ℓ, N<2ℓ+1=2J24I and J22J≤(ℓ+1)22ℓ+1ℓ−4≤2N. By Lemma 4.4, ∣S∣L≤C5N+∣T1∣+∣T2∣, where T1 and T2 are the parts of ∑plogpf(p)∑m≤N/pf(m)e(pmα) with p≤2J and with p>2J.
The small primes. Let 0≤j<J, U=2j, H=⌊N/U⌋, and for U<x≤2U let B(x)=∑m≤H,xm≤Nf(m)e(xmα); the inner sum for a prime p∈(U,2U] is B(p). By Cauchy’s inequality, Lemma 4.3(ii), (iii) and Lemma 4.2(iii) with M=U, K=j,
U<p≤2U∑logp∣B(p)∣≤(Ulog2(2U))1/2Qj1/2,
where Qj=H(U+2(4H/r+1)(3U+4r+8rj)). Since HU≤N, UQj≤7NU+(8+16j)Nr+24N2/r+(32+64j)N2/U, and log(2U)≤j+1. Summing over j<J with j+1≤J,
j<J∑2j/2≤3⋅2J/2,(32+64j)2−j≤8(j+1)(3/4)j
and ∑j≥0(j+1)2(3/4)j=112,
∣T1∣≤37JN2J+J2N24/r+896N+J224JNr.
Now J22J≤2N gives 37JN2J≤12N; r≥R≥R gives 24/r≤5R−1/4; and rR≤rR≤N gives 24JNr≤5JNR−1/4. With J≤2L and L≥1, ∣T1∣≤908N+60L3NR−1/4.
The large primes. For p>2J we have N/p<16I, so the m in T2 lie in (0,16I−1], the union of the blocks (16i−1,16i+1−1] with 0≤i<I. Fix i, let A=16i−1, U=15⋅16i and X=⌊N/16i⌋, and assume X≥1, the block being empty otherwise. Only the primes p∈(2J,X] contribute, since p≥X+1 and m≥16i give pm>N. Let V be the set of these primes, which are odd, and B(m)=∑p∈V,pm≤Nlogpf(p)e(pmα). The block is ∑A<m≤A+Uf(m)B(m), and by Cauchy’s inequality, Lemma 4.3(ii) and logp≤λ=log(X+1), its square is at most Uλ2W, where
The count vanishes for odd h, and for even h Lemma 4.5(i), applied to X+1, bounds it by 400G(h)(X+1)λ−2+3(X+1)3/5. By Cauchy’s inequality, Lemma 4.5(ii) and Lemma 4.2(iii), ∑h≤XG(h)2wU(hα)≤e15XQ1/2 with Q=(4X/r+1)(20rU+3U2), and ∑h≤XwU(hα)≤XU. Hence Uλ2W≤A1+800e15Z+A3, where
A1=U2λ2X,Z=U(X+1)XQ1/2,A3=6U2λ2(X+1)3/5X.
Let κ=log(N+1)≥λ and Ti=4iκ(N(2N)3/5)1/2. Since U2X=225⋅16i(16iX)≤225⋅16iN and X+1≤2N, we get A1≤225Ti2 and A3≤1350Ti2≤372Ti2. With w=UX≤15N, X≤N/16i and R≤r≤N/R,
Here I≤2L3; 2I≤4L≤16N1/4; 4I≤16L2 and κ≤2L; and logx≤15x1/15 gives L3(N(2N)3/5)1/2≤2⋅153N. Hence ∣T2∣≤Kb(216018N+2L3NR−1/4).
Altogether ∣S∣L≤(C5+908+216018Kb)N+(60+2Kb)L3NR−1/4, and dividing by L gives the theorem with C1=45+C5+908+216018Kb+60+2Kb. □
Proof of Theorem 1.1
In this section χ is a primitive character modulo q≥3.
Lemma 5.1. Let B≥0 be such that ∑m≤Hχ(m)e(mβ)/m≤B for every integer H≤q/2 and every β∈R. Then ∑n≤xχ(n)≤q(B+6) for every x≥0.
Proof. We may take x=T to be an integer. Let τ=∑amodqχ(a)e(a/q). Since χ is primitive, ∑aχ(a)e(an/q)=χ(n)τ for every n, and summing the squares of the moduli of these identities over n mod q gives qφ(q)=∣τ∣2φ(q), so ∣τ∣=q. Summing over 1≤n≤T,
τn≤T∑χ(n)=0<∣a∣≤q/2∑χ(a)1−e(−a/q)e(aT/q)−1.
where a runs over the integers with −q/2<a≤q/2, a=0. For 0<∣θ∣≤1/2 put r(θ)=(1−e(−θ))−1−(2πiθ)−1; then ∣1−e(−θ)∣=2∣sinπθ∣≥4∣θ∣. If 2π∣θ∣≤1, then ∣e(−θ)−1+2πiθ∣≤(2πθ)2 and ∣r(θ)∣≤(2πθ)2/(4∣θ∣⋅2π∣θ∣)<3; otherwise ∣r(θ)∣≤1/(4∣θ∣)+1/(2π∣θ∣)<3. The terms with r(a/q) contribute at most 6q. Writing a=±m with 1≤m≤q/2, the remaining terms are q/(2πi) times a combination, with coefficients of modulus at most 1, of four sums ∑m≤Hχ(m)e(mβ)/m with H≤q/2, so they contribute at most 2qB/π. Dividing by ∣τ∣ gives the claim. □
Lemma 5.2. For Y≥2 and H≥1,
n≤HP(n)≤Y∑n1≤e11logY.
Proof. The sum is at most ∏p≤Y(1−1/p)−1≤exp(∑p≤Yp−11), and ∑p(p−11−p1)≤1; apply Lemma 2.1(iv). □
Lemma 5.3. There is an absolute constant C2 such that for 0<r<q, b∈Z, β∈R, integers Y≥max(2,r) and t≥1,
Proof. Every n≤t with P(n)>Y is uniquely n=pm with p=P(n) prime, Y<p≤t/m and P(m)≤p, and then m≤t/Y. For such p we have p>r, so p∤r, and on the units modulo r the function u↦e(umb/r) equals ∑ψcψψ(u), the sum over the characters ψ modulo r, with ∣cψ∣≤1.
The character χψ modulo qr is nonprincipal. Otherwise χ(n)=ψ(n) for every n prime to qr. Let d=(q,r) and let n be prime to q with n≡1(modd). By the Chinese remainder theorem there is n′ prime to qr with n′≡n(modq) and n′≡1(modr), and then χ(n)=χ(n′)=ψ(n′)=1. So χ is trivial on the units congruent to 1 modulo d, and is induced by a character modulo d≤r<q, which contradicts primitivity.
Applying (2) to ξ=χψ with γ=mβ, A=max(Y,P(m)−1) and B=⌊t/m⌋ (the inner sum is empty if A≥B) gives
and ∑m≤Mm−19/20≤20M1/20. Hence C2=40C3 will do. □
Proposition 5.4. There is an absolute constant C4 such that if logq≥200, then
m≤H∑mχ(m)e(mβ)≤C4loglogq
for every integer H≤q and every β∈R.
Proof. Let L=logq, M=⌈L⌉, R=M16 and Y=M700. Since eL/16≥(L/16)4/24>L+1≥M, we have 2≤R<q and R≤Y. Split the sum according to P(m)≤Y or P(m)>Y. By Lemma 5.2 the first part is at most e11logY. For the second put A(t)=∑n≤tP(n)>Yχ(n)e(nβ) and w(t)=1/t−1/(t+1). Partial summation and ∣A(H)∣≤H give
m≤HP(m)>Y∑mχ(m)e(mβ)≤1+1≤t<H∑∣A(t)∣w(t).
If t≤Y, then A(t)=0. Let t>Y and Q=⌊t/R⌋≥1. By Dirichlet’s theorem there are coprime a,r with 1≤r≤Q and ∣β−a/r∣≤1/(r(Q+1)); then ∣β−a/r∣t≤R (Figure 3). If r≤R, then Lemma 5.3 with b=a gives ∣A(t)∣≤C2kt, where
Figure 3. The dissection of R/Z in the proof of Proposition 5.4, drawn for R=4. Near a fraction a/r with r≤R (major arcs) the sum A(t) is controlled by the twisted prime sums of Corollary 3.8; elsewhere (minor arcs) by Theorem 4.1. The heights only indicate that the major arcs carry the large values.
k=Y1/20logYRlog(qR+2)(2+2πR).
If r>R, then R≤r≤t/R and ∣β−a/r∣≤r−2, so Theorem 4.1 for f=χ bounds the full sum ∑n<tχ(n)e(nβ), and since logt≤L, removing the Ψ(t)=#{n≤t:P(n)≤Y} smooth terms gives
The first sum is at most 3+logL, the second at most 1+L, and by partial summation the third is at most ∑n≤H,P(n)≤Y1/n≤e11logY. Finally L≤M≤2L gives ρ(1+L)≤2/M≤1; log(qR+2)≤18M, 2+2πR≤8M16, Y1/20=M35 and logY=700logM≥700 give k(1+L)≤288M34/(700M35)≤1; and logY=700logM≤1400logL. Collecting terms, the sum is at most 1+4C1+C2+(2800e11+C1)logL≤(2800e11+1+5C1+C2)logL. □
As s→1+ the left side tends to ∫1∞S(χ;t)t−2dt by dominated convergence, since ∣S(χ;t)∣≤Ktσ0log(q+2) and σ0<1. The function L(s,χ) is entire and does not vanish at s=1 by Theorem 1.2, so the right side tends to −21LL′(1,χ). □
Proof of Theorem 1.3(i). Let χ be nonprincipal modulo q, so q≥3, and put
As q+2≤q2, loglog(q+2)≤log2+loglogq, and since loglogq≥loglog3>0 the right side is at most Cloglogq. □
For the lower bound in Theorem 1.3(ii) we need to control the prime powers n≤q17 with n≡1(modq). We count them in dyadic blocks with Selberg’s sieve.
Lemma 6.2. Let q be prime, let M≥1 be an integer and let 1<z<q. The number of m with M≤m<2M for which 1+mq is a prime power is at most
logz2M+z(1+logz)2+z.
Proof. If 1+mq=pk with p≤z, then pk∈(Mq,2Mq), and for each prime p at most one power of p lies in this interval, since pk+1≥2pk. These m number at most z. If p>z, then 1+mq has no prime factor up to z, and we apply Lemma 2.2 to the M integers am=1+mq, M≤m<2M, with P the product of the primes up to z, ν(d)=1/d and y=z. Every prime p≤z differs from q, so for d∣P the condition d∣1+mq fixes m in one residue class modulo d, and ∣Rd∣≤1. Here g(l)=∏p∣l(p−1)−1, which is the sum of 1/n over the n whose set of prime factors is that of l. Every n≤z has all its prime factors at most z and the product of its distinct prime factors is at most z, so
S=l∣Pl≤z∑g(l)≥n≤z∑n1≥2logz.
For squarefree d, 3ω(d)=τ3(d), and ∑d≤zτ3(d)=#{(a,b,c):abc≤z}≤z(∑a≤za1)2≤z(1+logz)2. Lemma 2.2 therefore bounds the number of these m by 2M/logz+z(1+logz)2.
Lemma 6.3. There is an absolute constant C0 such that for every prime q≥3,
1<n≤q17n≡1(modq)∑nΛ(n)≤C0qlogqloglogq.
Proof. Write n=1+mq with 1≤m<q16, and let J=⌊16log2q⌋+1, so that 2J>q16 and J≤25logq. We split the range of m into the blocks 2j≤m<2j+1, 0≤j<J (Figure 4), and let Nj be the number of m in the j-th block with 1+mq a prime power. We claim Nj≤393⋅2j/(j+1). For j<32 this holds trivially. For j≥32 apply Lemma 6.2 with M=2j and z=2u, u=j/32≥1. Since 2j<2J≤2q16, we have z<21/32q1/2<q. Then 2M/logz=64⋅2j/(jlog2)≤96⋅2j/(j+1), and since logz≤u,
Figure 4. The dyadic blocks in the proof of Lemma 6.3. The block 2j≤m<2j+1 contributes a constant part, of total size ≪J≪logq, and a part of size logq/(j+1), whose total is ≪logqlogJ. The second part produces the factor loglogq.
z(1+logz)2+z≤2u(2+u)2≤32u+1297⋅24u≤j+1297⋅2j,
because (2+u)2(32u+1)≤9u2⋅33u=297u3 and u3≤23u. This proves the claim.
A term of the j-th block has Λ(n)≤log(1+2j+1q)≤(j+2)log2+logq and n>2jq, so the block contributes at most
(j+1)q393((j+2)log2+logq)≤q393(2log2+j+1logq).
Summing over j<J and using ∑j<J1/(j+1)≤1+logJ, J≤25logq and logJ≤4+loglogq, the sum in the lemma is at most q393(35logq+5logq+logqloglogq). Since loglogq≥loglog3>1/11, this is at most C0logqloglogq/q with C0=393⋅441.
Proof of Theorem 1.3(ii). Let q≥3 be prime and put c(n)=∑χ=χ0χ(n), the sum over the nonprincipal characters modulo q. By orthogonality c(n)=(q−1)1[n≡1(modq)]−1[q∤n]. Put
which is at most 2C0logqloglogq by Lemma 6.3. Hence
I≤2C0logqloglogq+1−σ0K,
and both bounds follow since logq>1 and loglogq>1/11. □
Data availability
Deep Bhattacharjee computed the Lean formalisation and the Julia, C, C++, shell and Python computations with the help of AI assistance (Claude, Anthropic). The Lean formalisation of the proofs in this paper is archived at Zenodo, doi:10.5281/zenodo.23383716. The paper is available at https://github.com/creelie/Breakthrough-problems-3/blob/main/preprintPolyaVinogradovLogLog/PolyaVinogradovLogLog.pdf.
Competing interests
None.
Funding
None.
Formerly, Electro-Gravitational Space Propulsion Laboratory (EGSPL), Bhubaneswar, Odisha 751030, India
[1]Y. Ihara, V. K. Murty and M. Shimura, On the logarithmic derivatives of Dirichlet L-functions at s = 1, Acta Arith. 137 (2009), 253–276, doi:10.4064/aa137-3-6.DOI
[2]H. L. Montgomery and R. C. Vaughan, Exponential sums with multiplicative coefficients, Invent. Math. 43 (1977), 69–82, doi:10.1007/BF01390204.DOI
[3]OpenAI, The quasi-Riemann hypothesis: a zero-free half-plane Re s > 7/8, preprint, 30 September 2026, with a Lean 4 formalisation, https://github.com/openai/math.hub.valency.io/works/W_sj8ks5ag