1 Introduction
The truncated Perron formula relates the summatory function of an arithmetic function to a contour integral that may be estimated using techniques from complex analysis. Let $F(s) = \sum _{n=1}^{\infty } f(n) n^{-s}$ be absolutely convergent on $\operatorname {Re} s> c_F$ ; examples include the Riemann zeta function, Dirichlet L-functions, the Dedekind zeta function associated with a number field, and Artin L-functions. The truncated Perron formula tells us that if $x>0$ is not an integer, $T\geq 1$ , and $c> c_F$ , then
in which $O^*(g(x)) = h(x)$ means $|h(x)|\leq g(x)$ (see [Reference Koukoulopoulos8, Chapter 7], [Reference Montgomery and Vaughan10, Section 5.1], [Reference Murty11, Example 4.4.15], and [Reference Tenenbaum15, Section II.2]). We let T depend on x, and let $c = c_F + 1/\log {x}$ , so that $x^c = ex^{c_F}$ . A variation of (1.1) improves the order of the error term by truncating the integral at $\pm T^*$ for an unknown $T^*\in [T,O(T)]$ [Reference Cully-Hugill and Johnston3], although this is inconvenient if one must avoid $T^*$ that correspond to the ordinates of nontrivial zeros of $F(s)$ . The authors of [Reference Cully-Hugill and Johnston3] have also informed us in a personal communication that their paper inherited an unfortunate typo from another paper, so the error term in their variation of the truncated Perron formula could be worse by a factor of $\log {x}$ ; this means that our main result (Theorem 1.1) will be comparable in strength and more straightforward to apply when compared against the outcome of their result.
For $\operatorname {Re}{s}> 1$ , the logarithm of the Riemann zeta function $\zeta (s) = \sum _{n=1}^{\infty } n^{-s}$ is $\log \zeta (s) = \sum _{n=1}^{\infty } \Lambda (n)(\log n)^{-1}n^{-s}$ , in which $\Lambda (n)$ is the von Mangoldt function. The logarithm of a typical L-function is of the form $\sum _{n=1}^{\infty } \Lambda (n)a_n(\log n)^{-1}n^{-s}$ , in which the $a_n$ are easily controlled. For example, $|a_n| \leq 1$ for Dirichlet L-functions and $|a_n|\leq d$ for Artin L-functions of degree d (see [Reference Iwaniec and Kowalski7, Chapter 5]. In these cases, the error term in (1.1) with $c = 1/\log {x}$ is on the order of
Granville and Soundararajan used ( 1.2 ) with Dirichlet L-functions to study large character sums [Reference Granville and Soundararajan6, equation (8.1)]. Cho and Kim applied it to Artin L-functions to obtain asymptotic bounds on Dedekind zeta residues [Reference Cho and Kim1, Proposition 3.1]. A bilinear relative of (1.2) appears in Selberg’s work on primes in short intervals [Reference Selberg14, Lemma 4]. Analogous sums arise with the logarithmic derivative of an L-function in [Reference Davenport4, p. 106] and [Reference Patterson12, p. 44].
We improve upon (1.2) asymptotically and explicitly in the following result.
Theorem 1.1 If $x \geq 3.5$ is a half integer and $T \geq (\log \frac {3}{2})^{-1}> 2.46$ , then
in which
Our result has a wide and explicit range of applicability. For example, the following corollary employs (1.1) with $T=x$ and $c = 1/\log {x}$ . Since one can use analytic techniques to see the integral below is asymptotic to $\log {L(1,\chi )}$ , one can relate $\log {L(1,\chi )}$ to a short sum. We hope to do so explicitly in the future.
Corollary 1.2 Let $L(s, \chi )$ be an entire Artin L-function of degree d such that
with $a(p^k) = \alpha _1(p)^k + \cdots + \alpha _d(p)^k$ for prime p. Then, with $R(x)$ as in ( 1.4 ), we have
2 Preliminaries
Here, we establish several lemmas needed for the proof of Theorem 1.1.
Lemma 2.1 If $\sigma>0$ , then $\log \zeta (1+\sigma ) \leq - \log \sigma + \gamma \sigma $ .
Proof For $s> 1$ , we have $\zeta (s) \leq e^{\gamma (s-1)}/(s-1)$ [Reference Ramaré13, Lemma 5.4]. Let $s = 1+\sigma $ and take logarithms to obtain the desired result.
For real $z,w$ , the equation $z = we^w$ can be solved for w if and only if $z \geq -e^{-1}$ . There are two branches for $-e^{-1} \leq z < 0$ . The lower branch defines the Lambert $W_{-1}(z)$ function [Reference Corless, Gonnet, Hare, Jeffrey and Knuth2], which decreases to $-\infty $ as $z\to 0^-$ (see Figure 1a). For $n \geq 6>2e$ , we define the strictly increasing sequence
Lemma 2.2 For $n \geq 8$ , we have $\frac {2y_n}{\log y_n} = n$ and $ y_n \geq \frac {n}{2} \log n$ .
Proof For $n \geq 6$ , the definition of $W_{-1}$ and (2.1) confirm that $\frac {2y_n}{\log y_n} = n$ . Thus, the desired inequality is equivalent to $W_{-1}(\frac {-2}{n} ) \leq -\log n$ . Since $f(w) = we^w$ decreases on $(-\infty ,-1]$ (Figure 1b) and $-\frac {1}{e} < -\frac {2}{n} <0$ , the desired inequality is equivalent to
which holds whenever $\log n \geq 2$ . This occurs for $n \geq e^2 \approx 7.38906$ .
Remark 2.3 For all $-e^{-1} \leq x < 0$ , the bound $W_{-1}(x) \leq \log (-x) - \log (-\log (-x))$ is valid (see [Reference Lóczi9, equations (8) and (39)]). It follows from this observation and (2.1) that
which also implies Lemma 2.2 for $n\geq 15$ .
The next lemma is needed later to handle a few exceptional primes.
Lemma 2.4 Let $x>1$ be a half integer, and let $C = \frac {1284699552}{444215525}= 2.89206\ldots $ .
-
1. Let $p_{-8} < p_{-7} < \cdots < p_{-1} < x$ denote the largest eight primes (if they exist) in the interval $(\frac {x}{2},x)$ . We have the sharp bound
(2.2) $$ \begin{align} F_1(x) = \sum_{1 \leq n \leq 8} \frac{1}{ x-p_{-n} } \leq C \end{align} $$(see Figure 2a). The corresponding summand in ( 2.2 ) is zero if $p_{-n}$ does not exist. -
2. Let $x<p_1 <p_2<\cdots < p_8$ denote the smallest eight primes (if they exist) in the interval $(x,\frac {3x}{2})$ . We have the sharp bound
(2.3) $$ \begin{align} F_2(x) = \sum_{1 \leq n \leq 8} \frac{1}{p_n -x} \leq C \end{align} $$(see Figure 2a). The corresponding summand in ( 2.3 ) is zero if $p_{n}$ does not exist.
Proof (a) If $x \geq 10.5$ , then $2,3,5 \notin (\frac {x}{2},x)$ . Computation confirms that
for $x \leq 9.5$ . If $x \geq 10.5$ , then any prime in $(\frac {x}{2},x)$ is congruent to one of $1, 7, 11, 13, 17, 19, 23, 29 \pmod {30}$ . There are finitely many patterns modulo $30$ that the $p_{-8},p_{-7},\ldots ,p_{-1}$ may assume. Among these, computation confirms that $F_1(x)$ is maximized if
which yields the desired upper bound C. This prime pattern first occurs for $x = 88,819.5$ (see https://oeis.org/A022013).
(b) If $x \geq 5.5$ , then $2,3,5 \notin (x, \frac {3x}{2})$ . Observe that $F_2(x) \leq 2$ for $x \leq 4.5$ (attained at $x=1.5, 2.5, 4.5$ ). If $x \geq 5.5$ , then (as in (a)), any prime in $(x,\frac {3x}{2})$ is congruent to one of $1, 7, 11, 13, 17, 19, 23, 29 \pmod {30}$ . It follows that $F_2(x)$ is maximized if
which yields the desired upper bound C. This prime pattern occurs for $x=10.5$ , but not all eight primes lie in $(x,\frac {3}{2}x)$ . Therefore, the first admissible value is $x = 15,760,090.5$ (see https://oeis.org/A022011).
We also need an elementary estimate on kth powers in intervals.
Lemma 2.5 Let $X> 1$ be a noninteger, $h>1$ , and $k\geq 2$ .
-
(1) There are at most $N_k + 1$ perfect kth powers in $[X,X+h)$ , in which $N_k \leq \frac {h}{k \sqrt {X}}$ .
-
(2) The shortest gap between kth powers in $[X,X+h)$ (if they exist) is $G_k \geq k \sqrt {X}$ .
Proof We may assume that X is so large that $N_k \geq 1$ . Let $m = \lceil X^{\frac {1}{k}} \rceil $ so that $m^k$ is the first kth power larger than X. Consider the gaps $g_1,g_2,\ldots ,g_{N_k}$ between the $N_k$ consecutive kth powers in $[X,X+h)$ (see Figure 3). Then
The desired inequality follows since $N_k G_k \leq g_1 + g_2+ \cdots + g_{N_k} \leq h$ .
Finally, we need an estimate on the nth harmonic number $H_n = \sum _{j=1}^n \frac {1}{j}$ :
in which $\gamma $ is the Euler–Mascheroni constant [Reference Tóth and Mare16]. We require the upper bound
3 Proof of Theorem 1.1
In what follows, $x\in \mathbb {N}+ \frac {1}{2} = \{ \frac {3}{2}, \frac {5}{2}, \frac {7}{2},\ldots \}$ and $c= \frac {1}{\log x}$ . Minor improvements below are possible; these were eschewed in favor of a final estimate of simple shape.
3.1 When n is very far from x
Suppose that $n \leq \frac {x}{2}$ or $\frac {3x}{2} \geq n$ . Then $\log \frac {x}{n} \leq -\log \frac {3}{2}$ or $\log \frac {3}{2} <\log 2 \leq \log \frac {x}{n}$ , so $|\log \frac {x}{n}| \geq \log \frac {3}{2}$ . If $T \geq (\log \frac {3}{2})^{-1}> 2.46$ , then
For such T, the previous inequality and Lemma 2.1 imply (recall that $c = \frac {1}{\log x}$ )
3.2 Reduction to a sum over prime powers
Suppose that $\frac {x}{2} < n < \frac {3x}{2}$ . Let $z = 1-\frac {n}{x}$ and observe that $|z| < \frac {1}{2}$ . Then
in which the function in parentheses is positive and achieves its minimum value $2 \log \frac {3}{2} = 0.81093\ldots $ on $|z| < \frac {1}{2}$ at its left endpoint $-\frac {1}{2}$ (see Figure 4a). Then
whose validity is illustrated in Figure 4b. Therefore,
and hence
in which the final two sums run over all prime powers $p^k$ in the stated interval.
The remainder of the proof uses ideas from [Reference Goldston5, Lemma 2] to estimate
3.3 The sum over primes
First observe that
We require the Brun–Titchmarsh theorem (see [Reference Montgomery and Vaughan10, Corollary 2]):
3.3.1 The lower sum over primes
Let $p_{-k} < p_{-(k-1)} < \cdots < p_{-2} < p_{-1}$ be the primes in $(\frac {x}{2}, x)$ ; note that $k \leq \frac {x}{2}$ . Apply (3.6) with $X = x-y_n$ and $Y = y_n$ to get
by Lemma 2.2, so $(x-y_n,x]$ contains at most n primes. Thus, $p_{-(n+1)} \leq x - y_n$ and
Then Lemma 2.2, which requires $k \geq 8$ , and the integral test provide
which is valid for $k \leq 7$ since Lemma 2.4a shows that the sum is majorized by C.
3.3.2 The upper sum over primes
Let $p_1<p_2< \cdots < p_k$ denote the primes in $(x, \frac {3x}{2})$ and note that $k \leq \frac {x}{2}$ . Then (3.6) with $X = x$ and $Y = y_n$ ensures that
by Lemma 2.2, so $(x, x+y_n]$ contains at most n primes. Thus, $p_{n+1} \geq x + y_n$ and
An argument similar to that above reveals that
3.3.3 Final bound over primes
For $x \in \mathbb {N} + \frac {1}{2}$ , the previous inequalities yield
3.4 The sum over prime powers
We now majorize
3.4.1 Initial reduction
To bound $S_{\mathrm {power}}(x)$ it suffices to majorize
in which the prime powers $p^k$ are replaced with the powers $n^k$ of square free $n \geq 2$ . The square-free restriction ensures that powers such as $2^6 = (2^2)^3 = (2^3)^2$ are not counted multiple times in (3.10). If $\frac {x}{2} < n^k < \frac {3x}{2}$ and $k \geq 2$ , then (since $n \geq 2$ )
3.4.2 Nearest-power sets
The largest contributions to $S_{\mathrm {sqf}}(x)$ come from the powers closest to x. We handle those summands separately and split the sum (3.10) accordingly. For each $k \geq 2$ , the inequalities $\lfloor x^{\frac {1}{k}} \rfloor ^k < x < \lceil x^{\frac {1}{k}} \rceil ^k$ exhibit the two kth powers nearest to x. Define
according to the following rules:
-
• $\mathcal {N}_k$ contains $\lfloor x^{\frac {1}{k}} \rfloor ^k$ if it is square free and belongs to $( \frac {x}{2}, \frac {3x}{2} )$ .
-
• $\mathcal {N}_k$ contains $\lceil x^{\frac {1}{k}} \rceil ^k$ if it is square free and belongs to $( \frac {x}{2},\frac {3x}{2} )$ .
Consequently, $\mathcal {N}_k$ , if nonempty, contains only powers that satisfy the restrictions in (3.10). The square-free condition ensures that $\mathcal {N}_j \cap \mathcal {N}_k = \varnothing $ for $j \neq k$ .
Write $S_{\mathrm {sqf}}(x) = S_{\text {near}}(x) + S_{\text {far}}(x)$ , in which
3.4.3 Near Sum
For $x\geq 3.5$ , a nearest-neighbor overestimate provides
Let us elaborate on a crucial step above. Consider the at most $\lfloor 2 \log x \rfloor - 1$ pairs of values $|x-m|$ that arise as m ranges over each $\mathcal {N}_k$ with $2 \leq k \leq \lfloor 2 \log x \rfloor $ (since $\mathcal {N}_j(x) \cap \mathcal {N}_k = \varnothing $ for $j \neq k$ , no m appears more than once). Replace these values with the absolute deviations of x from its $2 \times (\lfloor 2 \log x \rfloor - 1)$ nearest neighbors $\lfloor x \rfloor -j$ (to the left) and $\lceil x \rceil +j$ (to the right), in which $0 \leq j \leq \lfloor 2 \log x \rfloor -2$ . Since $x \in \mathbb {N}+\frac {1}{2}$ , these deviations are of the form $\ell - \frac {1}{2}$ for $1 \leq \ell \leq \lfloor 2\log x \rfloor -1$ .
3.4.4 Splitting the second sum
From (3.13), the second sum in question is
in which
For $k \geq 2$ , Lemma 2.5 with $X =h= \frac {x}{2}$ , then with $X = x$ and $h = \frac {x}{2}$ , implies that
are admissible in Figure 5. For $1\leq j\leq N^-_k$ and $1\leq j\leq N^+_k$ , respectively,
Let $N_k^{\pm } \geq 1$ , since otherwise the corresponding sum estimated below is zero. Then
and
Therefore,
and
4 Conclusion
For $x \geq 3.5$ , with $T \geq (\log \frac {3}{2})^{-1}$ , the sum (1.3) is bounded by
Acknowledgment
E.S.L. thanks the Heilbronn Institute for Mathematical Research for their support. We also thank the referee for their suggestions.