Introduction
Let χ \chi χ be a primitive Dirichlet character modulo q ≥ 3 q \ge3 q ≥ 3 . The Pólya–Vinogradov inequality states that ∣ ∑ n ≤ x χ ( n ) ∣ ≪ q log q \left|\sum_{n\le x}\chi(n)\right| \ll\sqrt{q}\log q ∑ n ≤ x χ ( n ) ≪ q log q uniformly in x x x [3 Chapter 23] .1 Paley proved that the factor log q \log q log q cannot be replaced by anything smaller than log log q \log\log q log log q : for infinitely many primitive quadratic characters the maximum over x x x exceeds c q log log q c\sqrt{q}\log\log q c q log log q [12 ] . Montgomery and Vaughan [9 ] proved the upper bound q log log q \sqrt{q}\log\log q q log log q under the generalised Riemann hypothesis. Without hypothesis, Granville and Soundararajan lowered the exponent of log q q q for characters of fixed odd order [5 ] .2 We prove the bound of Montgomery and Vaughan for every primitive character.
Theorem 1.1. There is an absolute constant C C C such that for every primitive character χ \chi χ modulo q ≥ 3 q \ge3 q ≥ 3 and every x ≥ 1 x \ge1 x ≥ 1 ,
∣ ∑ n ≤ x χ ( n ) ∣ ≤ C q log log q . \left|\sum_{n \le x} \chi(n)\right| \le C\sqrt{q}\log\log q. n ≤ x ∑ χ ( n ) ≤ C q log log q .
By Paley’s theorem, Theorem 1.1 is optimal up to the value of C C C . The input that replaces the Riemann hypothesis is the following theorem.
Theorem 1.2 [11 ] . If χ \chi χ is a nonprincipal Dirichlet character, then L ( s , χ ) ≠ 0 L(s,\chi) \ne0 L ( s , χ ) = 0 for Re s > 7 / 8 \operatorname{Re}s > 7/8 Re s > 7/8 .
Theorem 1.2 is proved, and formalised in Lean 4, in [11 ] . 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 χ ψ \chi\psi χ ψ twisted by additive characters, where ψ \psi ψ runs over the characters of a small modulus r r 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 \sum_{m \le H} \chi(m)e(m\beta)/m ∑ 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 , χ ) L(s,\chi) L ( s , χ ) at s = 1 s = 1 s = 1 . For a number field K K K write ζ K ( s ) = c − 1 ( s − 1 ) − 1 + c 0 + O ( s − 1 ) \zeta_K(s) = c_{-1}(s - 1)^{-1} + c_0 + O(s - 1) ζ K ( s ) = c − 1 ( s − 1 ) − 1 + c 0 + O ( s − 1 ) near s = 1 s = 1 s = 1 ; the Euler–Kronecker constant of K K K is γ K = c 0 / c − 1 \gamma_K = c_0/c_{-1} γ K = c 0 / c − 1 . Let γ q \gamma_q γ q be the Euler–Kronecker constant of Q ( ζ q ) \mathbb{Q}(\zeta_q) Q ( ζ q ) . For a prime q q q the factorisation ζ Q ( ζ q ) ( s ) = ζ ( s ) ∏ χ ≠ χ 0 L ( s , χ ) \zeta_{\mathbb{Q}(\zeta_q)}(s) = \zeta(s)\prod_{\chi\ne\chi_0} L(s,\chi) ζ Q ( ζ q ) ( s ) = ζ ( s ) ∏ χ = χ 0 L ( s , χ ) , the product over the nonprincipal characters modulo q q q [13 Theorem 4.3] ,3 gives
γ q = γ + ∑ χ ≠ χ 0 L ′ L ( 1 , χ ) , (1) \gamma_q = \gamma+ \sum_{\chi\ne\chi_0} \frac{L'}{L}(1,\chi), \tag*{(1)} γ q = γ + χ = χ 0 ∑ L L ′ ( 1 , χ ) , (1)
where γ \gamma γ is Euler’s constant.
Theorem 1.3. There is an absolute constant C C C with the following properties.
(i) For every nonprincipal character χ \chi χ modulo q q q ,
∣ L ′ L ( 1 , χ ) ∣ ≤ C log log q . \left|\frac{L'}{L}(1,\chi)\right| \le C\log\log q. L L ′ ( 1 , χ ) ≤ C log log q .
(ii) For every prime q ≥ 3 q \ge3 q ≥ 3 , − C log q log log q ≤ γ q ≤ C log q -C\log q\log\log q \le\gamma_q \le C\log q − C log q log log q ≤ γ q ≤ C log q .
Under the generalised Riemann hypothesis the bound (i) is classical, Ihara proved γ q ≤ ( 2 + o ( 1 ) ) log q \gamma_q \le(2+o(1))\log q γ q ≤ ( 2 + o ( 1 )) log q and Badzyan proved a lower bound of the order of (ii) [7 ] and [1 ] . Ford, Luca and Moree proved the two bounds of (ii) without hypothesis for a set of primes q q q of density one [4 ] and [10 ] .4 For all primes the best unconditional bound we know is ∣ γ q ∣ ≪ ε q ε |\gamma_q| \ll_\varepsilon q^\varepsilon ∣ γ q ∣ ≪ ε q ε , due to Ihara, Murty and Shimura [8 ] . The upper bound in (ii) needs only Chebyshev’s bound. The lower bound needs an upper bound for the prime powers n ≤ q 17 n \le q^{17} n ≤ q 17 with n ≡ 1 ( m o d q ) n \equiv1 \pmod q n ≡ 1 ( mod q ) , which we obtain from Selberg’s sieve applied in dyadic blocks (Lemma 6.3 ).
Theorems 1.1 and 1.3 are not among the consequences of Theorem 1.2 drawn in [11 ] . The arguments work, with other constants, whenever L ( s , χ ) ≠ 0 L(s,\chi) \ne0 L ( s , χ ) = 0 on Re s > θ \operatorname{Re}s > \theta Re s > θ for all nonprincipal χ \chi χ and some fixed θ < 1 \theta< 1 θ < 1 . The paper is organised as follows. § 2 collects Chebyshev’s bounds and Selberg’s sieve. § 3 bounds Riesz means of χ Λ \chi\Lambda χ Λ by a contour shift. § 4 proves the bound for exponential sums with multiplicative coefficients, § 5 proves Theorem 1.1 and § 6 proves Theorem 1.3 .
Preliminaries
Throughout, p p p and ℓ \ell ℓ denote primes, Λ \Lambda Λ is the von Mangoldt function, θ ( x ) = ∑ p ≤ x log p \theta(x) = \sum_{p\le x}\log p θ ( x ) = ∑ p ≤ x log p , ψ ( x ) = ∑ n ≤ x Λ ( n ) \psi(x) = \sum_{n\le x}\Lambda(n) ψ ( x ) = ∑ n ≤ x Λ ( n ) , e ( x ) = e 2 π i x e(x) = e^{2\pi ix} e ( x ) = e 2 π i x , and ∥ x ∥ \lVert x\rVert ∥ x ∥ is the distance from x x x to the nearest integer. We write ω ( n ) \omega(n) ω ( n ) for the number of prime factors of n n n , τ 3 ( n ) \tau_3(n) τ 3 ( n ) for the number of ordered factorisations n = a b c n=abc n = ab c , and P ( n ) P(n) P ( n ) for the largest prime factor of n ≥ 2 n \ge2 n ≥ 2 , with P ( 1 ) = 1 P(1)=1 P ( 1 ) = 1 .
Lemma 2.1. For x ≥ 1 x \ge1 x ≥ 1 and integers N ≥ 2 N \ge2 N ≥ 2 ,
(i) θ ( x ) ≤ x log 4 \theta(x) \le x\log4 θ ( x ) ≤ x log 4 ;
(ii) ψ ( x ) − θ ( x ) ≤ 2 x log x \psi(x)-\theta(x) \le2\sqrt{x}\log x ψ ( x ) − θ ( x ) ≤ 2 x log x and ψ ( x ) ≤ 4 x \psi(x) \le4x ψ ( x ) ≤ 4 x ;
(iii) ∑ p ≤ N log p p ≤ log N + log 4 \sum_{p\le N}\frac{\log p}{p} \le\log N+\log4 ∑ p ≤ N p l o g p ≤ log N + log 4 ;
(iv) ∑ p ≤ N 1 p ≤ log log N + 10 \sum_{p\le N}\frac{1}{p} \le\log\log N+10 ∑ p ≤ N p 1 ≤ log log N + 10 .
Proof. (i) It suffices to treat integers m ≥ 1 m \ge1 m ≥ 1 , and we use induction on m m m . The cases m = 1 , 2 m=1,2 m = 1 , 2 are clear, and for even m > 2 m>2 m > 2 we have θ ( m ) = θ ( m − 1 ) \theta(m)=\theta(m-1) θ ( m ) = θ ( m − 1 ) . Let m = 2 n + 1 m=2n+1 m = 2 n + 1 . The primes in ( n + 1 , 2 n + 1 ] (n+1,2n+1] ( n + 1 , 2 n + 1 ] divide ( 2 n + 1 n ) \binom{2n+1}{n} ( n 2 n + 1 ) , and 2 2 n + 1 ≤ 2 2 n + 1 2^{2n+1} \le2^{2n+1} 2 2 n + 1 ≤ 2 2 n + 1 because ( 2 n + 1 n ) \binom{2n+1}{n} ( n 2 n + 1 ) and ( 2 n + 1 n + 1 ) \binom{2n+1}{n+1} ( n + 1 2 n + 1 ) are equal terms of the binomial expansion of ( 1 + 1 ) 2 n + 1 (1+1)^{2n+1} ( 1 + 1 ) 2 n + 1 . Hence θ ( 2 n + 1 ) ≤ θ ( n + 1 ) + n log 4 ≤ ( 2 n + 1 ) log 4 \theta(2n+1)\le\theta(n+1)+n\log4\le(2n+1)\log4 θ ( 2 n + 1 ) ≤ θ ( n + 1 ) + n log 4 ≤ ( 2 n + 1 ) log 4 .
(ii) We have ψ ( x ) − θ ( x ) = ∑ k ≥ 2 θ ( x 1 / k ) \psi(x)-\theta(x)=\sum_{k\ge2}\theta(x^{1/k}) ψ ( x ) − θ ( x ) = ∑ k ≥ 2 θ ( x 1/ k ) , where only k ≤ log x / log 2 k\le\log x/\log2 k ≤ log x / log 2 contribute. Each term is at most x log 4 \sqrt{x}\log4 x log 4 by (i), so the sum is at most ( log x / log 2 ) x log 4 = 2 x log x (\log x/\log2)\sqrt{x}\log4=2\sqrt{x}\log x ( log x / log 2 ) x log 4 = 2 x log x . Since log x ≤ x \log x\le\sqrt{x} log x ≤ x , ψ ( x ) ≤ ( log 4 + 2 ) x ≤ 4 x \psi(x)\le(\log4+2)x\le4x ψ ( x ) ≤ ( log 4 + 2 ) x ≤ 4 x .
(iii) By Legendre’s formula and (i),
N log N ≥ log N ! ≥ ∑ p ≤ N ⌊ N p ⌋ log p ≥ N ∑ p ≤ N log p p − N log 4. N\log N\ge\log N!\ge\sum_{p\le N}\left\lfloor\frac{N}{p}\right\rfloor\log p\ge N\sum_{p\le N}\frac{\log p}{p}-N\log4. N log N ≥ log N ! ≥ p ≤ N ∑ ⌊ p N ⌋ log p ≥ N p ≤ N ∑ p log p − N log 4.
(iv) Let A ( u ) = ∑ p ≤ u log p p A(u)=\sum_{p\le u}\frac{\log p}{p} A ( u ) = ∑ p ≤ u p l o g p . Partial summation and (iii) give
∑ p ≤ N 1 p = A ( N ) log N + ∫ 2 N A ( u ) u log 2 u d u ≤ 1 + log 4 log 2 + ∫ 2 N ( 1 u log u + log 4 u log 2 u ) d u , \sum_{p\le N}\frac{1}{p}=\frac{A(N)}{\log N}+\int_{2}^{N}\frac{A(u)}{u\log^2u}\,du\le1+\frac{\log4}{\log2}+\int_{2}^{N}\left(\frac{1}{u\log u}+\frac{\log4}{u\log^2u}\right)\,du, p ≤ N ∑ p 1 = log N A ( N ) + ∫ 2 N u log 2 u A ( u ) d u ≤ 1 + log 2 log 4 + ∫ 2 N ( u log u 1 + u log 2 u log 4 ) d u ,
and the integral is at most log log N − log log 2 + 2 \log\log N-\log\log2+2 log log N − log log 2 + 2 . □
We use Selberg’s upper bound sieve in the following form; for the method see [6 Chapter 3] , and we give the proof of the form we need.5
Lemma 2.2. Let a 1 , … , a X a_1,\ldots,a_X a 1 , … , a X be integers, P P P a squarefree integer, ν \nu ν a multiplicative function with 0 < ν ( p ) < 1 0<\nu(p)<1 0 < ν ( p ) < 1 for p ∣ P p\mid P p ∣ P , and y ≥ 1 y\ge1 y ≥ 1 . For d ∣ P d\mid P d ∣ P put R d = # { n ≤ X : d ∣ a n } − ν ( d ) X R_d=\#\{n\le X:d\mid a_n\}-\nu(d)X R d = # { n ≤ X : d ∣ a n } − ν ( d ) X , and for l ∣ P l\mid P l ∣ P put g ( l ) = ∏ p ∣ l ν ( p ) / ( 1 − ν ( p ) ) g(l)=\prod_{p\mid l}\nu(p)/(1-\nu(p)) g ( l ) = ∏ p ∣ l ν ( p ) / ( 1 − ν ( p )) . Then
# { n ≤ X : ( a n , P ) = 1 } ≤ X S + ∑ d ∣ P d ≤ y 3 ω ( d ) ∣ R d ∣ , S = ∑ l ∣ P l ≤ y g ( l ) . \#\{n\le X:(a_n,P)=1\}\le\frac{X}{S}+\sum_{\substack{d\mid P\\d\le y}}3^{\omega(d)}\lvert R_d\rvert,\qquad S=\sum_{\substack{l\mid P\\l\le\sqrt{y}}}g(l). # { n ≤ X : ( a n , P ) = 1 } ≤ S X + d ∣ P d ≤ y ∑ 3 ω ( d ) ∣ R d ∣ , S = l ∣ P l ≤ y ∑ g ( l ) . Proof. Let D D D be the set of divisors d d d of P P P with d ≤ y d\le\sqrt{y} d ≤ y , and let ( λ d ) d ∈ D (\lambda_d)_{d\in D} ( λ d ) d ∈ D be real numbers with λ 1 = 1 \lambda_1=1 λ 1 = 1 . If ( a n , P ) = 1 (a_n,P)=1 ( a n , P ) = 1 then ∑ d ∈ D d ∣ a n λ d = 1 \sum_{\substack{d\in D\\d\mid a_n}}\lambda_d=1 ∑ d ∈ D d ∣ a n λ d = 1 , and otherwise this sum is real, so
# { n : ( a n , P ) = 1 } ≤ ∑ n ≤ X ( ∑ d ∈ D d ∣ a n λ d ) 2 \#\{n:(a_n,P)=1\}\le\sum_{n\le X}\left(\sum_{\substack{d\in D\\d\mid a_n}}\lambda_d\right)^2 # { n : ( a n , P ) = 1 } ≤ n ≤ X ∑ d ∈ D d ∣ a n ∑ λ d 2 = X ∑ d 1 , d 2 ∈ D λ d 1 λ d 2 ν ( [ d 1 , d 2 ] ) + ∑ d 1 , d 2 ∈ D λ d 1 λ d 2 R [ d 1 , d 2 ] . =X\sum_{d_1,d_2\in D}\lambda_{d_1}\lambda_{d_2}\nu([d_1,d_2])+\sum_{d_1,d_2\in D}\lambda_{d_1}\lambda_{d_2}R_{[d_1,d_2]}. = X d 1 , d 2 ∈ D ∑ λ d 1 λ d 2 ν ([ d 1 , d 2 ]) + d 1 , d 2 ∈ D ∑ λ d 1 λ d 2 R [ d 1 , d 2 ] . Write Q Q Q for the double sum in the first term. Since ν \nu ν is multiplicative and d 1 , d 2 d_1,d_2 d 1 , d 2 are squarefree, ν ( [ d 1 , d 2 ] ) = ν ( d 1 ) ν ( d 2 ) / ν ( ( d 1 , d 2 ) ) \nu([d_1,d_2])=\nu(d_1)\nu(d_2)/\nu((d_1,d_2)) ν ([ d 1 , d 2 ]) = ν ( d 1 ) ν ( d 2 ) / ν (( d 1 , d 2 )) . Let h h h be the multiplicative function on the divisors of P P P with h ( p ) = 1 / ν ( p ) − 1 = 1 / g ( p ) h(p)=1/\nu(p)-1=1/g(p) h ( p ) = 1/ ν ( p ) − 1 = 1/ g ( p ) ; then 1 / ν ( m ) = ∑ l ∣ m h ( l ) 1/\nu(m)=\sum_{l\mid m}h(l) 1/ ν ( m ) = ∑ l ∣ m h ( l ) for m ∣ P m\mid P m ∣ P , and
Q = ∑ l ∣ P h ( l ) ( ∑ d ∈ D l ∣ d λ d ν ( d ) ) 2 = ∑ l ∈ D y l 2 g ( l ) , y l = ∑ d ∈ D l ∣ d λ d ν ( d ) . Q=\sum_{\substack{l\mid P}}\!h(l)\left(\sum_{\substack{d\in D\\l\mid d}}\lambda_d\nu(d)\right)^2
=\sum_{\substack{l\in D}}\frac{y_l^2}{g(l)},\qquad y_l=\sum_{\substack{d\in D\\l\mid d}}\lambda_d\nu(d). Q = l ∣ P ∑ h ( l ) d ∈ D l ∣ d ∑ λ d ν ( d ) 2 = l ∈ D ∑ g ( l ) y l 2 , y l = d ∈ D l ∣ d ∑ λ d ν ( d ) . Möbius inversion gives λ d ν ( d ) = ∑ l ∈ D d ∣ l μ ( l / d ) y l \lambda_d\nu(d)=\sum_{\substack{l\in D\\d\mid l}}\mu(l/d)y_l λ d ν ( d ) = ∑ l ∈ D d ∣ l μ ( l / d ) y l , so the condition λ 1 = 1 \lambda_1=1 λ 1 = 1 reads ∑ l ∈ D μ ( l ) y l = 1 \sum_{l\in D}\mu(l)y_l=1 ∑ l ∈ D μ ( l ) y l = 1 . By Cauchy’s inequality
1 ≤ ( ∑ l ∈ D y l 2 g ( l ) ) ( ∑ l ∈ D g ( l ) ) = Q S , 1\le\left(\sum_{l\in D}\frac{y_l^2}{g(l)}\right)\left(\sum_{l\in D}g(l)\right)=QS, 1 ≤ ( l ∈ D ∑ g ( l ) y l 2 ) ( l ∈ D ∑ g ( l ) ) = QS , with equality for y l = μ ( l ) g ( l ) / S y_l=\mu(l)g(l)/S y l = μ ( l ) g ( l ) / S . We make this choice, so that Q = 1 / S Q=1/S Q = 1/ S . Then, writing l = d e l=de l = d e ,
λ d = 1 ν ( d ) S ∑ l ∈ D d ∣ l μ ( l / d ) μ ( l ) g ( l ) = μ ( d ) g ( d ) ν ( d ) S ∑ e ∈ D , ( e , d ) = 1 d e ≤ y g ( e ) . \lambda_d=\frac{1}{\nu(d)S}\sum_{\substack{l\in D\\d\mid l}}\mu(l/d)\mu(l)g(l)
=\frac{\mu(d)g(d)}{\nu(d)S}\sum_{\substack{e\in D,\ (e,d)=1\\de\le\sqrt{y}}}g(e). λ d = ν ( d ) S 1 l ∈ D d ∣ l ∑ μ ( l / d ) μ ( l ) g ( l ) = ν ( d ) S μ ( d ) g ( d ) e ∈ D , ( e , d ) = 1 d e ≤ y ∑ g ( e ) .
Since g ( d ) ν ( d ) = ∏ p ∣ d ( 1 − ν ( p ) ) − 1 = ∏ p ∣ d ( 1 + g ( p ) ) = ∑ f ∣ d g ( f ) \dfrac{g(d)}{\nu(d)}=\prod_{p\mid d}(1-\nu(p))^{-1}=\prod_{p\mid d}(1+g(p))=\sum_{f\mid d}g(f) ν ( d ) g ( d ) = ∏ p ∣ d ( 1 − ν ( p ) ) − 1 = ∏ p ∣ d ( 1 + g ( p )) = ∑ f ∣ d g ( f ) , we get ∣ λ d ∣ ≤ S − 1 ∑ f ∣ d ∑ e g ( f e ) |\lambda_d|\le S^{-1}\sum_{f\mid d}\sum_e g(fe) ∣ λ d ∣ ≤ S − 1 ∑ f ∣ d ∑ e g ( f e ) , and the products f e fe f e are distinct elements of D D D ; hence ∣ λ d ∣ ≤ 1 |\lambda_d|\le1 ∣ λ d ∣ ≤ 1 . Finally [ d 1 , d 2 ] ≤ d 1 d 2 ≤ y [d_1,d_2]\le d_1d_2\le y [ d 1 , d 2 ] ≤ d 1 d 2 ≤ y , and every d ∣ P d\mid P d ∣ P is the least common multiple of at most 3 ω ( d ) 3^{\omega(d)} 3 ω ( d ) pairs ( d 1 , d 2 ) (d_1,d_2) ( d 1 , d 2 ) , so the second term is at most ∑ d ∣ P , d ≤ y 3 ω ( d ) ∣ R d ∣ \sum_{d\mid P,\ d\le y}3^{\omega(d)}|R_d| ∑ d ∣ P , d ≤ y 3 ω ( d ) ∣ R d ∣ . □
Riesz means of prime sums
For an arithmetic function a a a and x ≥ 1 x\ge1 x ≥ 1 put
S ( a ; x ) = ∑ n ≤ x a ( n ) ( 1 − n x ) , S ( χ ; x ) = S ( χ Λ ; x ) = ∑ n ≤ x χ ( n ) Λ ( n ) ( 1 − n x ) . S(a;x)=\sum_{n\le x}a(n)\left(1-\frac{n}{x}\right),\qquad S(\chi;x)=S(\chi\Lambda;x)=\sum_{n\le x}\chi(n)\Lambda(n)\left(1-\frac{n}{x}\right). S ( a ; x ) = n ≤ x ∑ a ( n ) ( 1 − x n ) , S ( χ ; x ) = S ( χ Λ ; x ) = n ≤ x ∑ χ ( n ) Λ ( n ) ( 1 − x n ) .
The weight 1 − n / x 1-n/x 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 a:\mathbb{N}\to\mathbb{C} a : N → C satisfy ∑ n ∣ a ( n ) ∣ n − σ < ∞ \sum_n|a(n)|n^{-\sigma}<\infty ∑ n ∣ a ( n ) ∣ n − σ < ∞ for σ > 1 \sigma>1 σ > 1 , and let F ( s ) = ∑ n a ( n ) n − s F(s)=\sum_n a(n)n^{-s} F ( s ) = ∑ n a ( n ) n − s for Re s > 1 \operatorname{Re}s>1 Re s > 1 .
(i) For Re s > 1 \operatorname{Re}s>1 Re s > 1 ,
∫ 1 ∞ S ( a ; x ) x − s − 1 d x = F ( s ) s ( s + 1 ) . \int_1^\infty S(a;x)x^{-s-1}\,dx=\frac{F(s)}{s(s+1)}. ∫ 1 ∞ S ( a ; x ) x − s − 1 d x = s ( s + 1 ) F ( s ) . (ii) For x > 0 x>0 x > 0 ,
S ( a ; x ) = 1 2 π ∫ − ∞ ∞ F ( 2 + i t ) x 2 + i t ( 2 + i t ) ( 3 + i t ) d t . S(a;x)=\frac{1}{2\pi}\int_{-\infty}^{\infty}F(2+it)\frac{x^{2+it}}{(2+it)(3+it)}\,dt. S ( a ; x ) = 2 π 1 ∫ − ∞ ∞ F ( 2 + i t ) ( 2 + i t ) ( 3 + i t ) x 2 + i t d t .
In other words the following square commutes, and (ii) inverts its right column on the line Re s = 2 \operatorname{Re}s=2 Re s = 2 :
a → Riesz mean S ( a ; ⋅ ) ↓ Dirichlet series ↓ Mellin transform F → × 1 s ( s + 1 ) F ( s ) s ( s + 1 ) \begin{aligned}
a&\xrightarrow{\ \text{Riesz mean}\ }S(a;\cdot)\\
\Big\downarrow{\scriptstyle\text{Dirichlet series}}&&\Big\downarrow{\scriptstyle\text{Mellin transform}}\\
F&\xrightarrow{\ \times\frac{1}{s(s+1)}\ }\frac{F(s)}{s(s+1)}
\end{aligned} a ↓ ⏐ Dirichlet series F Riesz mean S ( a ; ⋅ ) × s ( s + 1 ) 1 s ( s + 1 ) F ( s ) ↓ ⏐ Mellin transform
Proof. (i) For n ≥ 1 n\ge1 n ≥ 1 , ∫ n ∞ ( 1 − n / x ) x − s − 1 d x = n − s / s − n − s / ( s + 1 ) = n − s / ( s ( s + 1 ) ) \int_n^\infty(1-n/x)x^{-s-1}\,dx=n^{-s}/s-n^{-s}/(s+1)=n^{-s}/(s(s+1)) ∫ n ∞ ( 1 − n / x ) x − s − 1 d x = n − s / s − n − s / ( s + 1 ) = n − s / ( s ( s + 1 )) . Since ∑ n ∣ a ( n ) ∣ ∫ n ∞ x − σ − 1 d x = σ − 1 ∑ n ∣ a ( n ) ∣ n − σ < ∞ \sum_n|a(n)|\int_n^\infty x^{-\sigma-1}\,dx=\sigma^{-1}\sum_n|a(n)|n^{-\sigma}<\infty ∑ n ∣ a ( n ) ∣ ∫ n ∞ x − σ − 1 d x = σ − 1 ∑ n ∣ a ( n ) ∣ n − σ < ∞ , the sum and the integral may be exchanged.
(ii) For y > 0 y>0 y > 0 let k ( y ) = 1 2 π i ∫ ( 2 ) y s d s s ( s + 1 ) k(y)=\dfrac{1}{2\pi i}\int_{(2)}y^s\dfrac{ds}{s(s+1)} k ( y ) = 2 π i 1 ∫ ( 2 ) y s s ( s + 1 ) d s . If y ≥ 1 y\ge1 y ≥ 1 , moving the line of integration to Re s = − U \operatorname{Re}s=-U Re s = − U and letting U → ∞ U\to\infty U → ∞ picks up the residues 1 1 1 at s = 0 s=0 s = 0 and − 1 / y -1/y − 1/ y at s = − 1 s=-1 s = − 1 , so k ( y ) = 1 − 1 / y k(y)=1-1/y k ( y ) = 1 − 1/ y ; if y < 1 y<1 y < 1 , moving it to the right gives k ( y ) = 0 k(y)=0 k ( y ) = 0 . As ∣ s ( s + 1 ) ∣ − 1 |s(s+1)|^{-1} ∣ s ( s + 1 ) ∣ − 1 is integrable on Re s = 2 \operatorname{Re}s=2 Re s = 2 and ∑ n ∣ a ( n ) ∣ n − 2 < ∞ \sum_n|a(n)|n^{-2}<\infty ∑ n ∣ a ( n ) ∣ n − 2 < ∞ , summation and integration may be exchanged, and the right side equals ∑ n a ( n ) k ( x / n ) = S ( a ; x ) \sum_n a(n)k(x/n)=S(a;x) ∑ n a ( n ) k ( x / n ) = S ( a ; x ) . □
Lemma 3.2. Let χ \chi χ be nonprincipal modulo q q q . For Re s = σ > 0 \operatorname{Re}s=\sigma>0 Re s = σ > 0 , ∣ L ( s , χ ) ∣ ≤ q ∣ s ∣ / σ |L(s,\chi)|\le q|s|/\sigma ∣ L ( s , χ ) ∣ ≤ q ∣ s ∣/ σ .
Proof. Put A ( t ) = ∑ n ≤ t χ ( n ) A(t)=\sum_{n\le t}\chi(n) A ( t ) = ∑ n ≤ t χ ( n ) ; then ∣ A ( t ) ∣ ≤ q |A(t)|\le q ∣ A ( t ) ∣ ≤ q , and partial summation gives L ( s , χ ) = s ∫ 1 ∞ A ( t ) t − s − 1 d t L(s,\chi)=s\int_1^\infty A(t)t^{-s-1}\,dt L ( s , χ ) = s ∫ 1 ∞ A ( t ) t − s − 1 d t for σ > 0 \sigma>0 σ > 0 . Hence ∣ L ( s , χ ) ∣ ≤ q ∣ s ∣ ∫ 1 ∞ t − σ − 1 d t = q ∣ s ∣ / σ |L(s,\chi)|\le q|s|\int_1^\infty t^{-\sigma-1}\,dt=q|s|/\sigma ∣ L ( s , χ ) ∣ ≤ q ∣ s ∣ ∫ 1 ∞ t − σ − 1 d t = q ∣ s ∣/ σ . □
Lemma 3.3. Let A 0 = 3 2 ∑ ℓ ℓ − 3 / 2 A_0=\frac{3}{2}\sum_{\ell}\ell^{-3/2} A 0 = 2 3 ∑ ℓ ℓ − 3/2 . For every Dirichlet character χ \chi χ the series E ( s ) = − ∑ ℓ log ( 1 − χ ( ℓ ) ℓ − s ) E(s)=-\sum_{\ell}\log(1-\chi(\ell)\ell^{-s}) E ( s ) = − ∑ ℓ log ( 1 − χ ( ℓ ) ℓ − s ) is holomorphic on Re s > 1 \operatorname{Re}s>1 Re s > 1 , e E ( s ) = L ( s , χ ) e^{E(s)}=L(s,\chi) e E ( s ) = L ( s , χ ) there, and ∣ E ( s ) ∣ ≤ A 0 |E(s)|\le A_0 ∣ E ( s ) ∣ ≤ A 0 for Re s ≥ 3 / 2 \operatorname{Re}s\ge3/2 Re s ≥ 3/2 .
Proof. For Re s ≥ 1 \operatorname{Re}s\ge1 Re s ≥ 1 we have ∣ χ ( ℓ ) ℓ − s ∣ ≤ 1 / 2 |\chi(\ell)\ell^{-s}|\le1/2 ∣ χ ( ℓ ) ℓ − s ∣ ≤ 1/2 , and ∣ log ( 1 − w ) ∣ ≤ ∑ k ∣ w ∣ k / k ≤ 3 2 ∣ w ∣ |\log(1-w)|\le\sum_k |w|^k/k\le\frac{3}{2}|w| ∣ log ( 1 − w ) ∣ ≤ ∑ k ∣ w ∣ k / k ≤ 2 3 ∣ w ∣ for ∣ w ∣ ≤ 1 / 2 |w|\le1/2 ∣ w ∣ ≤ 1/2 . The series therefore converges locally uniformly on Re s > 1 \operatorname{Re}s>1 Re s > 1 and is bounded by A 0 A_0 A 0 on Re s ≥ 3 / 2 \operatorname{Re}s\ge3/2 Re s ≥ 3/2 , and the Euler product gives e E = L e^E=L e E = L . □
Lemma 3.4 (Borel–Carathéodory). Let h h h be holomorphic on a neighbourhood of the disc ∣ z − c ∣ ≤ R |z-c|\le R ∣ z − c ∣ ≤ R and let 0 < r < R 0<r<R 0 < r < R . Then
max ∣ z − c ∣ ≤ r ∣ h ( z ) − h ( c ) ∣ ≤ 2 r R − r max ∣ w − c ∣ = R Re ( h ( w ) − h ( c ) ) . \max_{|z-c|\le r}|h(z)-h(c)|\le\frac{2r}{R-r}\max_{|w-c|=R}\operatorname{Re}(h(w)-h(c)). ∣ z − c ∣ ≤ r max ∣ h ( z ) − h ( c ) ∣ ≤ R − r 2 r ∣ w − c ∣ = R max Re ( h ( w ) − h ( c )) .
Proof. Put g ( z ) = h ( c + z ) − h ( c ) g(z)=h(c+z)-h(c) g ( z ) = h ( c + z ) − h ( c ) and A = max ∣ w ∣ = R Re g ( w ) A=\max_{|w|=R}\operatorname{Re}g(w) A = max ∣ w ∣ = R Re g ( w ) . The mean of Re g \operatorname{Re}g Re g over the circle ∣ w ∣ = R |w|=R ∣ w ∣ = R is Re g ( 0 ) = 0 \operatorname{Re}g(0)=0 Re g ( 0 ) = 0 , so A ≥ 0 A\ge0 A ≥ 0 . If A = 0 A=0 A = 0 , then Re g \operatorname{Re}g Re g vanishes on the circle, hence on the disc, and g g g is an imaginary constant equal to g ( 0 ) = 0 g(0)=0 g ( 0 ) = 0 . Let A > 0 A>0 A > 0 . By the maximum principle Re g ≤ A \operatorname{Re}g\le A Re g ≤ A on ∣ z ∣ ≤ R |z|\le R ∣ z ∣ ≤ R , so ∣ 2 A − g ∣ ≥ A |2A-g|\ge A ∣2 A − g ∣ ≥ A there and ϕ = g / ( 2 A − g ) \phi=g/(2A-g) ϕ = g / ( 2 A − g ) is holomorphic. Since ∣ g ∣ 2 − ∣ 2 A − g ∣ 2 = 4 A ( Re g − A ) ≤ 0 |g|^2-|2A-g|^2=4A(\operatorname{Re}g-A)\le0 ∣ g ∣ 2 − ∣2 A − g ∣ 2 = 4 A ( Re g − A ) ≤ 0 , we have ∣ ϕ ∣ ≤ 1 |\phi|\le1 ∣ ϕ ∣ ≤ 1 , and ϕ ( 0 ) = 0 \phi(0)=0 ϕ ( 0 ) = 0 . Schwarz’s lemma gives ∣ ϕ ( z ) ∣ ≤ ∣ z ∣ / R |\phi(z)|\le|z|/R ∣ ϕ ( z ) ∣ ≤ ∣ z ∣/ R , and from g = 2 A ϕ / ( 1 + ϕ ) g=2A\phi/(1+\phi) g = 2 A ϕ / ( 1 + ϕ ) we get ∣ g ( z ) ∣ ≤ 2 A ∣ z ∣ / ( R − ∣ z ∣ ) |g(z)|\le2A|z|/(R-|z|) ∣ g ( z ) ∣ ≤ 2 A ∣ z ∣/ ( R − ∣ z ∣ ) . □
Lemma 3.5. Let 0 < δ < 1 / 1000 0<\delta<1/1000 0 < δ < 1/1000 , 1 / 2 ≤ a ≤ 1 1/2\le a\le1 1/2 ≤ a ≤ 1 , and let χ \chi χ be nonprincipal modulo q q q with L ( s , χ ) ≠ 0 L(s,\chi)\ne0 L ( s , χ ) = 0 for Re s > a + 2 δ \operatorname{Re}s>a+2\delta Re s > a + 2 δ . Put K 1 = ( 1 + 2 A 0 ) / ( 2 δ 2 ) K_1=(1+2A_0)/(2\delta^2) K 1 = ( 1 + 2 A 0 ) / ( 2 δ 2 ) . For a + 8 δ ≤ σ ≤ 2 a+8\delta\le\sigma\le2 a + 8 δ ≤ σ ≤ 2 and t ∈ R t\in\mathbb{R} t ∈ R ,
∣ L ′ L ( σ + i t , χ ) ∣ ≤ K 1 log ( 2 q ( 3 + ∣ t ∣ ) 2 ) . \left|\frac{L'}{L}(\sigma+it,\chi)\right|\le K_1\log\left(2q(3+|t|)^2\right). L L ′ ( σ + i t , χ ) ≤ K 1 log ( 2 q ( 3 + ∣ t ∣ ) 2 ) .
Proof. Let c = 2 + i t c=2+it c = 2 + i t , R = 2 − a − 3 δ R=2-a-3\delta R = 2 − a − 3 δ , r = 2 − a − 6 δ r=2-a-6\delta r = 2 − a − 6 δ and Λ 0 = log ( 2 q ( 3 + ∣ t ∣ ) 2 ) ≥ log 18 > 1 \Lambda_0=\log(2q(3+|t|)^2)\ge\log18>1 Λ 0 = log ( 2 q ( 3 + ∣ t ∣ ) 2 ) ≥ log 18 > 1 . On the disc ∣ z − c ∣ < 2 − a − 2 δ |z-c|<2-a-2\delta ∣ z − c ∣ < 2 − a − 2 δ we have Re z > a + 2 δ \operatorname{Re}z>a+2\delta Re z > a + 2 δ , so L ( z , χ ) L(z,\chi) L ( z , χ ) has no zero there and has a holomorphic logarithm h h h . On ∣ z − c ∣ < 1 / 2 |z-c|<1/2 ∣ z − c ∣ < 1/2 both h h h and the function E E E of Lemma 3.3 are logarithms of L L L , so they differ by a constant in 2 π i Z 2\pi i\mathbb{Z} 2 π i Z ; we choose h = E h=E h = E there. Then ∣ h ( c ) ∣ ≤ A 0 |h(c)|\le A_0 ∣ h ( c ) ∣ ≤ A 0 .
If ∣ z − c ∣ ≤ R |z-c|\le R ∣ z − c ∣ ≤ R , then Re z ≥ a + 3 δ ≥ 1 / 2 \operatorname{Re}z\ge a+3\delta\ge1/2 Re z ≥ a + 3 δ ≥ 1/2 and ∣ z ∣ ≤ ∣ c ∣ + 3 / 2 ≤ 4 + ∣ t ∣ |z|\le|c|+3/2\le4+|t| ∣ z ∣ ≤ ∣ c ∣ + 3/2 ≤ 4 + ∣ t ∣ , so Lemma 3.2 gives Re h ( z ) = log ∣ L ( z , χ ) ∣ ≤ log ( 2 q ( 4 + ∣ t ∣ ) ) ≤ Λ 0 \operatorname{Re}h(z)=\log|L(z,\chi)|\le\log(2q(4+|t|))\le\Lambda_0 Re h ( z ) = log ∣ L ( z , χ ) ∣ ≤ log ( 2 q ( 4 + ∣ t ∣ )) ≤ Λ 0 . Lemma 3.4 gives, for ∣ z − c ∣ ≤ r |z-c|\le r ∣ z − c ∣ ≤ r ,
∣ h ( z ) − h ( c ) ∣ ≤ 2 r R − r ( Λ 0 + A 0 ) ≤ Λ 0 + A 0 δ , |h(z)-h(c)|\le\frac{2r}{R-r}(\Lambda_0+A_0)\le\frac{\Lambda_0+A_0}{\delta}, ∣ h ( z ) − h ( c ) ∣ ≤ R − r 2 r ( Λ 0 + A 0 ) ≤ δ Λ 0 + A 0 ,
as r ≤ 3 / 2 r \le3/2 r ≤ 3/2 and R − r = 3 δ R-r=3\delta R − r = 3 δ . Hence ∣ h ( z ) ∣ ≤ A 0 + ( Λ 0 + A 0 ) / δ ≤ ( 1 + 2 A 0 ) Λ 0 / δ |h(z)| \le A_0+(\Lambda_0+A_0)/\delta\le(1+2A_0)\Lambda_0/\delta ∣ h ( z ) ∣ ≤ A 0 + ( Λ 0 + A 0 ) / δ ≤ ( 1 + 2 A 0 ) Λ 0 / δ on ∣ z − c ∣ ≤ r |z-c| \le r ∣ z − c ∣ ≤ r . For w = σ + i t w=\sigma+it w = σ + i t with a + 8 δ ≤ σ ≤ 2 a+8\delta\le\sigma\le2 a + 8 δ ≤ σ ≤ 2 we have ∣ w − c ∣ = 2 − σ ≤ r − 2 δ |w-c|=2-\sigma\le r-2\delta ∣ w − c ∣ = 2 − σ ≤ r − 2 δ , so the circle ∣ z − w ∣ = 2 δ |z-w|=2\delta ∣ z − w ∣ = 2 δ lies in ∣ z − c ∣ ≤ r |z-c| \le r ∣ z − c ∣ ≤ r , and Cauchy’s estimate gives ∣ L ′ / L ( w , χ ) ∣ = ∣ h ′ ( w ) ∣ ≤ ( 1 + 2 A 0 ) Λ 0 / ( 2 δ 2 ) |L'/L(w,\chi)|=|h'(w)| \le(1+2A_0)\Lambda_0/(2\delta^2) ∣ L ′ / L ( w , χ ) ∣ = ∣ h ′ ( w ) ∣ ≤ ( 1 + 2 A 0 ) Λ 0 / ( 2 δ 2 ) .
Lemma 3.6. For q ≥ 1 q \ge1 q ≥ 1 , t ∈ R t \in\mathbb{R} t ∈ R and s = σ + i t s=\sigma+it s = σ + i t with σ ≥ 1 / 2 \sigma\ge1/2 σ ≥ 1/2 ,
log 2 ( 2 q ( 3 + ∣ t ∣ ) ) ≤ 10 log ( q + 2 ) ( 1 + ∣ t ∣ ) 1 / 2 , ∣ s ( s + 1 ) ∣ ≥ 1 8 ( 1 + ∣ t ∣ ) 2 . \log^2(2q(3+|t|)) \le10\log(q+2)(1+|t|)^{1/2}, \qquad|s(s+1)| \ge\frac{1}{8}(1+|t|)^2. log 2 ( 2 q ( 3 + ∣ t ∣ )) ≤ 10 log ( q + 2 ) ( 1 + ∣ t ∣ ) 1/2 , ∣ s ( s + 1 ) ∣ ≥ 8 1 ( 1 + ∣ t ∣ ) 2 . Proof. We have log ( 2 q ) ≤ 2 log ( q + 2 ) \log(2q) \le2\log(q+2) log ( 2 q ) ≤ 2 log ( q + 2 ) , and log y ≤ 2 y 1 / 2 \log y \le2y^{1/2} log y ≤ 2 y 1/2 with 3 + ∣ t ∣ ≤ 4 ( 1 + ∣ t ∣ ) 3+|t| \le4(1+|t|) 3 + ∣ t ∣ ≤ 4 ( 1 + ∣ t ∣ ) gives log ( 3 + ∣ t ∣ ) ≤ 4 ( 1 + ∣ t ∣ ) 1 / 2 \log(3+|t|) \le4(1+|t|)^{1/2} log ( 3 + ∣ t ∣ ) ≤ 4 ( 1 + ∣ t ∣ ) 1/2 ; the first bound follows from log ( q + 2 ) ≥ 1 \log(q+2) \ge1 log ( q + 2 ) ≥ 1 . For the second, ∣ s ∣ ≥ max ( σ , ∣ t ∣ ) ≥ ( 1 + ∣ t ∣ ) / 4 |s| \ge\max(\sigma,|t|) \ge(1+|t|)/4 ∣ s ∣ ≥ max ( σ , ∣ t ∣ ) ≥ ( 1 + ∣ t ∣ ) /4 and ∣ s + 1 ∣ ≥ max ( σ + 1 , ∣ t ∣ ) ≥ ( 1 + ∣ t ∣ ) / 2 |s+1| \ge\max(\sigma+1,|t|) \ge(1+|t|)/2 ∣ s + 1∣ ≥ max ( σ + 1 , ∣ t ∣ ) ≥ ( 1 + ∣ t ∣ ) /2 .
Proposition 3.7. Let 0 < δ < 1 / 1000 0<\delta<1/1000 0 < δ < 1/1000 . There is K = K ( δ ) K=K(\delta) K = K ( δ ) such that the following holds. Let 1 / 2 ≤ a ≤ 1 1/2 \le a \le1 1/2 ≤ a ≤ 1 and let χ \chi χ be nonprincipal modulo q q q with L ( s , χ ) ≠ 0 L(s,\chi)\ne0 L ( s , χ ) = 0 for Re s > a + 2 δ \operatorname{Re}s>a+2\delta Re s > a + 2 δ . Then for x ≥ 1 x \ge1 x ≥ 1 ,
∣ S ( χ ; x ) ∣ ≤ K x a + 8 δ log ( q + 2 ) . |S(\chi;x)| \le Kx^{a+8\delta}\log(q+2). ∣ S ( χ ; x ) ∣ ≤ K x a + 8 δ log ( q + 2 ) . Proof. Put σ 0 = a + 8 δ \sigma_0=a+8\delta σ 0 = a + 8 δ and
Φ ( s ) = − L ′ L ( s , χ ) x s s ( s + 1 ) . \Phi(s)=-\frac{L'}{L}(s,\chi)\frac{x^s}{s(s+1)}. Φ ( s ) = − L L ′ ( s , χ ) s ( s + 1 ) x s . For Re s > 1 \operatorname{Re}s>1 Re s > 1 , − L ′ / L ( s , χ ) = ∑ n χ ( n ) Λ ( n ) n − s -L'/L(s,\chi)=\sum_n\chi(n)\Lambda(n)n^{-s} − L ′ / L ( s , χ ) = ∑ n χ ( n ) Λ ( n ) n − s , so Lemma 3.1(ii) gives S ( χ ; x ) = 1 2 π ∫ Φ ( 2 + i t ) d t S(\chi;x)=\frac{1}{2\pi}\int\Phi(2+it)\,dt S ( χ ; x ) = 2 π 1 ∫ Φ ( 2 + i t ) d t . The function Φ \Phi Φ is holomorphic on σ 0 ≤ Re s ≤ 2 \sigma_0 \le\operatorname{Re}s \le2 σ 0 ≤ Re s ≤ 2 , and by Lemmas 3.5 and 3.6,
∣ Φ ( σ + i t ) ∣ ≤ 80 K 1 log ( q + 2 ) x σ ( 1 + ∣ t ∣ ) − 3 / 2 ( σ 0 ≤ σ ≤ 2 ) . |\Phi(\sigma+it)| \le80K_1\log(q+2)x^\sigma(1+|t|)^{-3/2}\qquad(\sigma_0 \le\sigma\le2). ∣Φ ( σ + i t ) ∣ ≤ 80 K 1 log ( q + 2 ) x σ ( 1 + ∣ t ∣ ) − 3/2 ( σ 0 ≤ σ ≤ 2 ) . This tends to 0 0 0 as ∣ t ∣ → ∞ |t|\to\infty ∣ t ∣ → ∞ uniformly in σ \sigma σ , so Cauchy’s theorem on the rectangles [ σ 0 , 2 ] × [ − T , T ] [\sigma_0,2]\times[-T,T] [ σ 0 , 2 ] × [ − T , T ] , T → ∞ T\to\infty T → ∞ , moves the integral to Re s = σ 0 \operatorname{Re}s=\sigma_0 Re s = σ 0 (Figure 2 ). Since ∫ R ( 1 + ∣ t ∣ ) − 3 / 2 d t = 4 \int_{\mathbb{R}}(1+|t|)^{-3/2}\,dt=4 ∫ R ( 1 + ∣ t ∣ ) − 3/2 d t = 4 , we get ∣ S ( χ ; x ) ∣ ≤ 160 K 1 π x σ 0 log ( q + 2 ) |S(\chi;x)|\le\frac{160K_1}{\pi}x^{\sigma_0}\log(q+2) ∣ S ( χ ; x ) ∣ ≤ π 160 K 1 x σ 0 log ( q + 2 ) .
Figure 2. The contour shift in the proof of Proposition 3.7 . The zeros of L ( s , χ ) L(s,\chi) L ( s , χ ) lie in the strip 0 ≤ Re s ≤ 7 / 8 0 \le\operatorname{Re}s \le7/8 0 ≤ Re s ≤ 7/8 (dots), the kernel x s / ( s ( s + 1 ) ) x^s/(s(s+1)) x s / ( s ( s + 1 )) has poles at 0 0 0 and − 1 -1 − 1 (crosses), and the line of integration moves from Re s = 2 \operatorname{Re}s=2 Re s = 2 to Re s = σ 0 \operatorname{Re}s=\sigma_0 Re s = σ 0 inside the zero-free half-plane.
From now on fix δ = 1 / 2000 \delta=1/2000 δ = 1/2000 and a = 7 / 8 − 1 / 1000 a=7/8-1/1000 a = 7/8 − 1/1000 , so that a + 2 δ = 7 / 8 a+2\delta=7/8 a + 2 δ = 7/8 and
σ 0 = a + 8 δ = 7 8 + 3 1000 , \sigma_0=a+8\delta=\frac{7}{8}+\frac{3}{1000}, σ 0 = a + 8 δ = 8 7 + 1000 3 ,
and let K K K be the constant of Proposition 3.7 for this δ \delta δ . By Theorem 1.2, Proposition 3.7 applies to every nonprincipal character.
Corollary 3.8. There is an absolute constant C 3 C_3 C 3 such that for every nonprincipal character ξ \xi ξ modulo k k k :
(i) ∣ S ( ξ ; x ) ∣ ≤ K x σ 0 log ( k + 2 ) |S(\xi;x)|\le Kx^{\sigma_0}\log(k+2) ∣ S ( ξ ; x ) ∣ ≤ K x σ 0 log ( k + 2 ) for x ≥ 1 x\ge1 x ≥ 1 ;
(ii) ∣ ∑ p ≤ x ξ ( p ) log p ∣ ≤ C 3 x 19 / 20 log ( k + 2 ) \left|\sum_{p\le x}\xi(p)\log p\right|\le C_3x^{19/20}\log(k+2) ∑ p ≤ x ξ ( p ) log p ≤ C 3 x 19/20 log ( k + 2 ) for x ≥ 1 x\ge1 x ≥ 1 ;
(iii) for integers 2 ≤ A ≤ B 2 \le A \le B 2 ≤ A ≤ B and γ ∈ R \gamma\in\mathbb{R} γ ∈ R ,
∣ ∑ A < p ≤ B ξ ( p ) e ( p γ ) ∣ ≤ 2 C 3 B 19 / 20 log ( k + 2 ) ( 2 + 2 π ∣ γ ∣ B ) log A . (2) \left|\sum_{A<p\le B}\xi(p)e(p\gamma)\right| \le2C_3\frac{B^{19/20}\log(k+2)(2+2\pi|\gamma|B)}{\log A}. \tag*{(2)} A < p ≤ B ∑ ξ ( p ) e ( p γ ) ≤ 2 C 3 log A B 19/20 log ( k + 2 ) ( 2 + 2 π ∣ γ ∣ B ) . (2)
Proof. (i) is Proposition 3.7 . For (ii) put T ( y ) = y S ( ξ ; y ) T(y)=yS(\xi;y) T ( y ) = y S ( ξ ; y ) , that is, T ( y ) = ∑ n ≤ y ξ ( n ) Λ ( n ) ( y − n ) T(y)=\sum_{n\le y}\xi(n)\Lambda(n)(y-n) T ( y ) = ∑ n ≤ y ξ ( n ) Λ ( n ) ( y − n ) , and let 0 < h ≤ x 0<h\le x 0 < h ≤ x . Then
T ( x + h ) − T ( x ) = h ∑ n ≤ x ξ ( n ) Λ ( n ) + ∑ x < n ≤ x + h ξ ( n ) Λ ( n ) ( x + h − n ) , T(x+h)-T(x)=h\sum_{n\le x}\xi(n)\Lambda(n)+\sum_{x<n\le x+h}\xi(n)\Lambda(n)(x+h-n), T ( x + h ) − T ( x ) = h n ≤ x ∑ ξ ( n ) Λ ( n ) + x < n ≤ x + h ∑ ξ ( n ) Λ ( n ) ( x + h − n ) ,
and the last sum has at most h + 1 h+1 h + 1 terms, each of modulus at most h log ( 2 x ) h\log(2x) h log ( 2 x ) . With ∣ T ( y ) ∣ ≤ K y 1 + σ 0 log ( k + 2 ) |T(y)|\le Ky^{1+\sigma_0}\log(k+2) ∣ T ( y ) ∣ ≤ K y 1 + σ 0 log ( k + 2 ) this gives
∣ ∑ n ≤ x ξ ( n ) Λ ( n ) ∣ ≤ 2 K ( 2 x ) 1 + σ 0 log ( k + 2 ) h + ( h + 1 ) log ( 2 x ) . \left|\sum_{n\le x}\xi(n)\Lambda(n)\right|\le\frac{2K(2x)^{1+\sigma_0}\log(k+2)}{h}+(h+1)\log(2x). n ≤ x ∑ ξ ( n ) Λ ( n ) ≤ h 2 K ( 2 x ) 1 + σ 0 log ( k + 2 ) + ( h + 1 ) log ( 2 x ) .
Take h = x 47 / 50 h=x^{47/50} h = x 47/50 . Since 1 + σ 0 − 47 / 50 < 19 / 20 1+\sigma_0-47/50<19/20 1 + σ 0 − 47/50 < 19/20 and log ( 2 x ) ≤ 1 + 100 x 1 / 100 \log(2x)\le1+100x^{1/100} log ( 2 x ) ≤ 1 + 100 x 1/100 , the right side is at most ( 8 K + 202 ) x 19 / 20 log ( k + 2 ) (8K+202)x^{19/20}\log(k+2) ( 8 K + 202 ) x 19/20 log ( k + 2 ) . The prime powers contribute at most ψ ( x ) − θ ( x ) ≤ 2 x log x ≤ 200 x 19 / 20 \psi(x)-\theta(x)\le2\sqrt{x}\log x\le200x^{19/20} ψ ( x ) − θ ( x ) ≤ 2 x log x ≤ 200 x 19/20 by Lemma 2.1 (ii), and (ii) follows with C 3 = 8 K + 402 C_3=8K+402 C 3 = 8 K + 402 .
(iii) Let Π ( u ) = ∑ p ≤ u ξ ( p ) log p \Pi(u)=\sum_{p\le u}\xi(p)\log p Π ( u ) = ∑ p ≤ u ξ ( p ) log p and f ( u ) = e ( u γ ) / log u f(u)=e(u\gamma)/\log u f ( u ) = e ( u γ ) / log u . Partial summation gives
∑ A < p ≤ B ξ ( p ) e ( p γ ) = f ( B ) Π ( B ) − f ( A ) Π ( A ) − ∫ A B Π ( u ) f ′ ( u ) d u , \sum_{A<p\le B}\xi(p)e(p\gamma)=f(B)\Pi(B)-f(A)\Pi(A)-\int_A^B\Pi(u)f'(u)\,du, A < p ≤ B ∑ ξ ( p ) e ( p γ ) = f ( B ) Π ( B ) − f ( A ) Π ( A ) − ∫ A B Π ( u ) f ′ ( u ) d u ,
and ∣ f ′ ( u ) ∣ ≤ 2 π ∣ γ ∣ / log A + 1 / ( u log 2 u ) |f'(u)| \le2\pi|\gamma|/\log A + 1/(u\log^{2}u) ∣ f ′ ( u ) ∣ ≤ 2 π ∣ γ ∣/ log A + 1/ ( u log 2 u ) for u ≥ A u \ge A u ≥ A . By (ii) the right side is at most C 3 B 19 / 20 log ( k + 2 ) ( 3 + 2 π ∣ γ ∣ / B ) / log A C_{3}B^{19/20}\log(k+2)(3+2\pi|\gamma|/B)/\log A C 3 B 19/20 log ( k + 2 ) ( 3 + 2 π ∣ γ ∣/ B ) / log A , which gives (3.1). □ \square □
Exponential sums with multiplicative coefficients
For M > 0 M>0 M > 0 put w M ( θ ) = M w_{M}(\theta)=M w M ( θ ) = M if ∥ θ ∥ < 1 / M \|\theta\|<1/M ∥ θ ∥ < 1/ M and w M ( θ ) = 1 / ∥ θ ∥ w_{M}(\theta)=1/\|\theta\| w M ( θ ) = 1/∥ θ ∥ otherwise; then 0 ≤ w M ( θ ) ≤ M 0\le w_{M}(\theta)\le M 0 ≤ w M ( θ ) ≤ M and w M ( − θ ) = w M ( θ ) w_{M}(-\theta)=w_{M}(\theta) w M ( − θ ) = w M ( θ ) .
Theorem 4.1. There is an absolute constant C 1 C_{1} C 1 with the following property. Let f f f be completely multiplicative with ∣ f ( n ) ∣ ≤ 1 |f(n)|\le1 ∣ f ( n ) ∣ ≤ 1 , let α ∈ R \alpha\in\mathbb{R} α ∈ R , and let a , r a,r a , r be coprime integers with r ≥ 1 r\ge1 r ≥ 1 , ∣ α − a / r ∣ ≤ r − 2 |\alpha-a/r|\le r^{-2} ∣ α − a / r ∣ ≤ r − 2 and 2 ≤ R ≤ r ≤ N / R 2\le R\le r\le N/R 2 ≤ R ≤ r ≤ N / R . Then
∣ ∑ n ≤ N f ( n ) e ( n α ) ∣ ≤ C 1 ( N log N + N ( log N ) 2 R 1 / 4 ) . \left|\sum_{n\le N}f(n)e(n\alpha)\right|\le C_{1}\left(\frac{N}{\log N}+\frac{N(\log N)^{2}}{R^{1/4}}\right). n ≤ N ∑ f ( n ) e ( n α ) ≤ C 1 ( log N N + R 1/4 N ( log N ) 2 ) .
Montgomery and Vaughan [9 Corollary 1] proved this for multiplicative f f f with N ( log R ) 3 / 2 R − 1 / 2 N(\log R)^{3/2}R^{-1/2} N ( log R ) 3/2 R − 1/2 in place of N ( log N ) 2 R − 1 / 4 N(\log N)^{2}R^{-1/4} N ( log N ) 2 R − 1/4 . The proof below follows their approach, a bilinear decomposition together with the spacing of the multiples of α \alpha α and an upper bound for prime pairs, with cruder estimates, which suffice for Theorem 1.1.
Lemma 4.2. Let a , r a,r a , r be coprime with r ≥ 2 r\ge2 r ≥ 2 and ∣ α − a / r ∣ ≤ r − 2 |\alpha-a/r|\le r^{-2} ∣ α − a / r ∣ ≤ r − 2 , and let H ≥ 0 H\ge0 H ≥ 0 be an integer.
(i) ∥ k α ∥ ≥ 1 / ( 2 r ) \|k\alpha\|\ge1/(2r) ∥ k α ∥ ≥ 1/ ( 2 r ) for every integer k k k with 0 < ∣ k ∣ ≤ r / 2 0<|k|\le r/2 0 < ∣ k ∣ ≤ r /2 .
(ii) # { 1 ≤ h ≤ H : ∥ h α ∥ < t } ≤ ( 4 H / r + 1 ) ( 4 r t + 1 ) \#\{1\le h\le H:\|h\alpha\|<t\}\le(4H/r+1)(4rt+1) # { 1 ≤ h ≤ H : ∥ h α ∥ < t } ≤ ( 4 H / r + 1 ) ( 4 r t + 1 ) for every t ≥ 0 t\ge0 t ≥ 0 .
(iii) For M > 0 M>0 M > 0 and every integer K ≥ 0 K\ge0 K ≥ 0 with M ≤ 2 K M\le2^{K} M ≤ 2 K ,
∑ h ≤ H w M ( h α ) ≤ ( 4 H r + 1 ) ( 3 M + 4 r + 8 r K ) , \sum_{h\le H}w_{M}(h\alpha)\le\left(\frac{4H}{r}+1\right)(3M+4r+8rK), h ≤ H ∑ w M ( h α ) ≤ ( r 4 H + 1 ) ( 3 M + 4 r + 8 r K ) , ∑ h ≤ H w M ( h α ) 2 ≤ ( 4 H r + 1 ) ( 20 r M + 3 M 2 ) . \sum_{h\le H}w_{M}(h\alpha)^{2}\le\left(\frac{4H}{r}+1\right)(20rM+3M^{2}). h ≤ H ∑ w M ( h α ) 2 ≤ ( r 4 H + 1 ) ( 20 r M + 3 M 2 ) .
Proof. (i) Let z z z be the integer nearest to k α k\alpha k α . Since 0 < ∣ k ∣ < r 0<|k|<r 0 < ∣ k ∣ < r and ( a , r ) = 1 (a,r)=1 ( a , r ) = 1 , r ∤ k a r\nmid ka r ∤ k a , so ∣ k a / r − z ∣ ≥ 1 / r |ka/r-z|\ge1/r ∣ k a / r − z ∣ ≥ 1/ r and ∥ k α ∥ ≥ 1 / r − ∣ k ∣ ∣ α − a / r ∣ ≥ 1 / ( 2 r ) \|k\alpha\|\ge1/r-|k||\alpha-a/r|\ge1/(2r) ∥ k α ∥ ≥ 1/ r − ∣ k ∣∣ α − a / r ∣ ≥ 1/ ( 2 r ) .
(ii) Let L = ⌊ r / 2 ⌋ L=\lfloor r/2\rfloor L = ⌊ r /2 ⌋ , so L ≥ r / 4 L\ge r/4 L ≥ r /4 . For k k k in a block of L L L consecutive integers let y k = k α − z k y_{k}=k\alpha-z_{k} y k = k α − z k with z k z_{k} z k the integer nearest to k α k\alpha k α . For k ≠ k ′ k\ne k' k = k ′ in the block, 0 < ∣ k − k ′ ∣ < L ≤ r / 2 0<|k-k'|<L\le r/2 0 < ∣ k − k ′ ∣ < L ≤ r /2 and y k − y k ′ ≡ ( k − k ′ ) α ( m o d 1 ) y_{k}-y_{k'}\equiv(k-k')\alpha\pmod1 y k − y k ′ ≡ ( k − k ′ ) α ( mod 1 ) , so ∣ y k − y k ′ ∣ ≥ 1 / ( 2 r ) |y_{k}-y_{k'}|\ge1/(2r) ∣ y k − y k ′ ∣ ≥ 1/ ( 2 r ) by (i). Points of ( − t , t ) (-t,t) ( − t , t ) at mutual distances at least 1 / ( 2 r ) 1/(2r) 1/ ( 2 r ) number at most 4 r t + 1 4rt+1 4 r t + 1 , and [ 1 , H ] [1,H] [ 1 , H ] is covered by at most H / L + 1 ≤ 4 H / r + 1 H/L+1\le4H/r+1 H / L + 1 ≤ 4 H / r + 1 blocks.
(iii) If ∥ θ ∥ ≥ 1 / M \|\theta\|\ge1/M ∥ θ ∥ ≥ 1/ M , let k ≥ 1 k\ge1 k ≥ 1 be least with ∥ θ ∥ < 2 k / M \|\theta\|<2^{k}/M ∥ θ ∥ < 2 k / M ; then k ≤ K k\le K k ≤ K because ∥ θ ∥ ≤ 1 / 2 < 2 K / M \|\theta\|\le1/2<2^{K}/M ∥ θ ∥ ≤ 1/2 < 2 K / M , and ∥ θ ∥ ≥ 2 k − 1 / M \|\theta\|\ge2^{k-1}/M ∥ θ ∥ ≥ 2 k − 1 / M , so w M ( θ ) ≤ 2 1 − k M w_{M}(\theta)\le2^{1-k}M w M ( θ ) ≤ 2 1 − k M . Hence
w M ( θ ) j ≤ M j [ ∥ θ ∥ < 1 / M ] + ∑ k = 1 K ( 2 1 − k M ) j [ ∥ θ ∥ < 2 k / M ] ( j = 1 , 2 ) . w_{M}(\theta)^{j}\le M^{j}[\|\theta\|<1/M]+\sum_{k=1}^{K}(2^{1-k}M)^{j}[\|\theta\|<2^{k}/M]\qquad(j=1,2). w M ( θ ) j ≤ M j [ ∥ θ ∥ < 1/ M ] + k = 1 ∑ K ( 2 1 − k M ) j [ ∥ θ ∥ < 2 k / M ] ( j = 1 , 2 ) .
Summing over h ≤ H h \le H h ≤ H with (ii), the first sum is at most ( 4 H / r + 1 ) ( 4 r + M + ∑ k ≤ K ( 8 r + 2 1 − k M ) ) (4H/r+1)(4r+M+\sum_{k\le K}(8r+2^{1-k}M)) ( 4 H / r + 1 ) ( 4 r + M + ∑ k ≤ K ( 8 r + 2 1 − k M )) and the second at most ( 4 H / r + 1 ) ( 4 r M + M 2 + ∑ k ≥ 1 ( 16 r M 2 2 − k + 4 M 2 4 − k ) ) (4H/r+1)(4rM+M^2+\sum_{k\ge1}(16rM^2 2^{-k}+4M^2 4^{-k})) ( 4 H / r + 1 ) ( 4 r M + M 2 + ∑ k ≥ 1 ( 16 r M 2 2 − k + 4 M 2 4 − k )) .
Lemma 4.3. Let θ , α ∈ R \theta,\alpha\in\mathbb{R} θ , α ∈ R , U > 0 U>0 U > 0 , and let A , B , N A,B,N A , B , N be nonnegative integers with B ≤ A + U B\le A+U B ≤ A + U .
(i) ∣ ∑ A < x ≤ B e ( x θ ) ∣ ≤ w U ( θ ) \left|\sum_{A<x\le B}e(x\theta)\right|\le w_U(\theta) ∑ A < x ≤ B e ( x θ ) ≤ w U ( θ ) .
(ii) For a finite set V V V of positive integers and b : V → C b:V\to\mathbb{C} b : V → C ,
∑ A < u ≤ B u v ≤ N ∣ ∑ v ∈ V b ( v ) e ( u v α ) ∣ 2 ≤ ∑ v , v ′ ∈ V ∣ b ( v ) ∣ ∣ b ( v ′ ) ∣ w U ( ( v − v ′ ) α ) . \sum_{\substack{A<u\le B\\ uv\le N}}\left|\sum_{v\in V}b(v)e(uv\alpha)\right|^2\le\sum_{v,v'\in V}|b(v)||b(v')|w_U((v-v')\alpha). A < u ≤ B uv ≤ N ∑ v ∈ V ∑ b ( v ) e ( uv α ) 2 ≤ v , v ′ ∈ V ∑ ∣ b ( v ) ∣∣ b ( v ′ ) ∣ w U (( v − v ′ ) α ) . (iii) For M > 0 M>0 M > 0 and an integer H ≥ 0 H\ge0 H ≥ 0 , ∑ 1 ≤ m , m ′ ≤ H w M ( ( m − m ′ ) α ) ≤ H ( M + 2 ∑ h ≤ H w M ( h α ) ) \sum_{1\le m,m'\le H}w_M((m-m')\alpha)\le H\left(M+2\sum_{h\le H}w_M(h\alpha)\right) ∑ 1 ≤ m , m ′ ≤ H w M (( m − m ′ ) α ) ≤ H ( M + 2 ∑ h ≤ H w M ( h α ) ) .
Proof. (i) If ∥ θ ∥ < 1 / U \|\theta\|<1/U ∥ θ ∥ < 1/ U , the sum has at most U U U terms of modulus 1 1 1 . Otherwise θ ∉ Z \theta\notin\mathbb{Z} θ ∈ / Z , the sum has modulus at most ∣ e ( ( B − A ) θ ) − 1 ∣ / ∣ e ( θ ) − 1 ∣ |e((B-A)\theta)-1|/|e(\theta)-1| ∣ e (( B − A ) θ ) − 1∣/∣ e ( θ ) − 1∣ , and ∣ e ( θ ) − 1 ∣ = 2 ∣ sin π θ ∣ ≥ 4 ∥ θ ∥ |e(\theta)-1|=2|\sin\pi\theta|\ge4\|\theta\| ∣ e ( θ ) − 1∣ = 2∣ sin π θ ∣ ≥ 4∥ θ ∥ , so the modulus is at most 1 / ( 2 ∥ θ ∥ ) 1/(2\|\theta\|) 1/ ( 2∥ θ ∥ ) . (ii) Expanding the square gives ∑ v , v ′ b ( v ) b ( v ′ ) ‾ ∑ u e ( u ( v − v ′ ) α ) \sum_{v,v'}b(v)\overline{b(v')}\sum_u e(u(v-v')\alpha) ∑ v , v ′ b ( v ) b ( v ′ ) ∑ u e ( u ( v − v ′ ) α ) , where u u u runs over the integers of ( A , min ( B , N / v , N / v ′ ) ] (A,\min(B,N/v,N/v')] ( A , min ( B , N / v , N / v ′ )] , an interval of length at most U U U ; apply (i). (iii) For fixed m m m , the term m ′ = m m'=m m ′ = m is w M ( 0 ) = M w_M(0)=M w M ( 0 ) = M , and each h = ∣ m − m ′ ∣ ∈ [ 1 , H ] h=|m-m'|\in[1,H] h = ∣ m − m ′ ∣ ∈ [ 1 , H ] arises from at most two m ′ m' m ′ . □
Lemma 4.4. Let C 5 = 1 + 4 ζ ( 3 / 2 ) C_5=1+4\zeta(3/2) C 5 = 1 + 4 ζ ( 3/2 ) . For every completely multiplicative f f f with ∣ f ( n ) ∣ ≤ 1 |f(n)|\le1 ∣ f ( n ) ∣ ≤ 1 , every α ∈ R \alpha\in\mathbb{R} α ∈ R and every integer N ≥ 1 N\ge1 N ≥ 1 , the sum S = ∑ n ≤ N f ( n ) e ( n α ) S=\sum_{n\le N}f(n)e(n\alpha) S = ∑ n ≤ N f ( n ) e ( n α ) satisfies
∣ S log N − ∑ p ≤ N log p f ( p ) ∑ m ≤ N / p f ( m ) e ( p m α ) ∣ ≤ C 5 N . \left|S\log N-\sum_{p\le N}\log p\,f(p)\sum_{m\le N/p}f(m)e(pm\alpha)\right|\le C_5N. S log N − p ≤ N ∑ log p f ( p ) m ≤ N / p ∑ f ( m ) e ( p m α ) ≤ C 5 N . Proof. Write S log N = S 1 + S 2 S\log N=S_1+S_2 S log N = S 1 + S 2 with S 1 = ∑ n ≤ N f ( n ) e ( n α ) log n S_1=\sum_{n\le N}f(n)e(n\alpha)\log n S 1 = ∑ n ≤ N f ( n ) e ( n α ) log n and S 2 = ∑ n ≤ N f ( n ) e ( n α ) log ( N / n ) S_2=\sum_{n\le N}f(n)e(n\alpha)\log(N/n) S 2 = ∑ n ≤ N f ( n ) e ( n α ) log ( N / n ) . Then ∣ S 2 ∣ ≤ N log N − log N ! ≤ N |S_2|\le N\log N-\log N!\le N ∣ S 2 ∣ ≤ N log N − log N ! ≤ N , since N N / N ! ≤ e N N^N/N!\le e^N N N / N ! ≤ e N . In S 1 S_1 S 1 write log n = ∑ d ∣ n Λ ( d ) \log n=\sum_{d\mid n}\Lambda(d) log n = ∑ d ∣ n Λ ( d ) and n = d m n=dm n = d m ; complete multiplicativity gives ∑ d ≤ N Λ ( d ) f ( d ) ∑ m ≤ N / d f ( m ) e ( d m α ) \sum_{d\le N}\Lambda(d)f(d)\sum_{m\le N/d}f(m)e(dm\alpha) ∑ d ≤ N Λ ( d ) f ( d ) ∑ m ≤ N / d f ( m ) e ( d m α ) . The terms with d d d prime form the sum in the statement, and the others have modulus at most N ∑ p ∑ k ≥ 2 log p / p k ≤ 2 N ∑ p log p / p 2 ≤ 4 ζ ( 3 / 2 ) N N\sum_p\sum_{k\ge2}\log p/p^k\le2N\sum_p\log p/p^2\le4\zeta(3/2)N N ∑ p ∑ k ≥ 2 log p / p k ≤ 2 N ∑ p log p / p 2 ≤ 4 ζ ( 3/2 ) N , since log p ≤ 2 p \log p\le2\sqrt p log p ≤ 2 p . □
Let G ( h ) = ∏ p ∣ h p / ( p − 1 ) G(h)=\prod_{p\mid h}p/(p-1) G ( h ) = ∏ p ∣ h p / ( p − 1 ) .
Lemma 4.5. (i) For every integer X ≥ 2 X\ge2 X ≥ 2 and every even h ≥ 2 h\ge2 h ≥ 2 ,
# { 0 ≤ n < X : n and n + h prime } ≤ 400 G ( h ) X ( log X ) 2 + 3 X 3 / 5 . \#\{0\le n<X:n\text{ and }n+h\text{ prime}\}\le\frac{400G(h)X}{(\log X)^2}+3X^{3/5}. # { 0 ≤ n < X : n and n + h prime } ≤ ( log X ) 2 400 G ( h ) X + 3 X 3/5 . (ii) ∑ h ≤ X G ( h ) 4 ≤ e 30 X \sum_{h\le X}G(h)^4\le e^{30}X ∑ h ≤ X G ( h ) 4 ≤ e 30 X for every X ≥ 1 X\ge1 X ≥ 1 .
Proof. (i) Apply Lemma 2.2 to a n = n ( n + h ) a_n=n(n+h) a n = n ( n + h ) , 0 ≤ n < X 0\le n<X 0 ≤ n < X , with y = X 1 / 5 y=X^{1/5} y = X 1/5 , z = ⌊ y ⌋ z=\lfloor y\rfloor z = ⌊ y ⌋ , P P P the product of the primes p ≤ z p\le z p ≤ z with p ∤ h p\nmid h p ∤ h , and ν ( d ) = 2 ω ( d ) / d \nu(d)=2^{\omega(d)}/d ν ( d ) = 2 ω ( d ) / d . Every p ∣ P p\mid P p ∣ P is odd, so ν ( p ) = 2 / p < 1 \nu(p)=2/p<1 ν ( p ) = 2/ p < 1 . For d ∣ P d\mid P d ∣ P the residues n n n with d ∣ n ( n + h ) d\mid n(n+h) d ∣ n ( n + h ) form 2 ω ( d ) 2^{\omega(d)} 2 ω ( d ) classes modulo d d d (namely n ≡ 0 n\equiv0 n ≡ 0 or − h ( m o d p ) -h\pmod p − h ( mod p ) for each p ∣ d p\mid d p ∣ d , distinct as p ∤ h p\nmid h p ∤ h ), and each class contains between X / d − 1 X/d-1 X / d − 1 and X / d + 1 X/d+1 X / d + 1 of the integers 0 ≤ n < X 0\le n<X 0 ≤ n < X ; hence ∣ R d ∣ ≤ 2 ω ( d ) |R_d|\le2^{\omega(d)} ∣ R d ∣ ≤ 2 ω ( d ) . Since the prime factors of d d d are at least 3 3 3 , 3 ω ( d ) ∣ R d ∣ ≤ 6 ω ( d ) ≤ d 2 ≤ y 2 3^{\omega(d)}|R_d|\le6^{\omega(d)}\le d^2\le y^2 3 ω ( d ) ∣ R d ∣ ≤ 6 ω ( d ) ≤ d 2 ≤ y 2 , and the error term is at most y 3 = X 3 / 5 y^3=X^{3/5} y 3 = X 3/5 .
Let M \mathcal{M} M be the set of m ≤ y m\le\sqrt y m ≤ y whose prime factors divide P P P . Since ν ( p ) / ( 1 − ν ( p ) ) = ∑ k ≥ 1 ν ( p ) k \nu(p)/(1-\nu(p))=\sum_{k\ge1}\nu(p)^k ν ( p ) / ( 1 − ν ( p )) = ∑ k ≥ 1 ν ( p ) k and ν ( m ) = 2 Ω ( m ) / m \nu(m)=2^{\Omega(m)}/m ν ( m ) = 2 Ω ( m ) / m for these m m m , g ( l ) g(l) g ( l ) is the sum of 2 Ω ( m ) / m 2^{\Omega(m)}/m 2 Ω ( m ) / m over the m m m whose set of prime factors is that of l l l . An m ∈ M m\in\mathcal{M} m ∈ M is counted in g ( l ) g(l) g ( l ) for l l l the product of its prime factors, and l ≤ m ≤ y l\le m\le\sqrt y l ≤ m ≤ y . Hence, with τ ( m ) ≤ 2 Ω ( m ) \tau(m)\le2^{\Omega(m)} τ ( m ) ≤ 2 Ω ( m ) the number of divisors of m m m ,
S ≥ ∑ m ∈ M 2 Ω ( m ) m ≥ ∑ m ∈ M τ ( m ) m . S\ge\sum_{m\in\mathcal{M}}\frac{2^{\Omega(m)}}{m}\ge\sum_{m\in\mathcal{M}}\frac{\tau(m)}{m}. S ≥ m ∈ M ∑ m 2 Ω ( m ) ≥ m ∈ M ∑ m τ ( m ) .
Let T = ⌊ y 1 / 4 ⌋ T=\lfloor y^{1/4}\rfloor T = ⌊ y 1/4 ⌋ and let B B B be the set of b ≤ T b\le T b ≤ T that are prime to h h h ; these b b b are odd. For b , b ′ ∈ B b,b'\in B b , b ′ ∈ B the product b b ′ bb' b b ′ lies in M \mathcal{M} M , and a given m m m is a product b b ′ bb' b b ′ in at most τ ( m ) \tau(m) τ ( m ) ways, so S ≥ ( ∑ b ∈ B 1 / b ) 2 S\ge\left(\sum_{b\in B}1/b\right)^2 S ≥ ( ∑ b ∈ B 1/ b ) 2 . If E E E is a set of primes and p ∉ E p\notin E p ∈ / E , every b ≤ T b\le T b ≤ T prime to E E E is uniquely p b ′ pb' p b ′ with b ′ b' b ′ prime to E ∪ { p } E\cup\{p\} E ∪ { p } , so the sum of 1 / b 1/b 1/ b over the b ≤ T b\le T b ≤ T prime to E E E is at most p / ( p − 1 ) p/(p-1) p / ( p − 1 ) times the same sum for E ∪ { p } E\cup\{p\} E ∪ { p } . Adding the prime factors of h h h one at a time gives
∑ b ∈ B 1 b ≥ 1 G ( h ) ∑ b ≤ T 1 b ≥ log ( T + 1 ) G ( h ) . \sum_{b\in B}\frac{1}{b}\ge\frac{1}{G(h)}\sum_{b\le T}\frac{1}{b}\ge\frac{\log(T+1)}{G(h)}. b ∈ B ∑ b 1 ≥ G ( h ) 1 b ≤ T ∑ b 1 ≥ G ( h ) log ( T + 1 ) .
As T + 1 > y 1 / 4 = X 1 / 20 T+1>y^{1/4}=X^{1/20} T + 1 > y 1/4 = X 1/20 , we get S ≥ ( log X ) 2 / ( 400 G ( h ) 2 ) S\ge(\log X)^2/(400G(h)^2) S ≥ ( log X ) 2 / ( 400 G ( h ) 2 ) , that is, X / S ≤ 400 G ( h ) 2 X / ( log X ) 2 X/S\le400G(h)^2X/(\log X)^2 X / S ≤ 400 G ( h ) 2 X / ( log X ) 2 . Finally, if n < X n<X n < X and n , n + h n,n+h n , n + h are prime, then n ≤ z n\le z n ≤ z or ( n ( n + h ) , P ) = 1 (n(n+h),P)=1 ( n ( n + h ) , P ) = 1 , so the count is at most z + 1 + X / S + y 3 ≤ 400 G ( h ) 2 X / ( log X ) 2 + 3 X 3 / 5 z+1+X/S+y^3\le400G(h)^2X/(\log X)^2+3X^{3/5} z + 1 + X / S + y 3 ≤ 400 G ( h ) 2 X / ( log X ) 2 + 3 X 3/5 .
(ii) For t = p − 1 ≥ 1 t=p-1\ge1 t = p − 1 ≥ 1 , ( t + 1 ) 5 ≤ ( t + 31 ) t 4 (t+1)^5\le(t+31)t^4 ( t + 1 ) 5 ≤ ( t + 31 ) t 4 , that is, ( p / ( p − 1 ) ) 4 ≤ 1 + 30 / p (p/(p-1))^4\le1+30/p ( p / ( p − 1 ) ) 4 ≤ 1 + 30/ p . Hence G ( h ) 4 ≤ ∑ d ∣ h 30 ω ( d ) / d G(h)^4\le\sum_{d\mid h}30^{\omega(d)}/d G ( h ) 4 ≤ ∑ d ∣ h 3 0 ω ( d ) / d over the squarefree d ∣ h d\mid h d ∣ h , and
∑ h ≤ X G ( h ) 4 ≤ ∑ d ≤ X μ ( d ) 2 30 ω ( d ) d ⋅ X d ≤ X ∏ p ( 1 + 30 p 2 ) ≤ X exp ( 30 ∑ n ≥ 2 1 n 2 ) ≤ e 30 X . \begin{aligned}
\sum_{h\le X}G(h)^4\le\sum_{d\le X}\mu(d)^2\frac{30^{\omega(d)}}{d}\cdot\frac{X}{d}\le X\prod_p\left(1+\frac{30}{p^2}\right) \\
&\le X\exp\left(30\sum_{n\ge2}\frac{1}{n^2}\right)\le e^{30}X.
\end{aligned} h ≤ X ∑ G ( h ) 4 ≤ d ≤ X ∑ μ ( d ) 2 d 3 0 ω ( d ) ⋅ d X ≤ X p ∏ ( 1 + p 2 30 ) ≤ X exp ( 30 n ≥ 2 ∑ n 2 1 ) ≤ e 30 X .
□ \square □
Proof of Theorem 4.1. Let S S S be the sum in the theorem, L = log N L=\log N L = log N and ℓ = ⌊ log 2 N ⌋ \ell=\lfloor\log_2N\rfloor ℓ = ⌊ log 2 N ⌋ . Since N ≥ r R ≥ 4 N\ge rR\ge4 N ≥ r R ≥ 4 , we have L ≥ 1 L\ge1 L ≥ 1 . If ℓ < 64 \ell<64 ℓ < 64 , then L < 64 log 2 < 45 L<64\log2<45 L < 64 log 2 < 45 and ∣ S ∣ ≤ N ≤ 45 N / L |S|\le N\le45N/L ∣ S ∣ ≤ N ≤ 45 N / L . Let now ℓ ≥ 64 \ell\ge64 ℓ ≥ 64 , and put I = ⌊ log 2 ℓ ⌋ + 1 I=\lfloor\log_2\ell\rfloor+1 I = ⌊ log 2 ℓ ⌋ + 1 and J = ℓ + 1 − 4 I J=\ell+1-4I J = ℓ + 1 − 4 I . Then 16 I > ℓ 4 16^I>\ell^4 1 6 I > ℓ 4 , 1 ≤ J ≤ ℓ ≤ 2 L 1\le J\le\ell\le2L 1 ≤ J ≤ ℓ ≤ 2 L , I ≤ ℓ ≤ 2 L I\le\ell\le2L I ≤ ℓ ≤ 2 L , 2 I ≤ 2 ℓ 2^I\le2^\ell 2 I ≤ 2 ℓ , N < 2 ℓ + 1 = 2 J 16 I N<2^{\ell+1}=2^J16^I N < 2 ℓ + 1 = 2 J 1 6 I and J 2 2 J ≤ ( ℓ + 1 ) 2 ℓ + 1 ℓ − 4 ≤ 2 N J^22^J\le(\ell+1)2^{\ell+1}\ell^{-4}\le2N J 2 2 J ≤ ( ℓ + 1 ) 2 ℓ + 1 ℓ − 4 ≤ 2 N . By Lemma 4.4, ∣ S ∣ L ≤ C 5 N + |S|L\le C_5N+ ∣ S ∣ L ≤ C 5 N + ∣ T 1 ∣ + ∣ T 2 ∣ |T_1|+|T_2| ∣ T 1 ∣ + ∣ T 2 ∣ , where T 1 T_1 T 1 and T 2 T_2 T 2 are the parts of ∑ p log p f ( p ) ∑ m ≤ N / p f ( m ) e ( p m α ) \sum_p \log p f(p)\sum_{m\le N/p}f(m)e(pm\alpha) ∑ p log p f ( p ) ∑ m ≤ N / p f ( m ) e ( p m α ) with p ≤ 2 J p\le2^J p ≤ 2 J and with p > 2 J p>2^J p > 2 J .
The small primes. Let 0 ≤ j < J 0\le j<J 0 ≤ j < J , U = 2 j U=2^j U = 2 j , H = ⌊ N / U ⌋ H=\lfloor N/U\rfloor H = ⌊ N / U ⌋ , and for U < x ≤ 2 U U<x\le2U U < x ≤ 2 U let B ( x ) = ∑ m ≤ H , x m ≤ N f ( m ) e ( x m α ) B(x)=\sum_{m\le H,xm\le N}f(m)e(xm\alpha) B ( x ) = ∑ m ≤ H , x m ≤ N f ( m ) e ( x m α ) ; the inner sum for a prime p ∈ ( U , 2 U ] p\in(U,2U] p ∈ ( U , 2 U ] is B ( p ) B(p) B ( p ) . By Cauchy’s inequality, Lemma 4.3(ii), (iii) and Lemma 4.2(iii) with M = U M=U M = U , K = j K=j K = j ,
∑ U < p ≤ 2 U log p ∣ B ( p ) ∣ ≤ ( U log 2 ( 2 U ) ) 1 / 2 Q j 1 / 2 . \sum_{U<p\le2U}\log p|B(p)|\le(U\log^2(2U))^{1/2}Q_j^{1/2}. U < p ≤ 2 U ∑ log p ∣ B ( p ) ∣ ≤ ( U log 2 ( 2 U ) ) 1/2 Q j 1/2 .
where Q j = H ( U + 2 ( 4 H / r + 1 ) ( 3 U + 4 r + 8 r j ) ) Q_j=H(U+2(4H/r+1)(3U+4r+8rj)) Q j = H ( U + 2 ( 4 H / r + 1 ) ( 3 U + 4 r + 8 r j )) . Since H U ≤ N HU\le N H U ≤ N , U Q j ≤ 7 N U + ( 8 + 16 j ) N r + 24 N 2 / r + ( 32 + 64 j ) N 2 / U UQ_j\le7NU+(8+16j)Nr+24N^2/r+(32+64j)N^2/U U Q j ≤ 7 N U + ( 8 + 16 j ) N r + 24 N 2 / r + ( 32 + 64 j ) N 2 / U , and log ( 2 U ) ≤ j + 1 \log(2U)\le j+1 log ( 2 U ) ≤ j + 1 . Summing over j < J j<J j < J with j + 1 ≤ J j+1\le J j + 1 ≤ J , ∑ j < J 2 j / 2 ≤ 3 ⋅ 2 J / 2 \sum_{j<J}2^{j/2}\le3\cdot2^{J/2} ∑ j < J 2 j /2 ≤ 3 ⋅ 2 J /2 , ( 32 + 64 j ) 2 − j ≤ 8 ( j + 1 ) ( 3 / 4 ) j \sqrt{(32+64j)2^{-j}}\le8(j+1)(3/4)^j ( 32 + 64 j ) 2 − j ≤ 8 ( j + 1 ) ( 3/4 ) j and ∑ j ≥ 0 ( j + 1 ) 2 ( 3 / 4 ) j = 112 \sum_{j\ge0}(j+1)^2(3/4)^j=112 ∑ j ≥ 0 ( j + 1 ) 2 ( 3/4 ) j = 112 ,
∣ T 1 ∣ ≤ 3 7 J N 2 J + J 2 N 24 / r + 896 N + J 2 24 J N r . |T_1|\le3\sqrt{7}J\sqrt{N2^J}+J^2N\sqrt{24/r}+896N+J^2\sqrt{24JNr}. ∣ T 1 ∣ ≤ 3 7 J N 2 J + J 2 N 24/ r + 896 N + J 2 24 J N r .
Now J 2 J ≤ 2 N J2^J\le2N J 2 J ≤ 2 N gives 3 7 J N 2 J ≤ 12 N 3\sqrt{7}J\sqrt{N2^J}\le12N 3 7 J N 2 J ≤ 12 N ; r ≥ R ≥ R r\ge R\ge\sqrt R r ≥ R ≥ R gives 24 / r ≤ 5 R − 1 / 4 \sqrt{24/r}\le5R^{-1/4} 24/ r ≤ 5 R − 1/4 ; and r R ≤ r R ≤ N r\sqrt R\le rR\le N r R ≤ r R ≤ N gives 24 J N r ≤ 5 J N R − 1 / 4 \sqrt{24JNr}\le5JNR^{-1/4} 24 J N r ≤ 5 J N R − 1/4 . With J ≤ 2 L J\le2L J ≤ 2 L and L ≥ 1 L\ge1 L ≥ 1 , ∣ T 1 ∣ ≤ 908 N + 60 L 3 N R − 1 / 4 |T_1|\le908N+60L^3NR^{-1/4} ∣ T 1 ∣ ≤ 908 N + 60 L 3 N R − 1/4 .
The large primes. For p > 2 J p>2^J p > 2 J we have N / p < 16 I N/p<16^I N / p < 1 6 I , so the m m m in T 2 T_2 T 2 lie in ( 0 , 16 I − 1 ] (0,16^I-1] ( 0 , 1 6 I − 1 ] , the union of the blocks ( 16 i − 1 , 16 i + 1 − 1 ] (16^i-1,16^{i+1}-1] ( 1 6 i − 1 , 1 6 i + 1 − 1 ] with 0 ≤ i < I 0\le i<I 0 ≤ i < I . Fix i i i , let A = 16 i − 1 A=16^i-1 A = 1 6 i − 1 , U = 15 ⋅ 16 i U=15\cdot16^i U = 15 ⋅ 1 6 i and X = ⌊ N / 16 i ⌋ X=\lfloor N/16^i\rfloor X = ⌊ N /1 6 i ⌋ , and assume X ≥ 1 X\ge1 X ≥ 1 , the block being empty otherwise. Only the primes p ∈ ( 2 J , X ] p\in(2^J,X] p ∈ ( 2 J , X ] contribute, since p ≥ X + 1 p\ge X+1 p ≥ X + 1 and m ≥ 16 i m\ge16^i m ≥ 1 6 i give p m > N pm>N p m > N . Let V V V be the set of these primes, which are odd, and B ( m ) = ∑ p ∈ V , p m ≤ N log p f ( p ) e ( p m α ) B(m)=\sum_{p\in V,\,pm\le N}\log p f(p)e(pm\alpha) B ( m ) = ∑ p ∈ V , p m ≤ N log p f ( p ) e ( p m α ) . The block is ∑ A < m ≤ A + U f ( m ) B ( m ) \sum_{A<m\le A+U}f(m)B(m) ∑ A < m ≤ A + U f ( m ) B ( m ) , and by Cauchy’s inequality, Lemma 4.3(ii) and log p ≤ λ = log ( X + 1 ) \log p\le\lambda=\log(X+1) log p ≤ λ = log ( X + 1 ) , its square is at most U λ 2 W U\lambda^2W U λ 2 W , where
W = ∑ p , p ′ ∈ V w U ( ( p − p ′ ) α ) = ∣ V ∣ U + 2 ∑ h = 1 X w U ( h α ) # { p ∈ V : p + h ∈ V } . W=\sum_{p,p'\in V}w_U((p-p')\alpha)=|V|U+2\sum_{h=1}^{X}w_U(h\alpha)\#\{p\in V:p+h\in V\}. W = p , p ′ ∈ V ∑ w U (( p − p ′ ) α ) = ∣ V ∣ U + 2 h = 1 ∑ X w U ( h α ) # { p ∈ V : p + h ∈ V } .
The count vanishes for odd h h h , and for even h h h Lemma 4.5(i), applied to X + 1 X+1 X + 1 , bounds it by 400 G ( h ) 2 ( X + 1 ) λ − 2 + 3 ( X + 1 ) 3 / 5 400G(h)^2(X+1)\lambda^{-2}+3(X+1)^{3/5} 400 G ( h ) 2 ( X + 1 ) λ − 2 + 3 ( X + 1 ) 3/5 . By Cauchy’s inequality, Lemma 4.5(ii) and Lemma 4.2(iii), ∑ h ≤ X G ( h ) 2 w U ( h α ) ≤ e 15 X Q 1 / 2 \sum_{h\le X}G(h)^2w_U(h\alpha)\le e^{15}\sqrt XQ^{1/2} ∑ h ≤ X G ( h ) 2 w U ( h α ) ≤ e 15 X Q 1/2 with Q = ( 4 X / r + 1 ) ( 20 r U + 3 U 2 ) Q=(4X/r+1)(20rU+3U^2) Q = ( 4 X / r + 1 ) ( 20 r U + 3 U 2 ) , and ∑ h ≤ X w U ( h α ) ≤ X U \sum_{h\le X}w_U(h\alpha)\le XU ∑ h ≤ X w U ( h α ) ≤ X U . Hence U λ 2 W ≤ A 1 + 800 e 15 Z + A 3 U\lambda^2W\le A_1+800e^{15}Z+A_3 U λ 2 W ≤ A 1 + 800 e 15 Z + A 3 , where
A 1 = U 2 λ 2 X , Z = U ( X + 1 ) X Q 1 / 2 , A 3 = 6 U 2 λ 2 ( X + 1 ) 3 / 5 X . A_1=U^2\lambda^2X,\qquad Z=U(X+1)\sqrt XQ^{1/2},\qquad A_3=6U^2\lambda^2(X+1)^{3/5}X. A 1 = U 2 λ 2 X , Z = U ( X + 1 ) X Q 1/2 , A 3 = 6 U 2 λ 2 ( X + 1 ) 3/5 X .
Let κ = log ( N + 1 ) ≥ λ \kappa=\log(N+1)\ge\lambda κ = log ( N + 1 ) ≥ λ and T i = 4 i κ ( N ( 2 N ) 3 / 5 ) 1 / 2 T_i=4^i\kappa\bigl(N(2N)^{3/5}\bigr)^{1/2} T i = 4 i κ ( N ( 2 N ) 3/5 ) 1/2 . Since U 2 X = 225 ⋅ 16 i ( 16 i X ) ≤ 225 ⋅ 16 i N U^2X=225\cdot16^i(16^iX)\le225\cdot16^iN U 2 X = 225 ⋅ 1 6 i ( 1 6 i X ) ≤ 225 ⋅ 1 6 i N and X + 1 ≤ 2 N X+1\le2N X + 1 ≤ 2 N , we get A 1 ≤ 225 T i 2 A_1\le225T_i^2 A 1 ≤ 225 T i 2 and $A_3\le 1350 T i 2 ≤ 37 2 T i 2 1350T_i^2 \le37^2T_i^2 1350 T i 2 ≤ 3 7 2 T i 2 . With w = U X ≤ 15 N w=UX\le15N w = U X ≤ 15 N , X ≤ N / 16 i X\le N/16^i X ≤ N /1 6 i and R ≤ r ≤ N / R R\le r\le N/R R ≤ r ≤ N / R ,
Z 2 ≤ 4 U 2 X 3 Q = 320 w 3 X + 48 w 4 r + 80 r w 3 + 12 U w 3 ≤ 320 ⋅ 15 3 N 4 16 i + 48 ⋅ 15 4 N 4 R + 80 ⋅ 15 3 N 4 R + 180 ⋅ 15 3 ⋅ 16 i N 3 . \begin{aligned}
Z^2 \le4U^2X^3Q = 320w^3X+\frac{48w^4}{r}+80rw^3+12Uw^3 \\
&\le\frac{320\cdot15^3N^4}{16^i}+\frac{48\cdot15^4N^4}{R}+\frac{80\cdot15^3N^4}{R}
+180\cdot15^3\cdot16^iN^3.
\end{aligned} Z 2 ≤ 4 U 2 X 3 Q = 320 w 3 X + r 48 w 4 + 80 r w 3 + 12 U w 3 ≤ 1 6 i 320 ⋅ 1 5 3 N 4 + R 48 ⋅ 1 5 4 N 4 + R 80 ⋅ 1 5 3 N 4 + 180 ⋅ 1 5 3 ⋅ 1 6 i N 3 .
and every coefficient is at most 40 4 40^4 4 0 4 , so Z 1 / 2 ≤ 40 ( N 2 − i + 2 N R − 1 / 4 + 2 i N 3 / 4 ) Z^{1/2}\le40(N2^{-i}+2NR^{-1/4}+2^iN^{3/4}) Z 1/2 ≤ 40 ( N 2 − i + 2 N R − 1/4 + 2 i N 3/4 ) . The block is therefore at most
15 T i + 40 800 e 15 ( N 2 − i + 2 N R − 1 / 4 + 2 i N 3 / 4 ) + 37 T i ≤ K b ( N 2 − i + N R − 1 / 4 + 2 i N 3 / 4 + T i ) , \begin{aligned}
15T_i+40\sqrt{800e^{15}}\left(N2^{-i}+2NR^{-1/4}+2^iN^{3/4}\right)+37T_i \\
&\le K_b\left(N2^{-i}+NR^{-1/4}+2^iN^{3/4}+T_i\right),
\end{aligned} 15 T i + 40 800 e 15 ( N 2 − i + 2 N R − 1/4 + 2 i N 3/4 ) + 37 T i ≤ K b ( N 2 − i + N R − 1/4 + 2 i N 3/4 + T i ) ,
with K b = 80 800 e 15 + 52 K_b=80\sqrt{800e^{15}}+52 K b = 80 800 e 15 + 52 . Summing over i < I i<I i < I ,
∣ T 2 ∣ ≤ K b ( 2 N + I N R − 1 / 4 + 2 I N 3 / 4 + 4 I κ ( N ( 2 N ) 3 / 5 ) 1 / 2 ) . |T_2|\le K_b\left(2N+INR^{-1/4}+2^IN^{3/4}+4^I\kappa\left(N(2N)^{3/5}\right)^{1/2}\right). ∣ T 2 ∣ ≤ K b ( 2 N + I N R − 1/4 + 2 I N 3/4 + 4 I κ ( N ( 2 N ) 3/5 ) 1/2 ) .
Here I ≤ 2 L 3 I\le2L^3 I ≤ 2 L 3 ; 2 I ≤ 4 L ≤ 16 N 1 / 4 2^I\le4L\le16N^{1/4} 2 I ≤ 4 L ≤ 16 N 1/4 ; 4 I ≤ 16 L 2 4^I\le16L^2 4 I ≤ 16 L 2 and κ ≤ 2 L \kappa\le2L κ ≤ 2 L ; and log x ≤ 15 x 1 / 15 \log x\le15x^{1/15} log x ≤ 15 x 1/15 gives L 3 ( N ( 2 N ) 3 / 5 ) 1 / 2 ≤ 2 ⋅ 15 3 N L^3(N(2N)^{3/5})^{1/2}\le2\cdot15^3N L 3 ( N ( 2 N ) 3/5 ) 1/2 ≤ 2 ⋅ 1 5 3 N . Hence ∣ T 2 ∣ ≤ K b ( 216018 N + 2 L 3 N R − 1 / 4 ) |T_2|\le K_b(216018N+2L^3NR^{-1/4}) ∣ T 2 ∣ ≤ K b ( 216018 N + 2 L 3 N R − 1/4 ) .
Altogether ∣ S ∣ L ≤ ( C 5 + 908 + 216018 K b ) N + ( 60 + 2 K b ) L 3 N R − 1 / 4 |S|L\le(C_5+908+216018K_b)N+(60+2K_b)L^3NR^{-1/4} ∣ S ∣ L ≤ ( C 5 + 908 + 216018 K b ) N + ( 60 + 2 K b ) L 3 N R − 1/4 , and dividing by L L L gives the theorem with C 1 = 45 + C 5 + 908 + 216018 K b + 60 + 2 K b C_1=45+C_5+908+216018K_b+60+2K_b C 1 = 45 + C 5 + 908 + 216018 K b + 60 + 2 K b . □
Proof of Theorem 1.1
In this section χ \chi χ is a primitive character modulo q ≥ 3 q\ge3 q ≥ 3 .
Lemma 5.1. Let B ≥ 0 B\ge0 B ≥ 0 be such that ∣ ∑ m ≤ H χ ‾ ( m ) e ( m β ) / m ∣ ≤ B \left|\sum_{m\le H}\overline{\chi}(m)e(m\beta)/m\right|\le B ∑ m ≤ H χ ( m ) e ( m β ) / m ≤ B for every integer H ≤ q / 2 H\le q/2 H ≤ q /2 and every β ∈ R \beta\in\mathbb{R} β ∈ R . Then ∣ ∑ n ≤ x χ ( n ) ∣ ≤ q ( B + 6 ) \left|\sum_{n\le x}\chi(n)\right|\le\sqrt{q}(B+6) ∑ n ≤ x χ ( n ) ≤ q ( B + 6 ) for every x ≥ 0 x\ge0 x ≥ 0 .
Proof. We may take x = T x=T x = T to be an integer. Let τ = ∑ a m o d q χ ‾ ( a ) e ( a / q ) \tau=\sum_{a\bmod q}\overline{\chi}(a)e(a/q) τ = ∑ a mod q χ ( a ) e ( a / q ) . Since χ ‾ \overline{\chi} χ is primitive, ∑ a χ ‾ ( a ) e ( a n / q ) = χ ( n ) τ \sum_a\overline{\chi}(a)e(an/q)=\chi(n)\tau ∑ a χ ( a ) e ( an / q ) = χ ( n ) τ for every n n n , and summing the squares of the moduli of these identities over n n n mod q q q gives q φ ( q ) = ∣ τ ∣ 2 φ ( q ) q\varphi(q)=|\tau|^2\varphi(q) q φ ( q ) = ∣ τ ∣ 2 φ ( q ) , so ∣ τ ∣ = q |\tau|=\sqrt q ∣ τ ∣ = q . Summing over 1 ≤ n ≤ T 1\le n\le T 1 ≤ n ≤ T ,
τ ∑ n ≤ T χ ( n ) = ∑ 0 < ∣ a ∣ ≤ q / 2 χ ‾ ( a ) e ( a T / q ) − 1 1 − e ( − a / q ) , \tau\sum_{n\le T}\chi(n)=\sum_{0<|a|\le q/2}\overline{\chi}(a)\frac{e(aT/q)-1}{1-e(-a/q)}, τ n ≤ T ∑ χ ( n ) = 0 < ∣ a ∣ ≤ q /2 ∑ χ ( a ) 1 − e ( − a / q ) e ( a T / q ) − 1 ,
where a a a runs over the integers with − q / 2 < a ≤ q / 2 -q/2<a\le q/2 − q /2 < a ≤ q /2 , a ≠ 0 a\ne0 a = 0 . For 0 < ∣ θ ∣ ≤ 1 / 2 0<|\theta|\le1/2 0 < ∣ θ ∣ ≤ 1/2 put r ( θ ) = ( 1 − e ( − θ ) ) − 1 − ( 2 π i θ ) − 1 r(\theta)=(1-e(-\theta))^{-1}-(2\pi i\theta)^{-1} r ( θ ) = ( 1 − e ( − θ ) ) − 1 − ( 2 π i θ ) − 1 ; then ∣ 1 − e ( − θ ) ∣ = 2 ∣ sin π θ ∣ ≥ 4 ∣ θ ∣ |1-e(-\theta)|=2|\sin\pi\theta|\ge4|\theta| ∣1 − e ( − θ ) ∣ = 2∣ sin π θ ∣ ≥ 4∣ θ ∣ . If 2 π ∣ θ ∣ ≤ 1 2\pi|\theta|\le1 2 π ∣ θ ∣ ≤ 1 , then ∣ e ( − θ ) − 1 + 2 π i θ ∣ ≤ ( 2 π θ ) 2 |e(-\theta)-1+2\pi i\theta|\le(2\pi\theta)^2 ∣ e ( − θ ) − 1 + 2 π i θ ∣ ≤ ( 2 π θ ) 2 and ∣ r ( θ ) ∣ ≤ ( 2 π θ ) 2 / ( 4 ∣ θ ∣ ⋅ 2 π ∣ θ ∣ ) < 3 |r(\theta)|\le(2\pi\theta)^2/(4|\theta|\cdot2\pi|\theta|)<3 ∣ r ( θ ) ∣ ≤ ( 2 π θ ) 2 / ( 4∣ θ ∣ ⋅ 2 π ∣ θ ∣ ) < 3 ; otherwise ∣ r ( θ ) ∣ ≤ 1 / ( 4 ∣ θ ∣ ) + 1 / ( 2 π ∣ θ ∣ ) < 3 |r(\theta)|\le1/(4|\theta|)+1/(2\pi|\theta|)<3 ∣ r ( θ ) ∣ ≤ 1/ ( 4∣ θ ∣ ) + 1/ ( 2 π ∣ θ ∣ ) < 3 . The terms with r ( a / q ) r(a/q) r ( a / q ) contribute at most 6 q 6q 6 q . Writing a = ± m a=\pm m a = ± m with 1 ≤ m ≤ q / 2 1\le m\le q/2 1 ≤ m ≤ q /2 , the remaining terms are q / ( 2 π i ) q/(2\pi i) q / ( 2 π i ) times a combination, with coefficients of modulus at most 1 1 1 , of four sums ∑ m ≤ H χ ‾ ( m ) e ( m β ) / m \sum_{m\le H}\overline{\chi}(m)e(m\beta)/m ∑ m ≤ H χ ( m ) e ( m β ) / m with H ≤ q / 2 H\le q/2 H ≤ q /2 , so they contribute at most 2 q B / π 2qB/\pi 2 q B / π . Dividing by ∣ τ ∣ |\tau| ∣ τ ∣ gives the claim. □ \square □
Lemma 5.2. For Y ≥ 2 Y\ge2 Y ≥ 2 and H ≥ 1 H\ge1 H ≥ 1 ,
∑ n ≤ H P ( n ) ≤ Y 1 n ≤ e 11 log Y . \sum_{\substack{n\le H\\P(n)\le Y}}\frac{1}{n}\le e^{11}\log Y. n ≤ H P ( n ) ≤ Y ∑ n 1 ≤ e 11 log Y .
Proof. The sum is at most ∏ p ≤ Y ( 1 − 1 / p ) − 1 ≤ exp ( ∑ p ≤ Y 1 p − 1 ) \prod_{p\le Y}(1-1/p)^{-1}\le\exp\left(\sum_{p\le Y}\frac{1}{p-1}\right) ∏ p ≤ Y ( 1 − 1/ p ) − 1 ≤ exp ( ∑ p ≤ Y p − 1 1 ) , and ∑ p ( 1 p − 1 − 1 p ) ≤ 1 \sum_p\left(\frac{1}{p-1}-\frac{1}{p}\right)\le1 ∑ p ( p − 1 1 − p 1 ) ≤ 1 ; apply Lemma 2.1 (iv). □ \square □
Lemma 5.3. There is an absolute constant C 2 C_2 C 2 such that for 0 < r < q 0<r<q 0 < r < q , b ∈ Z b\in\mathbb{Z} b ∈ Z , β ∈ R \beta\in\mathbb{R} β ∈ R , integers Y ≥ max ( 2 , r ) Y\ge\max(2,r) Y ≥ max ( 2 , r ) and t ≥ 1 t\ge1 t ≥ 1 ,
∣ ∑ n ≤ t P ( n ) > Y χ ( n ) e ( n ( b r + β ) ) ∣ ≤ C 2 r log ( q r + 2 ) ( 2 + 2 π ∣ β ∣ t ) Y 1 / 20 log Y . \left|\sum_{\substack{n\le t\\P(n)>Y}}\chi(n)e\left(n\left(\frac{b}{r}+\beta\right)\right)\right|\le C_2\frac{r\log(qr+2)(2+2\pi|\beta|t)}{Y^{1/20}\log Y}. n ≤ t P ( n ) > Y ∑ χ ( n ) e ( n ( r b + β ) ) ≤ C 2 Y 1/20 log Y r log ( q r + 2 ) ( 2 + 2 π ∣ β ∣ t ) .
Proof. Every n ≤ t n\le t n ≤ t with P ( n ) > Y P(n)>Y P ( n ) > Y is uniquely n = p m n=pm n = p m with p = P ( n ) p=P(n) p = P ( n ) prime, Y < p ≤ t / m Y<p\le t/m Y < p ≤ t / m and P ( m ) ≤ p P(m)\le p P ( m ) ≤ p , and then m ≤ t / Y m\le t/Y m ≤ t / Y . For such p p p we have p > r p>r p > r , so p ∤ r p\nmid r p ∤ r , and on the units modulo r r r the function u ↦ e ( u m b / r ) u\mapsto e(umb/r) u ↦ e ( u mb / r ) equals ∑ ψ c ψ ψ ( u ) \sum_{\psi}c_\psi\psi(u) ∑ ψ c ψ ψ ( u ) , the sum over the characters ψ \psi ψ modulo r r r , with ∣ c ψ ∣ ≤ 1 |c_\psi|\le1 ∣ c ψ ∣ ≤ 1 .
The character χ ψ \chi\psi χ ψ modulo q r qr q r is nonprincipal. Otherwise χ ( n ) = ψ ‾ ( n ) \chi(n)=\overline{\psi}(n) χ ( n ) = ψ ( n ) for every n n n prime to q r qr q r . Let d = ( q , r ) d=(q,r) d = ( q , r ) and let n n n be prime to q q q with n ≡ 1 ( m o d d ) n\equiv1\pmod d n ≡ 1 ( mod d ) . By the Chinese remainder theorem there is n ′ n' n ′ prime to q r qr q r with n ′ ≡ n ( m o d q ) n'\equiv n\pmod q n ′ ≡ n ( mod q ) and n ′ ≡ 1 ( m o d r ) n'\equiv1\pmod r n ′ ≡ 1 ( mod r ) , and then χ ( n ) = χ ( n ′ ) = ψ ‾ ( n ′ ) = 1 \chi(n)=\chi(n')=\overline{\psi}(n')=1 χ ( n ) = χ ( n ′ ) = ψ ( n ′ ) = 1 . So χ \chi χ is trivial on the units congruent to 1 1 1 modulo d d d , and is induced by a character modulo d ≤ r < q d\le r<q d ≤ r < q , which contradicts primitivity.
Applying (2) to ξ = χ ψ \xi=\chi\psi ξ = χ ψ with γ = m β \gamma=m\beta γ = m β , A = max ( Y , P ( m ) − 1 ) A=\max(Y,P(m)-1) A = max ( Y , P ( m ) − 1 ) and B = ⌊ t / m ⌋ B=\lfloor t/m\rfloor B = ⌊ t / m ⌋ (the inner sum is empty if A ≥ B A\ge B A ≥ B ) gives
∣ ∑ n ≤ t P ( n ) > Y χ ( n ) e ( n ( b r + β ) ) ∣ ≤ 2 C 3 r log ( q r + 2 ) ( 2 + 2 π ∣ β ∣ t ) log Y ∑ m ≤ t / Y ( t m ) 19 / 20 , \left|\sum_{\substack{n\le t\\P(n)>Y}}\chi(n)e\left(n\left(\frac{b}{r}+\beta\right)\right)\right|\le2C_3r\frac{\log(qr+2)(2+2\pi|\beta|t)}{\log Y}\sum_{m\le t/Y}\left(\frac{t}{m}\right)^{19/20}, n ≤ t P ( n ) > Y ∑ χ ( n ) e ( n ( r b + β ) ) ≤ 2 C 3 r log Y log ( q r + 2 ) ( 2 + 2 π ∣ β ∣ t ) m ≤ t / Y ∑ ( m t ) 19/20 ,
and ∑ m ≤ M m − 19 / 20 ≤ 20 M 1 / 20 \sum_{m\le M}m^{-19/20}\le20M^{1/20} ∑ m ≤ M m − 19/20 ≤ 20 M 1/20 . Hence C 2 = 40 C 3 C_2=40C_3 C 2 = 40 C 3 will do. □ \square □
Proposition 5.4. There is an absolute constant C 4 C_4 C 4 such that if log q ≥ 200 \log q\ge200 log q ≥ 200 , then
∣ ∑ m ≤ H χ ( m ) e ( m β ) / m ∣ ≤ C 4 log log q \left|\sum_{m\le H}\chi(m)e(m\beta)/m\right|\le C_4\log\log q m ≤ H ∑ χ ( m ) e ( m β ) / m ≤ C 4 log log q for every integer H ≤ q H\le q H ≤ q and every β ∈ R \beta\in\mathbb{R} β ∈ R .
Proof. Let L = log q L=\log q L = log q , M = ⌈ L ⌉ M=\lceil L\rceil M = ⌈ L ⌉ , R = M 16 R=M^{16} R = M 16 and Y = M 700 Y=M^{700} Y = M 700 . Since e L / 16 ≥ ( L / 16 ) 4 / 24 > L + 1 ≥ M e^{L/16}\ge(L/16)^4/24>L+1\ge M e L /16 ≥ ( L /16 ) 4 /24 > L + 1 ≥ M , we have 2 ≤ R < q 2\le R<q 2 ≤ R < q and R ≤ Y R\le Y R ≤ Y . Split the sum according to P ( m ) ≤ Y P(m)\le Y P ( m ) ≤ Y or P ( m ) > Y P(m)>Y P ( m ) > Y . By Lemma 5.2 the first part is at most e 11 log Y e^{11}\log Y e 11 log Y . For the second put A ( t ) = ∑ n ≤ t , P ( n ) > Y χ ( n ) e ( n β ) A(t)=\sum_{\substack{n\le t,\,P(n)>Y}}\chi(n)e(n\beta) A ( t ) = ∑ n ≤ t , P ( n ) > Y χ ( n ) e ( n β ) and w ( t ) = 1 / t − 1 / ( t + 1 ) w(t) = 1/t - 1/(t+1) w ( t ) = 1/ t − 1/ ( t + 1 ) . Partial summation and ∣ A ( H ) ∣ ≤ H |A(H)| \le H ∣ A ( H ) ∣ ≤ H give
∣ ∑ m ≤ H P ( m ) > Y χ ( m ) e ( m β ) m ∣ ≤ 1 + ∑ 1 ≤ t < H ∣ A ( t ) ∣ w ( t ) . \left|\sum_{\substack{m\le H\\P(m)>Y}}\frac{\chi(m)e(m\beta)}{m}\right| \le1+\sum_{1\le t<H}|A(t)|w(t). m ≤ H P ( m ) > Y ∑ m χ ( m ) e ( m β ) ≤ 1 + 1 ≤ t < H ∑ ∣ A ( t ) ∣ w ( t ) .
If t ≤ Y t \le Y t ≤ Y , then A ( t ) = 0 A(t)=0 A ( t ) = 0 . Let t > Y t>Y t > Y and Q = ⌊ t / R ⌋ ≥ 1 Q=\lfloor t/R\rfloor\ge1 Q = ⌊ t / R ⌋ ≥ 1 . By Dirichlet’s theorem there are coprime a , r a,r a , r with 1 ≤ r ≤ Q 1\le r\le Q 1 ≤ r ≤ Q and ∣ β − a / r ∣ ≤ 1 / ( r ( Q + 1 ) ) |\beta-a/r|\le1/(r(Q+1)) ∣ β − a / r ∣ ≤ 1/ ( r ( Q + 1 )) ; then ∣ β − a / r ∣ t ≤ R |\beta-a/r|t\le R ∣ β − a / r ∣ t ≤ R (Figure 3 ). If r ≤ R r\le R r ≤ R , then Lemma 5.3 with b = a b=a b = a gives ∣ A ( t ) ∣ ≤ C 2 k t |A(t)|\le C_2kt ∣ A ( t ) ∣ ≤ C 2 k t , where
Figure 3. The dissection of R / Z \mathbb{R}/\mathbb{Z} R / Z in the proof of Proposition 5.4, drawn for R = 4 R=4 R = 4 . Near a fraction a / r a/r a / r with r ≤ R r\le R r ≤ R (major arcs) the sum A ( t ) A(t) 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 = R log ( q R + 2 ) ( 2 + 2 π R ) Y 1 / 20 log Y . k=\frac{R\log(qR+2)(2+2\pi R)}{Y^{1/20}\log Y}. k = Y 1/20 log Y R log ( q R + 2 ) ( 2 + 2 π R ) .
If r > R r>R r > R , then R ≤ r ≤ t / R R\le r\le t/R R ≤ r ≤ t / R and ∣ β − a / r ∣ ≤ r − 2 |\beta-a/r|\le r^{-2} ∣ β − a / r ∣ ≤ r − 2 , so Theorem 4.1 for f = χ f=\chi f = χ bounds the full sum ∑ n ≤ t χ ( n ) e ( n β ) \sum_{n\le t}\chi(n)e(n\beta) ∑ n ≤ t χ ( n ) e ( n β ) , and since log t ≤ L \log t\le L log t ≤ L , removing the Ψ ( t ) = # { n ≤ t : P ( n ) ≤ Y } \Psi(t)=\#\{n\le t:P(n)\le Y\} Ψ ( t ) = # { n ≤ t : P ( n ) ≤ Y } smooth terms gives
∣ A ( t ) ∣ ≤ C 1 ( t log t + t ρ ) + Ψ ( t ) , ρ = L 2 R 1 / 4 = L 2 M 4 . |A(t)|\le C_1\left(\frac{t}{\log t}+t\rho\right)+\Psi(t),\qquad\rho=\frac{L^2}{R^{1/4}}=\frac{L^2}{M^4}. ∣ A ( t ) ∣ ≤ C 1 ( log t t + tρ ) + Ψ ( t ) , ρ = R 1/4 L 2 = M 4 L 2 .
Since t w ( t ) ≤ 1 / t tw(t)\le1/t tw ( t ) ≤ 1/ t and w ( t ) ≤ 1 / t 2 w(t)\le1/t^2 w ( t ) ≤ 1/ t 2 ,
∑ 1 ≤ t < H ∣ A ( t ) ∣ w ( t ) ≤ C 1 ∑ 2 ≤ t ≤ H 1 t log t + ( C 1 ρ + C 2 k ) ∑ 1 ≤ t < H 1 t + ∑ 1 ≤ t < H Ψ ( t ) w ( t ) . \sum_{1\le t<H}|A(t)|w(t)\le C_1\sum_{2\le t\le H}\frac{1}{t\log t}+(C_1\rho+C_2k)\sum_{1\le t<H}\frac{1}{t}+\sum_{1\le t<H}\Psi(t)w(t). 1 ≤ t < H ∑ ∣ A ( t ) ∣ w ( t ) ≤ C 1 2 ≤ t ≤ H ∑ t log t 1 + ( C 1 ρ + C 2 k ) 1 ≤ t < H ∑ t 1 + 1 ≤ t < H ∑ Ψ ( t ) w ( t ) .
The first sum is at most 3 + log L 3+\log L 3 + log L , the second at most 1 + L 1+L 1 + L , and by partial summation the third is at most ∑ n ≤ H P ( n ) ≤ Y 1 / n ≤ e 11 log Y \sum_{\substack{n\le H\\P(n)\le Y}}1/n\le e^{11}\log Y ∑ n ≤ H P ( n ) ≤ Y 1/ n ≤ e 11 log Y . Finally L ≤ M ≤ 2 L L\le M\le2L L ≤ M ≤ 2 L gives ρ ( 1 + L ) ≤ 2 / M ≤ 1 \rho(1+L)\le2/M\le1 ρ ( 1 + L ) ≤ 2/ M ≤ 1 ; log ( q R + 2 ) ≤ 18 M \log(qR+2)\le18M log ( q R + 2 ) ≤ 18 M , 2 + 2 π R ≤ 8 M 16 2+2\pi R\le8M^{16} 2 + 2 π R ≤ 8 M 16 , Y 1 / 20 = M 35 Y^{1/20}=M^{35} Y 1/20 = M 35 and log Y = 700 log M ≥ 700 \log Y=700\log M\ge700 log Y = 700 log M ≥ 700 give k ( 1 + L ) ≤ 288 M 34 / ( 700 M 35 ) ≤ 1 k(1+L)\le288M^{34}/(700M^{35})\le1 k ( 1 + L ) ≤ 288 M 34 / ( 700 M 35 ) ≤ 1 ; and log Y = 700 log M ≤ 1400 log L \log Y=700\log M\le1400\log L log Y = 700 log M ≤ 1400 log L . Collecting terms, the sum is at most 1 + 4 C 1 + C 2 + ( 2800 e 11 + C 1 ) log L ≤ ( 2800 e 11 + 1 + 5 C 1 + C 2 ) log L 1+4C_1+C_2+(2800e^{11}+C_1)\log L\le(2800e^{11}+1+5C_1+C_2)\log L 1 + 4 C 1 + C 2 + ( 2800 e 11 + C 1 ) log L ≤ ( 2800 e 11 + 1 + 5 C 1 + C 2 ) log L . □
Proof of Theorem 1.1. The character χ ˉ \bar{\chi} χ ˉ is primitive modulo q q q . If log q ≥ 200 \log q\ge200 log q ≥ 200 , then Proposition 5.4 for χ ˉ \bar{\chi} χ ˉ and Lemma 5.1 give
∣ ∑ n ≤ x χ ( n ) ∣ ≤ q ( C 4 log log q + 6 ) ≤ ( C 4 + 6 ) q log log q . \left|\sum_{n\le x}\chi(n)\right|\le\sqrt q(C_4\log\log q+6)\le(C_4+6)\sqrt q\log\log q. n ≤ x ∑ χ ( n ) ≤ q ( C 4 log log q + 6 ) ≤ ( C 4 + 6 ) q log log q .
If log q < 200 \log q<200 log q < 200 , then every sum ∑ m ≤ H χ ˉ ( m ) e ( m β ) / m \sum_{m\le H}\bar{\chi}(m)e(m\beta)/m ∑ m ≤ H χ ˉ ( m ) e ( m β ) / m with H ≤ q H\le q H ≤ q has modulus at most 1 + log q < 201 1+\log q<201 1 + log q < 201 , and Lemma 5.1 gives
∣ ∑ n ≤ x χ ( n ) ∣ ≤ 207 q ≤ 207 log 3 q log log q . \left|\sum_{n\le x}\chi(n)\right|\le207\sqrt q\le\frac{207}{\log3}\sqrt q\log\log q. n ≤ x ∑ χ ( n ) ≤ 207 q ≤ log 3 207 q log log q .
The logarithmic derivative at s = 1 s=1 s = 1
Recall that σ 0 = 7 / 8 + 3 / 1000 \sigma_0=7/8+3/1000 σ 0 = 7/8 + 3/1000 and that K K K is the constant of Corollary 3.8.
Lemma 6.1. For every nonprincipal character χ \chi χ modulo q q q ,
− L ′ L ( 1 , χ ) = 2 ∫ 1 ∞ S ( χ ; t ) t 2 d t , -\frac{L'}{L}(1,\chi)=2\int_1^\infty\frac{S(\chi;t)}{t^2}\,dt, − L L ′ ( 1 , χ ) = 2 ∫ 1 ∞ t 2 S ( χ ; t ) d t , and the integral converges absolutely.
Proof. By Lemma 3.1(i) with a = χ Λ a=\chi\Lambda a = χ Λ , for real s > 1 s>1 s > 1 ,
∫ 1 ∞ S ( χ ; t ) t − s − 1 d t = − L ′ L ( s , χ ) 1 s ( s + 1 ) . \int_1^\infty S(\chi;t)t^{-s-1}\,dt=-\frac{L'}{L}(s,\chi)\frac{1}{s(s+1)}. ∫ 1 ∞ S ( χ ; t ) t − s − 1 d t = − L L ′ ( s , χ ) s ( s + 1 ) 1 .
As s → 1 + s\to1^+ s → 1 + the left side tends to ∫ 1 ∞ S ( χ ; t ) t − 2 d t \int_1^\infty S(\chi;t)t^{-2}\,dt ∫ 1 ∞ S ( χ ; t ) t − 2 d t by dominated convergence, since ∣ S ( χ ; t ) ∣ ≤ K t σ 0 log ( q + 2 ) |S(\chi;t)|\le Kt^{\sigma_0}\log(q+2) ∣ S ( χ ; t ) ∣ ≤ K t σ 0 log ( q + 2 ) and σ 0 < 1 \sigma_0<1 σ 0 < 1 . The function L ( s , χ ) L(s,\chi) L ( s , χ ) is entire and does not vanish at s = 1 s=1 s = 1 by Theorem 1.2 , so the right side tends to − 1 2 L ′ L ( 1 , χ ) -\frac{1}{2}\frac{L'}{L}(1,\chi) − 2 1 L L ′ ( 1 , χ ) . □
Proof of Theorem 1.3(i). Let χ \chi χ be nonprincipal modulo q q q , so q ≥ 3 q\ge3 q ≥ 3 , and put Y = ( log ( q + 2 ) ) 1 / ( 1 − σ 0 ) ≥ 1 Y=(\log(q+2))^{1/(1-\sigma_0)}\ge1 Y = ( log ( q + 2 ) ) 1/ ( 1 − σ 0 ) ≥ 1 . Since ∣ S ( χ ; t ) ∣ ≤ ψ ( t ) ≤ 4 t |S(\chi;t)|\le\psi(t)\le4t ∣ S ( χ ; t ) ∣ ≤ ψ ( t ) ≤ 4 t by Lemma 2.1(ii), Lemma 6.1 gives
∣ L ′ L ( 1 , χ ) ∣ ≤ 2 ∫ 1 Y 4 d t t + 2 K log ( q + 2 ) ∫ Y ∞ t σ 0 − 2 d t = 8 log log ( q + 2 ) + 2 K 1 − σ 0 . \left|\frac{L'}{L}(1,\chi)\right|\le2\int_1^Y\frac{4\,dt}{t}+2K\log(q+2)\int_Y^\infty t^{\sigma_0-2}\,dt=\frac{8\log\log(q+2)+2K}{1-\sigma_0}. L L ′ ( 1 , χ ) ≤ 2 ∫ 1 Y t 4 d t + 2 K log ( q + 2 ) ∫ Y ∞ t σ 0 − 2 d t = 1 − σ 0 8 log log ( q + 2 ) + 2 K .
As q + 2 ≤ q 2 q+2\le q^2 q + 2 ≤ q 2 , log log ( q + 2 ) ≤ log 2 + log log q \log\log(q+2)\le\log2+\log\log q log log ( q + 2 ) ≤ log 2 + log log q , and since log log q ≥ log log 3 > 0 \log\log q\ge\log\log3>0 log log q ≥ log log 3 > 0 the right side is at most C log log q C\log\log q C log log q . □
For the lower bound in Theorem 1.3(ii) we need to control the prime powers n ≤ q 17 n \le q^{17} n ≤ q 17 with n ≡ 1 ( m o d q ) n \equiv1 \pmod{q} n ≡ 1 ( mod q ) . We count them in dyadic blocks with Selberg’s sieve.
Lemma 6.2. Let q q q be prime, let M ≥ 1 M \ge1 M ≥ 1 be an integer and let 1 < z < q 1 < z < q 1 < z < q . The number of m m m with M ≤ m < 2 M M \le m < 2M M ≤ m < 2 M for which 1 + m q 1+mq 1 + m q is a prime power is at most
2 M log z + z ( 1 + log z ) 2 + z . \frac{2M}{\log z}+z(1+\log z)^2+z. log z 2 M + z ( 1 + log z ) 2 + z .
Proof. If 1 + m q = p k 1+mq=p^k 1 + m q = p k with p ≤ z p \le z p ≤ z , then p k ∈ ( M q , 2 M q ) p^k \in(Mq,2Mq) p k ∈ ( M q , 2 M q ) , and for each prime p p p at most one power of p p p lies in this interval, since p k + 1 ≥ 2 p k p^{k+1} \ge2p^k p k + 1 ≥ 2 p k . These m m m number at most z z z . If p > z p>z p > z , then 1 + m q 1+mq 1 + m q has no prime factor up to z z z , and we apply Lemma 2.2 to the M M M integers a m = 1 + m q a_m=1+mq a m = 1 + m q , M ≤ m < 2 M M \le m<2M M ≤ m < 2 M , with P P P the product of the primes up to z z z , ν ( d ) = 1 / d \nu(d)=1/d ν ( d ) = 1/ d and y = z y=z y = z . Every prime p ≤ z p \le z p ≤ z differs from q q q , so for d ∣ P d\mid P d ∣ P the condition d ∣ 1 + m q d\mid1+mq d ∣ 1 + m q fixes m m m in one residue class modulo d d d , and ∣ R d ∣ ≤ 1 |R_d| \le1 ∣ R d ∣ ≤ 1 . Here g ( l ) = ∏ p ∣ l ( p − 1 ) − 1 g(l)=\prod_{p\mid l}(p-1)^{-1} g ( l ) = ∏ p ∣ l ( p − 1 ) − 1 , which is the sum of 1 / n 1/n 1/ n over the n n n whose set of prime factors is that of l l l . Every n ≤ z n \le\sqrt{z} n ≤ z has all its prime factors at most z z z and the product of its distinct prime factors is at most z \sqrt{z} z , so
S = ∑ l ∣ P l ≤ z g ( l ) ≥ ∑ n ≤ z 1 n ≥ log z 2 . S=\sum_{\substack{l\mid P\\l\le\sqrt{z}}}g(l)\ge\sum_{n\le\sqrt{z}}\frac{1}{n}\ge\frac{\log z}{2}. S = l ∣ P l ≤ z ∑ g ( l ) ≥ n ≤ z ∑ n 1 ≥ 2 log z .
For squarefree d d d , 3 ω ( d ) = τ 3 ( d ) 3^{\omega(d)}=\tau_3(d) 3 ω ( d ) = τ 3 ( d ) , and ∑ d ≤ z τ 3 ( d ) = # { ( a , b , c ) : a b c ≤ z } ≤ z ( ∑ a ≤ z 1 / a ) 2 ≤ z ( 1 + log z ) 2 \sum_{d\le z}\tau_3(d)=\#\{(a,b,c):abc\le z\}\le z(\sum_{a\le z}1/a)^2\le z(1+\log z)^2 ∑ d ≤ z τ 3 ( d ) = # {( a , b , c ) : ab c ≤ z } ≤ z ( ∑ a ≤ z 1/ a ) 2 ≤ z ( 1 + log z ) 2 . Lemma 2.2 therefore bounds the number of these m m m by 2 M / log z + z ( 1 + log z ) 2 2M/\log z+z(1+\log z)^2 2 M / log z + z ( 1 + log z ) 2 . □
Lemma 6.3. There is an absolute constant C 0 C_0 C 0 such that for every prime q ≥ 3 q\ge3 q ≥ 3 ,
∑ 1 < n ≤ q 17 n ≡ 1 ( m o d q ) Λ ( n ) n ≤ C 0 log q log log q q . \sum_{\substack{1<n\le q^{17}\\n\equiv1\pmod q}}\frac{\Lambda(n)}{n}\le C_0\frac{\log q\log\log q}{q}. 1 < n ≤ q 17 n ≡ 1 ( mod q ) ∑ n Λ ( n ) ≤ C 0 q log q log log q .
Proof. Write n = 1 + m q n=1+mq n = 1 + m q with 1 ≤ m < q 16 1\le m<q^{16} 1 ≤ m < q 16 , and let J = ⌊ 16 log 2 q ⌋ + 1 J=\lfloor16\log_2q\rfloor+1 J = ⌊ 16 log 2 q ⌋ + 1 , so that 2 J > q 16 2^J>q^{16} 2 J > q 16 and J ≤ 25 log q J\le25\log q J ≤ 25 log q . We split the range of m m m into the blocks 2 j ≤ m < 2 j + 1 2^j\le m<2^{j+1} 2 j ≤ m < 2 j + 1 , 0 ≤ j < J 0\le j<J 0 ≤ j < J (Figure 4), and let N j N_j N j be the number of m m m in the j j j -th block with 1 + m q 1+mq 1 + m q a prime power. We claim N j ≤ 393 ⋅ 2 j / ( j + 1 ) N_j\le393\cdot2^j/(j+1) N j ≤ 393 ⋅ 2 j / ( j + 1 ) . For j < 32 j<32 j < 32 this holds trivially. For j ≥ 32 j\ge32 j ≥ 32 apply Lemma 6.2 with M = 2 j M=2^j M = 2 j and z = 2 u z=2^u z = 2 u , u = j / 32 ≥ 1 u=j/32\ge1 u = j /32 ≥ 1 . Since 2 j < 2 J ≤ 2 q 16 2^j<2^J\le2q^{16} 2 j < 2 J ≤ 2 q 16 , we have z < 2 1 / 32 q 1 / 2 < q z<2^{1/32}q^{1/2}<q z < 2 1/32 q 1/2 < q . Then 2 M / log z = 64 ⋅ 2 j / ( j log 2 ) ≤ 96 ⋅ 2 j / ( j + 1 ) 2M/\log z=64\cdot2^j/(j\log2)\le96\cdot2^j/(j+1) 2 M / log z = 64 ⋅ 2 j / ( j log 2 ) ≤ 96 ⋅ 2 j / ( j + 1 ) , and since log z ≤ u \log z\le u log z ≤ u ,
z ( 1 + log z ) 2 + z ≤ 2 u ( 2 + u ) 2 ≤ 297 ⋅ 2 4 u 32 u + 1 ≤ 297 ⋅ 2 j j + 1 , z(1+\log z)^2+z\le2^u(2+u)^2\le\frac{297\cdot2^{4u}}{32u+1}\le\frac{297\cdot2^j}{j+1}, z ( 1 + log z ) 2 + z ≤ 2 u ( 2 + u ) 2 ≤ 32 u + 1 297 ⋅ 2 4 u ≤ j + 1 297 ⋅ 2 j ,
::: because ( 2 + u ) 2 ( 32 u + 1 ) ≤ 9 u 2 ⋅ 33 u = 297 u 3 (2+u)^2(32u+1)\leq9u^2\cdot33u=297u^3 ( 2 + u ) 2 ( 32 u + 1 ) ≤ 9 u 2 ⋅ 33 u = 297 u 3 and u 3 ≤ 2 3 u u^3\leq2^3u u 3 ≤ 2 3 u . This proves the claim.
A term of the j j j -th block has Λ ( n ) ≤ log ( 1 + 2 j + 1 q ) ≤ ( j + 2 ) log 2 + log q \Lambda(n)\leq\log(1+2^{j+1}q)\leq(j+2)\log2+\log q Λ ( n ) ≤ log ( 1 + 2 j + 1 q ) ≤ ( j + 2 ) log 2 + log q and n > 2 j q n>2^jq n > 2 j q , so the block contributes at most
393 ( j + 1 ) q ( ( j + 2 ) log 2 + log q ) ≤ 393 q ( 2 log 2 + log q j + 1 ) \frac{393}{(j+1)q}\bigl((j+2)\log2+\log q\bigr)\leq\frac{393}{q}\left(2\log2+\frac{\log q}{j+1}\right) ( j + 1 ) q 393 ( ( j + 2 ) log 2 + log q ) ≤ q 393 ( 2 log 2 + j + 1 log q )
Summing over j < J j<J j < J and using ∑ j < J 1 / ( j + 1 ) ≤ 1 + log J \sum_{j<J}1/(j+1)\leq1+\log J ∑ j < J 1/ ( j + 1 ) ≤ 1 + log J , J ≤ 25 log q J\leq25\log q J ≤ 25 log q and log J ≤ 4 + log log q \log J\leq4+\log\log q log J ≤ 4 + log log q , the sum in the lemma is at most 393 q ( 35 log q + 5 log q + log q log log q ) \frac{393}{q}(35\log q+5\log q+\log q\log\log q) q 393 ( 35 log q + 5 log q + log q log log q ) . Since log log q ≥ log log 3 > 1 / 11 \log\log q\geq\log\log3>1/11 log log q ≥ log log 3 > 1/11 , this is at most C 0 log q log log q / q C_0\log q\log\log q/q C 0 log q log log q / q with C 0 = 393 ⋅ 441 C_0=393\cdot441 C 0 = 393 ⋅ 441 . □
Figure 4. The dyadic blocks in the proof of Lemma 6.3. The block 2 j ≤ m < 2 j + 1 2^j\leq m<2^{j+1} 2 j ≤ m < 2 j + 1 contributes a constant part, of total size ≪ J ≪ log q \ll J\ll\log q ≪ J ≪ log q , and a part of size log q / ( j + 1 ) \log q/(j+1) log q / ( j + 1 ) , whose total is ≪ log q log J \ll\log q\log J ≪ log q log J . The second part produces the factor log log q \log\log q log log q .
Proof of Theorem 1.3(ii). Let q ≥ 3 q\geq3 q ≥ 3 be prime and put c ( n ) = ∑ χ ≠ χ 0 χ ( n ) c(n)=\sum_{\chi\ne\chi_0}\chi(n) c ( n ) = ∑ χ = χ 0 χ ( n ) , the sum over the nonprincipal characters modulo q q q . By orthogonality c ( n ) = ( q − 1 ) 1 [ n ≡ 1 ( m o d q ) ] − 1 [ q ∤ n ] c(n)=(q-1)1[n\equiv1\pmod q]-1[q\nmid n] c ( n ) = ( q − 1 ) 1 [ n ≡ 1 ( mod q )] − 1 [ q ∤ n ] . Put
T ( t ) = ∑ χ ≠ χ 0 S ( χ ; t ) = ∑ n ≤ t c ( n ) Λ ( n ) ( 1 − n t ) , I = ∫ 1 ∞ T ( t ) t 2 d t . T(t)=\sum_{\chi\ne\chi_0}S(\chi;t)=\sum_{n\leq t}c(n)\Lambda(n)\left(1-\frac{n}{t}\right),\qquad I=\int_1^\infty\frac{T(t)}{t^2}\,dt. T ( t ) = χ = χ 0 ∑ S ( χ ; t ) = n ≤ t ∑ c ( n ) Λ ( n ) ( 1 − t n ) , I = ∫ 1 ∞ t 2 T ( t ) d t .
By Lemma 6.1, ∑ χ ≠ χ 0 L ′ L ( 1 , χ ) = − 2 I \sum_{\chi\ne\chi_0}\frac{L'}{L}(1,\chi)=-2I ∑ χ = χ 0 L L ′ ( 1 , χ ) = − 2 I , so by (1) it suffices to show − C log q ≤ I ≤ C log q log log q -C\log q\leq I\leq C\log q\log\log q − C log q ≤ I ≤ C log q log log q .
By Corollary 3.8(i), ∣ T ( t ) ∣ ≤ q K log ( q + 2 ) t σ 0 |T(t)|\leq qK\log(q+2)t^{\sigma_0} ∣ T ( t ) ∣ ≤ q K log ( q + 2 ) t σ 0 . Let Y = q 17 Y=q^{17} Y = q 17 . Since 17 ( σ 0 − 1 ) < − 2 17(\sigma_0-1)<-2 17 ( σ 0 − 1 ) < − 2 and log ( q + 2 ) ≤ q \log(q+2)\leq q log ( q + 2 ) ≤ q ,
∣ ∫ Y ∞ T ( t ) t 2 d t ∣ ≤ q K log ( q + 2 ) Y σ 0 − 1 1 − σ 0 ≤ K log ( q + 2 ) q ( 1 − σ 0 ) ≤ K 1 − σ 0 . \left|\int_Y^\infty\frac{T(t)}{t^2}\,dt\right|\leq\frac{qK\log(q+2)Y^{\sigma_0-1}}{1-\sigma_0}\leq\frac{K\log(q+2)}{q(1-\sigma_0)}\leq\frac{K}{1-\sigma_0}. ∫ Y ∞ t 2 T ( t ) d t ≤ 1 − σ 0 q K log ( q + 2 ) Y σ 0 − 1 ≤ q ( 1 − σ 0 ) K log ( q + 2 ) ≤ 1 − σ 0 K .
For the lower bound, c ( n ) ≥ − 1 c(n) \ge-1 c ( n ) ≥ − 1 gives − T ( t ) ≤ ψ ( t ) ≤ 4 t -T(t) \le\psi(t) \le4t − T ( t ) ≤ ψ ( t ) ≤ 4 t , so
− I ≤ ∫ 1 Y 4 d t t + K 1 − σ 0 = 68 log q + K 1 − σ 0 . -I \le\int_1^Y \frac{4\,\mathrm{d}t}{t}+\frac{K}{1-\sigma_0}=68\log q+\frac{K}{1-\sigma_0}. − I ≤ ∫ 1 Y t 4 d t + 1 − σ 0 K = 68 log q + 1 − σ 0 K .
For the upper bound, c ( n ) ≤ ( q − 1 ) 1 [ n ≡ 1 ( m o d q ) ] c(n) \le(q-1)1_{[n \equiv1\pmod q]} c ( n ) ≤ ( q − 1 ) 1 [ n ≡ 1 ( mod q )] gives
∫ 1 Y T ( t ) t 2 d t ≤ ( q − 1 ) ∑ n ≤ Y n ≡ 1 ( m o d q ) Λ ( n ) ∫ n ∞ ( 1 − n t ) d t t 2 = q − 1 2 ∑ 1 < n ≤ q 17 n ≡ 1 ( m o d q ) Λ ( n ) n . \begin{aligned}
\int_1^Y \frac{T(t)}{t^2}\,\mathrm{d}t \le(q-1)\sum_{\substack{n\le Y\\ n\equiv1\pmod q}}\Lambda(n)\int_n^\infty\left(1-\frac{n}{t}\right)\frac{\mathrm{d}t}{t^2} \\
&= \frac{q-1}{2}\sum_{\substack{1<n\le q^{17}\\ n\equiv1\pmod q}}\frac{\Lambda(n)}{n}.
\end{aligned} ∫ 1 Y t 2 T ( t ) d t ≤ ( q − 1 ) n ≤ Y n ≡ 1 ( mod q ) ∑ Λ ( n ) ∫ n ∞ ( 1 − t n ) t 2 d t = 2 q − 1 1 < n ≤ q 17 n ≡ 1 ( mod q ) ∑ n Λ ( n ) .
which is at most C 0 2 log q log log q \frac{C_0}{2}\log q\log\log q 2 C 0 log q log log q by Lemma 6.3. Hence
I ≤ C 0 2 log q log log q + K 1 − σ 0 , I \le\frac{C_0}{2}\log q\log\log q+\frac{K}{1-\sigma_0}, I ≤ 2 C 0 log q log log q + 1 − σ 0 K ,
and both bounds follow since log q > 1 \log q>1 log q > 1 and log log q > 1 / 11 \log\log q>1/11 log log q > 1/11 .
Data and code availability
The Lean 4 formalisation of every proof in this paper, compiled together with the unchanged Lean sources of the zero-free half-plane [11 ] , and the programs that check the numerical steps are in the repository https://github.com/creelie/Breakthrough-problems-3 , release v1.1.2, https://github.com/creelie/Breakthrough-problems-3/releases/tag/v1.1.2 [2 ] . The main theorems are Vinogradov.PV.polya_vinogradov_loglog (Theorem 1.1 ), Vinogradov.logDeriv_one_le and Vinogradov.sum_logDeriv_one (Theorem 1.3 ) and Vinogradov.MV.weak_mv (Theorem 4.1 ); they depend only on the axioms propext, Classical.choice and Quot.sound.
The proofs, the Lean 4 formalisation, the checking programs and the text of this paper were drafted with Claude (Anthropic), used under the direction of the authors, who checked every statement and take full responsibility for the content of the paper, including its correctness and its citations. The ideas that came from this work are: replacing the generalised Riemann hypothesis on the major arcs by the half-plane of Theorem 1.2 (§ 3 , Corollary 3.8 and Lemma 5.3 ); the weak form of the Montgomery–Vaughan bound with Selberg’s sieve as its only arithmetic input (§ 4 ); and the dyadic application of Selberg’s sieve to prime powers in progressions (Lemma 6.3 ). Theorem 1.2 is the work of OpenAI [11 ] and is not claimed here. Deep Bhattacharjee
Formerly, Electro-Gravitational Space Propulsion Laboratory (EGSPL), Bhubaneswar, Odisha 751030, India; Formerly, University of Calcutta, Senate House, 87/1 College Street, Kolkata 700073, West Bengal, India
E-mail : itsdeep@live.com
E-mail : d.bhattacharjee@erl-forschung.de
https://orcid.org/0000-0003-0466-750X
Ushashi Bhattacharya
Formerly, National Taiwan University, Taipei 106319, Taiwan
E-mail : rai.bhattacharya.in@gmail.com
https://orcid.org/0009-0002-2254-3914