1. Introduction
In this paper, we study the behaviour of partial Euler products of automorphic L-functions at the central point of their critical strip. The study of partial Euler products for the Riemann zeta function at the central point was initiated by Ramanujan during his study of highly composite numbers; Ramanujan’s initial investigations were published in [Reference Ramanujan 28 ], but his complete work on the subject remained in his “lost notebook” and was only published in 1997 in [Reference Ramanujan 29 ]. Another motivation for investigating the behaviour of Euler products at the central point dates back to the original version of the Birch and Swinnerton-Dyer conjecture.
Conjecture 1·1 (Birch and Swinnerton-Dyer [
Reference Birch and Swinnerton-Dyer4
]). Let
$E/\mathbb Q$
be an elliptic curve with rank r and for each prime p, let
$N_p=\#E_{\mathrm{ns}}(\mathbb F_p)$
, where
$E_{\mathrm{ns}}(\mathbb F_p)$
denotes the set of non-singular
$\mathbb F_p$
-rational points on a minimal Weierstrass model for E at p. Then we have that

as
$x \to \infty$
for some non-zero constant C depending only on E.
This conjecture can be viewed as an assertion about the asymptotics of the partial Euler product at the central point
$s=1$
of the L-function L(s, E) attached to E. If we let
$N_E$
denote the conductor of E and define
$a_p=p+1-N_p$
for
$p \nmid N_E$
and let
$a_p=p-N_p$
for
$p | N_E$
, L(s, E) is defined for
${\mathrm{Re}}(s) \gt {3}/{2}$
by

By the work of Wiles [Reference Wiles
35
], Taylor–Wiles [Reference Taylor and Wiles
34
] and Breuil–Conrad–Diamond–Taylor [Reference Breuil, Conrad, Diamond and Taylor
5
], L(s, E) admits an analytic continuation to the the entire complex plane and has a functional equation relating values at s and
$2-s$
. Defining

to be the partial Euler product at
$s=1$
, Conjecture 1·1 can be reformulated to assert that

as
$x \to \infty$
. Conjecture 1·1 has since motivated the study of partial Euler products of L-functions in their critical strip. For instance, if
$\chi$
is a non-trivial Dirichlet character with associated Dirichlet L-function
$L(s, \chi)$
, Conrad has shown (see [
Reference Conrad6
, theorem 3·3]) that the equality

for all s with
$\textrm{Re}(s) \gt {1}/{2}$
is equivalent to the Generalised Riemann Hypothesis for
$L(s, \chi)$
. More generally, in the case of entire L-functions, Conrad showed that the convergence of the Euler product in the right-half of the critical strip is equivalent to the Generalised Riemann Hypothesis for the L-function. It is natural to investigate the convergence of the Euler product on the critical line as well. It is believed that, except at the zeros on the critical line, Euler products of entire L-functions should also converge everywhere on the critical line, and the limit of the Euler product at a point on the line should equal the value of the L-function at the point i.e. the analogue of equation (1) should also hold everywhere on the critical line except on the set containing the zeros of the L-function. However, at the central point, there is often an unexpected factor of
$\sqrt 2$
that is known to appear in the Euler product asymptotics.
For instance, Goldfeld [Reference Goldfeld 13 ] showed that if Conjecture 1·1 is true, then

where
$\gamma$
is Euler’s constant; thus if
$P_E(x)$
, the partial Euler product at the centre, converges to a non-zero value as
$x \to \infty$
, then its value is
$L(1, E)/\sqrt 2$
(as opposed to simply L(1, E)). A conceptual explanation of the unexpected appearance of
$\sqrt 2$
was subsequently given by Conrad in terms of second moment L-functions. If an L-function L(s), which we henceforth assume is normalised so its centre is at
$s={1}/{2}$
, is given by an Euler product

its second moment L-function is given by

and in practice is the ratio of the corresponding symmetric square L-function and the exterior square L-function. Let
$R={\mathop{\mathrm{ord}}}_{s=1}L_2(s)$
; Conrad showed that if the Euler product at the centre converges, then its value equals
$ L({1}/{2})/\sqrt 2^{R}$
.
Example 1·2. If
$\chi$
is a Dirichlet character,
$L_2(\chi, s)=L(\chi^2, s)$
. Hence, if
$\chi$
is a quadratic character, then
$R=-1$
; thus for a quadratic character, if
$\lim\limits_{x \to \infty} \prod \limits _{p \leq x} (1-\chi(p)p^{-1/2})^{-1}$
exists, then

Based on the above phenomena Kurokawa et al. (see for instance [Reference Kaneko, Koyama and Kurokawa 18 ] or [Reference Kimura, Koyama and Kurokawa 19 ]) formulated a general conjecture about the convergence of partial Euler products at the centre of the critical strip. This conjecture has been called the “Deep Riemann Hypothesis”, since it not only implies the Generalised Riemann Hypothesis but, as we explain below, seems in a precise sense to lie deeper than the Generalised Riemann Hypothesis.
We now briefly explain this conjecture in the setting of general automorphic L-functions attached to an irreducible cuspidal automorphic representation
$\pi$
of
${\mathrm{GL}}_n(\mathbb{A}_{\mathbb{Q}})$
. We choose to work in this very general setting since in the applications in Section 4 of the paper, we consider a wide range of L-functions (attached to Dirichlet characters, elliptic curves and modular forms), and it is useful for us to have a general framework that encompasses these different L-functions. Indeed, according to the Langlands conjectures, the most general L-functions can all be expressed as products of L-functions attached to cuspidal automorphic representations of
${\mathrm{GL}}_{n}(\mathbb{A}_{\mathbb{Q}})$
, and all the L-functions needed in our applications are known to be examples of automorphic L-functions. Any automorphic L-function (see Section 2) can be written in the form

where, for the unramified primes p, the
$\alpha_{j,\, p}$
’s are the Satake parameters for the local representation
$\pi_p$
. We let
$\nu(\pi) = m(\mathrm{sym}^{2} \pi)-m(\wedge^{2} \pi) \in {\mathbb{Z}}$
, where
$m(\rho)$
denotes the multiplicity of the trivial representation
$\textbf{1}$
in
$\rho$
. If we let
$L_2(s, \pi)$
denote the second moment L-function associated to
$L(s, \pi)$
, we have that
$\nu(\pi)=-R(\pi)$
, where as above
$R(\pi)\;:\!={\mathop{\mathrm{ord}}}_{s=1} L_2(s, \pi)$
. Throughout this paper, we also assume that
$L(s, \pi)$
is entire.
Conjecture 1·3 (Kaneko–Koyama–Kurokawa [
Reference Kaneko, Koyama and Kurokawa18
]). Keep the assumptions and notation as above. Let
$m = {\mathop{\mathrm{ord}}}_{s = 1/2} L(s, \pi)$
. Then the limit

satisfies the following conditions:
-
(A) the limit (2) exists and is non-zero;
-
(B) the limit (2) satisfies
\begin{equation*}\lim_{x \to \infty} \left((\!\log x)^{m} \prod_{p \leq x} \prod_{j=1}^n \left(1-\alpha_{j,\, p} p^{-\frac{1}{2}} \right)^{-1} \right) = \frac{\sqrt{2}^{ \nu (\pi) }}{e^{m \gamma} m!} \cdot L^{(m)} \left(\frac{1}{2}, \pi \right).\end{equation*}
By truncating the Euler product at large x for a wide range of L-functions, there is now numerical evidence for Conjecture 1·3 (see for instance [
Reference Conrad6
, p. 281] or [
Reference Kimura, Koyama and Kurokawa19
, section 3]). As another piece of evidence, we also mention that the function field analogue of the conjecture has been proven by Kaneko–Koyama–Kurokawa (see [
Reference Kaneko, Koyama and Kurokawa18
, theorem 5·2]). To explain the relation between Conjecture 1·3 and the Generalised Riemann Hypothesis (for the L-function
$L(s, \pi)$
), let
$a_{\pi}(p^k)=\alpha_{1,\, p}^k+ \cdots +\alpha_{n,\, p}^k$
and let

Then the Generalised Riemann Hypothesis is equivalent to the estimate

while Conjecture 1·3 is equivalent to the estimate

In this quantitative sense, Conjecture 1·3 seems deeper than the Generalised Riemann Hypothesis. The estimate in equation (4) is indeed plausible; an analysis of Montgomery [
Reference Montgomery25
] about the vertical distribution of zeros of L-functions on the critical line suggests that the true order of magnitude of
$\psi(x, \pi)$
is at most
$O( \sqrt x ( \log \log \log x)^2)$
, which would imply (4).
However, the error term may not be the best way to determine the precise relation between the Generalised Riemann Hypothesis and Conjecture 1·3; for instance, the Generalised Riemann Hypothesis is also equivalent to the slightly weaker error term
$\psi(x, \pi)= O(x^{\frac{1}{2}+\epsilon})$
for any
$\epsilon \gt 0$
. Since Conjecture 1·3 concerns the convergence of the Euler product at the centre of the critical strip, it is natural to ask whether the Generalised Riemann Hypothesis can be related to the Euler product at the centre as well. Our first result answers this question in the affirmative, by showing that in fact the Generalised Riemann Hypothesis implies Conjecture 1·3 outside a set of finite logarithmic measure. We first recall the following definition.
Definition 1·4. Let
$S \subseteq \mathbb R_{\geq 2}$
be a measurable subset of the real numbers. The logarithmic measure of S is defined to be

We remark that since we are working in this level of generality, we also need to assume the Ramanujan–Petersson conjecture for
$\pi$
(we refer to Section 2 for the description of this conjecture and for the cases it has been proven).
Theorem A (Theorem 3·9). Let
$\pi$
be an irreducible cuspidal automorphic representation of
${\mathrm{GL}}_{n}(\mathbb{A}_{\mathbb{Q}})$
such that
$L(s, \pi)$
is entire and let
$m = {\mathop{\mathrm{ord}}}_{s = \frac{1}{2}} L(s, \pi)$
. Assume the Ramanujan–Petersson Conjecture and the Generalised Riemann Hypothesis for
$L(s, \pi)$
. Then there exists a subset
$S \subseteq \mathbb R_{\geq 2}$
of finite logarithmic measure such that for all
$x \not \in S$
,

The method of proof first consists of developing a suitable version of an explicit formula for
$L(s, \pi)$
(Proposition 3·1) that allows us to establish the asymptotic behaviour of partial Euler products of
$L(s, \pi)$
in the right-half of the critical strip (Theorem 3·2). One of the terms in this asymptotic formula involves contributions coming from the zeros of
$L(s, \pi)$
; this term is the most delicate to handle, and the standard bound in equation (3) coming from the Generalised Riemann Hypothesis will not suffice. Rather, we need the refined estimate
$\psi(x, \pi)= O( \sqrt x (\!\log \log x)^2)$
, which holds, conditional on the Generalised Riemann Hypothesis, outside a set of finite logarithmic measure (Theorem 3·5). The method described here builds upon previous work of the author [Reference Sheth
33
], where these techniques were used to study the relations between the original and modern formulations of the Birch and Swinnerton–Dyer conjecture. In this paper, we further explore applications of these ideas to questions concerning Chebyshev’s bias.
1·1. Applications to Chebyshev’s bias
Chebyshev’s bias originally referred to the phenomenon that, even though the primes are equidistributed in the multiplicative residue classes mod 4, there seem to be more primes congruent to 3 mod 4 than 1 mod 4. Let
$\pi(x; q, a)$
denote the number of primes up to x congruent to a modulo q and let
$S=\{x \in \mathbb R_{\geq 2}: \pi(x; 4, 3)-\pi(x; 4, 1) \gt 0\}$
. Building on Chebyshev’s observations, Knapowski–Turán [Reference Knapowski and Turán
20
] conjectured that the proportion of postive real numbers lying in the set S would equal 1 as
$x \to \infty$
. However, this conjecture was later disproven by Kaczorowski [Reference Kaczorowski
16
] conditionally on the Generalised Riemann Hypothesis, by showing that the limit does not exist. Rubinstein and Sarnak [Reference Rubinstein and Sarnak
30
] instead considered the logarithmic density

of S; assuming the Generalised Riemann Hypothesis and that the non-negative imaginary parts of zeros of Dirichlet L-functions are linearly independent over
$\mathbb Q$
, they showed that this limit exists and
$\delta(S)=0.9959 \ldots$
, hence giving a satisfactory explanation of this phenomenon. Similar biases have since been observed in various other situations as well. For instance, if
$E/\mathbb Q$
is an elliptic curve and
$a_p$
denotes the trace of the Frobenius at the prime p, then even though
$a_p$
is positive and negative equally often by the Sato–Tate conjecture, Mazur [Reference Mazur
23
] noted

has a bias towards being negative if the rank of E is large. An explanation of this fact was subsquently given by Sarnak [Reference Sarnak 32 ] in the spirit of [Reference Rubinstein and Sarnak 30 ]. A conceptual framework for dealing with problems related to Chebyshev’s bias, generalizing the Rubinstein–Sarnak approach to a wide range of L-functions, was recently given by Devin [Reference Devin 9 ].
In [Reference Aoki and Koyama 1 ], Aoki–Koyama present an alternative approach to describe Chebyshev’s bias that is closely related to the behaviour of Euler products at the centre of the critical strip.
Definition 1·5 (Aoki--Koyama [Reference Aoki and Koyama
1
]). Let
$(c_p)_p \subseteq {\mathbb{R}}$
be a sequence over primes p such that

We say that
$(c_p)_p$
has a Chebyshev bias towards being positive if there exists a positive constant C such that

On the other hand, we say that
$c_p$
is unbiased if

For instance, if we let
$\chi_4$
to be the non-trivial Dirichlet character modulo 4 and
$c_p=\chi_4(p)$
, then the sum in Definition 1·5 becomes

where

is the weighted prime counting function. Using Theorem A, we obtain the following asymptotic for the types of sums appearing in Definition 1·5.
Theorem B (Theorem 4·1). Let
$\pi$
be an irreducible cuspidal automorphic representation of
${\mathrm{GL}}_{n}(\mathbb{A}_{\mathbb{Q}})$
such that
$L(s, \pi)$
is entire and let
$m= {\mathop{\mathrm{ord}}}_{s=1/2} L(s, \pi)$
. Assume the Ramanujan–Petersson Conjecture and the Riemann Hypothesis for
$L(s, \pi)$
. Then there exists a constant
$c_\pi$
such that

for all x outside a set of finite logarithmic measure, where
$R(\pi) ={\mathop{\mathrm{ord}}}_{s=1} L_2(s, \pi)$
.
As applications of this theorem, we obtain results towards Chebyshev’s bias, in the sense of Definition 1·5, for a wide class of equidistributed sequences in number theory.
Corollary A (Corollary 4·2). Let
$\chi_4$
denote the non-trivial Dirichlet character modulo 4. Assume the Generalised Riemann Hypothesis for
$L(\chi_4, s)$
. Then there exists a constant c such that

for all x outside a set of finite logarithmic measure. In particular, in the sense of Definition 1·5, there is a Chebyshev bias towards primes congruent to 3 mod 4.
Corollary B (Corollary 4·3). Let
$\tau(n)$
denote Ramanujan’s tau function. Assume the Generalised Riemann Hypothesis for
$L(s, \Delta)$
. Then there exists a constant c such that

for all x outside a set of finite logarithmic measure. In particular, in the sense of Definition 1·5, the sequence
$\tau(p) p^{-{11}/{2}}$
has a Chebyshev bias towards being positive.
Corollary C (Corollary 4·4). Let
$E/\mathbb Q$
be an elliptic curve with rank
${\mathrm{rk}}(E)$
and Frobenius trace
$a_p$
for each prime p. Assume the Birch and Swinnerton-Dyer conjecture and the Generalised Riemann Hypothesis for L(s, E). Then there exists a constant c depending on E such that

for all x outside a set of finite logarithmic measure. In particular,
$a_p$
has a bias towards being positive if
${\mathrm{rk}}(E)=0$
and a bias towards being negative if
${\mathrm{rk}}(E) \gt 0$
.
Corollary C is a concrete instance of Birch and Swinnerton-Dyer’s initial observations, which motivated them to formulate their celebrated conjecture, that elliptic curves which have more rational points also tend to have more than the expected number of points modulo primes p. Corollaries A, B and C have been inspired by similar statements in [Reference Aoki and Koyama 1 , Reference Kaneko and Koyama 17 , Reference Koyama and Kurokawa 22 ] respectively. The key difference is that the statements in op.cit. assume Conjecture 1·3, but our statements only assume the Generalised Riemann Hypothesis, with the caveat that our asymptotics hold for all x outside an exceptional set. Indeed, as far as we are aware, this is the first instance in the literature where an explanation of the above mentioned phenomenona can be given only assuming the Generalised Riemann Hypothesis; as mentioned above, previous work on the subject, such as the Rubinstein–Sarnak approach, also assume deep conjectures about the linear independence of zeros of the relevant L-functions. Finally, we refer the reader to [Reference Aoki and Koyama 1 ] for more examples of this flavour such as Chebyshev’s bias in the splitting of prime ideals in Galois extension of number fields; we also note that there is related work by Okumura [Reference Okumura 26 ], studying Chebyshev’s bias for Fermat curves of prime degree. Using Theorem B, analogues for all these results can be proven outside a finite set of logarithmic measure assuming only the Generalised Riemann Hypothesis.
2. Preliminary background
In this section, we review the properties of automorphic L-functions that we will need in the rest of the paper. Let
$\pi=\bigotimes'\pi_v$
be an irreducible cuspidal automorphic representation of
${\mathrm{GL}}_{n}(\mathbb{A}_{\mathbb{Q}})$
. Outside a finite set of places, for each finite place p,
$\pi_p$
is unramified and we can associate to
$\pi_p$
a semisimple conjugacy class
$\{A_\pi(p)\}$
in
${\mathrm{GL}}_n(\mathbb C)$
. Such a conjugacy class is parametrised by its eigenvalues
$\alpha_{1,\, p}, \ldots, \alpha_{n,\, p}$
. The local Euler factors
$L_p(s, \pi_p)$
are given by

At the ramified finite primes, the local factors are best described by the Langlands parameters of
$\pi_p$
(see for instance [Reference Rudnick and Sarnak
31
], appendix]). They are of the form
$L_p(s, \pi_p) = P_p(p^{-s})^{-1}$
, where
$P_p(x)$
is a polynomial of degree at most n, and
$P_p(0)$
= 1. We will in this case too write the local factors in the form above, with the convention that we now allow some of the
$\alpha_{j,\, p}$
’s to be zero. The global L-function attached to
$\pi$
is given by

By the works of Godement–Jacquet [Reference Godement and Jacquet
12
] and Jacquet–Shalika [Reference Jacquet and Shalika
15
],
$L(s, \pi)$
defines a holomorphic function for
$s \in \mathbb C$
with
${\mathrm{Re}}(s) \gt 1$
and admits a meromorphic continuation to the entire complex plane. For
${\mathrm{Re}}(s) \gt 1$
we have that

where
$\Lambda(n)$
is the von-Mangoldt function and

Rudnick and Sarnak [Reference Rudnick and Sarnak
31
] have shown that if
$\pi_p$
is unramified, then
$|\alpha_{j,\, p}| \lt p^{\frac{1}{2}-\frac{1}{n^2+1}} $
. In this paper, we will often assume the following stronger result.
Conjecture 2·1 (Ramanujan--Petersson Conjecture). For any p such that
$\pi_p$
is uramified,
$|\alpha_{j,\, p}|= 1$
for all
$j \in \{1, \ldots, n\}$
.
The Ramanujan–Petersson Conjecture is known in certain cases (for instance when
$n=1$
and by the works [Reference Deligne
7
, Reference Deligne and Serre
8
], for all modular L-functions of degree two). The completed L-function of
$L(s, \pi)$
is given by
$\Lambda(s, \pi) = Q(\pi)^{s/2} L_{\infty}(s, \pi) L(s, \pi),$
where
$Q(\pi)$
is the conductor of the representation and the archimedean factor is given by
$L_{\infty}(s, \pi) =\prod_{j=1}^n \Gamma_{\mathbb{R}}(s+\mu_\pi(j)),$
where the
$\mu_\pi(j)$
’s are certain constants and
$\Gamma_{\mathbb{R}}(s)=\pi^{-s/2} \Gamma(s/2)$
. The completed L-function satisfies a functional equation

where
$\epsilon(\pi) \in \mathbb C$
is a complex number of absolute value one and
$\pi^\vee$
is the contragradient representation of
$\pi$
. The set of trivial zeros of
$L(s, \pi)$
is
$\{-2k-\mu_{\pi}(j): k \in \mathbb N \text{ and } j \in \{1, \ldots, n\}\}$
. The Generalised Riemann Hypothesis for
$L(s, \pi)$
is the statement that all the non-trivial zeros of
$L(s, \pi)$
are on the line
$\textrm{Re}(s)={1}/{2}$
.
3. Proof of Theorem A
Throughought this section, we let
$\pi$
be an irreducible cuspidal automorphic representation of
$\textrm{GL}_{n}(\mathbb{A}_{\mathbb{Q}})$
such that the associated L-function
$L(s, \pi)$
is entire. We begin by establishing a suitable version of an explicit formula for
$L(s, \pi)$
.
Proposition 3·1. Let
$s \in \mathbb C \setminus{ \{{1}/{2} \} } $
be a complex number such that
$L(s, \pi) \neq 0$
. We have that

where
$m={\mathop{\mathrm{ord}}}_{s=\frac{1}{2}} L(s, \pi)$
, the sum over
$\rho$
is taken over all non-trivial zeros of
$L(s, \pi)$
(excluding
$\rho={1}/{2}$
) counting multiplicity and is interpreted as
$\lim_{T \to \infty} \sum_{ |\gamma| \leq T}$
, and where the last term of the sum on the left hand side is weighted by half if x is an integer.
Proof. By using Perron’s formula and equation (5), we have that

for
$c \in \mathbb R$
sufficiently large. By shifting the contour to the left and applying Cauchy’s residue theorem, the above integral equals the sum of residues of the integrand in the region
${\mathrm{Re}}(z)\leq c$
.
-
(1) When
$\displaystyle{s+z=\frac{1}{2}, {\mathop{\mathrm{res}}}_{z=\frac{1}{2}-s} \left( \frac{L'(s+z, \pi)}{L(s+z, \pi)} \right)=m}$ , so
${\mathop{\mathrm{res}}}_{z=\frac{1}{2}-s}$
$\displaystyle\left( - \frac{L'(s+z, \pi)}{L(s+z, \pi)} \frac{x^z}{z} \right)=-m \cdot \frac{x^{ \frac {1}{2} } -s}{\frac{1}{2}-s}$ .
-
(2) When
$z=0$ ,
$\displaystyle{{\mathop{\mathrm{res}}}_{z=0} \left( - \frac{L'(s+z, \pi)}{L(s+z, \pi)} \frac{x^z}{z} \right)=-\frac{L'(s, \pi)}{L(s, \pi)}}$ .
-
(3) If
$\rho \neq \frac{1}{2}$ is a non-trivial zero of
$L(s, \pi)$ ,
$\displaystyle{{\mathop{\mathrm{res}}}_{z=\rho-s} \left( - \frac{L'(s+z, \pi)}{L(s+z, \pi)} \frac{x^z}{z} \right)=- r_{\rho} \cdot \frac{x^{\rho-s}}{\rho-s}}$ , where
$r_\rho$ is the order of the zero
$\rho$ . Thus, we obtain a total contribution of
$\displaystyle{-\sum \limits _{\rho \neq \frac{1}{2}}\frac{x^{\rho-s}}{\rho-s}}$ counting multiplicity for all the non-trivial zeros of
$L(s, \pi)$ .
-
(4) Finally, the trivial zeros of
$L(s, \pi)$ are at
$\{-2k-\mu_{\pi}(j): k \in \mathbb N \text{ and } j \in \{1, \ldots, n\}\}$ . Thus, since
$\displaystyle{{\mathop{\mathrm{res}}}_{z=-2k-\mu_\pi(j)-s} \left( - \frac{L'(s+z, \pi)}{L(s+z, \pi)} \frac{x^z}{z} \right)=\frac{x^{-2k-\mu_\pi(j)-s} }{2k+\mu_\pi(j)+s}}$ for all
$k \geq 0$ and
$j \in \{1, 2, \ldots, n \}$ , we get a total contribution of
$\displaystyle{ \sum_{j=1}^n \sum_{k=0}^{\infty} \frac{x^{-2k-\mu_j(\pi)-s}}{2k+\mu_j(\pi)+s}}$ .
We now note that

and for each
$j \in \{1, \ldots, n\}$
, we write

It thus follows that

Theorem 3·2. Assume the Ramanujan–Petersson Conjecture and the Riemann Hypothesis for
$L(s, \pi)$
. Then for a complex number
$s \in \mathbb C$
with
${1}/{2} \lt {\mathrm{Re}}(s) \lt 1$
, we have that

where we have set:
-
(1)
$m={\mathop{\mathrm{ord}}}_{s=\frac{1}{2} } L(s, \pi)$ ,
-
(2)
${\mathrm{Li}}(x)$ is the principal value of
$\displaystyle{\int \limits _0^x \frac{dt}{ \log t}}$ ;
-
(3)
$\displaystyle{R_s(x) = \frac{1}{\log x} \sum \limits_{ \rho \neq \frac{1}{2} } \frac{x^{\rho-s}}{ \rho-s}+ \frac{1}{ \log x} \sum \limits_{\rho \neq \frac{1}{2} } \int_{s}^{\infty} \frac{x^{\rho-z}}{(\rho-z)^2}dz}$ ;
-
(4)
$\displaystyle{U_s(x)= \sum \limits _{\substack{\sqrt x \lt p \leq x}} \frac{(\alpha_{1,p}^2+ \cdots +\alpha_{n,\,p}^2) }{2 p^{2s}}}$ .
Here, the sums in the term
$R_s(x)$
are taken over all non-trivial zeros
$\rho={1}/{2} +i \gamma$
of
$L(s, \pi)$
(excluding
$\rho={1}/{2}$
) counted with multiplicity and are interpreted as
$\lim _{T \to \infty} \sum _{ |\gamma| \leq T}$
, and the integral is taken along the horizontal line starting at s.
Proof. For all
$s \in \mathbb C$
with
${1}/{2} \lt {\mathrm{Re}}(s) \lt 1$
, it follows from Proposition 3·1 and the previous equation that

We now fix
$s_0 \in \mathbb C$
with
${1}/{2} \lt {\mathrm{Re}}(s) \lt 1$
. Integrating this equation along the horizontal straight line from
$s_0$
to
$\infty$
, it follows that:

These integrals can now be analysed in an analogous way as in [
Reference Sheth33
, theorem 2·3] to obtain the desired formula for the partial Euler product in the critical strip; in particular, we note that last term in the above formula contributes to the error term
$O\left( {\log x}/{x^{1/6}} \right)$
in the theorem.
Remark 3·3. The implied constant in the big O term above (and in all big O terms appearing in the paper) depends only on the automorphic representation
$\pi$
and is independent of s.
Remark 3·4. The error term
$O\left({\log x}/{x^{1/6}} \right)$
in Theorem 3·2 is consistent with previous literature on Chebyshev’s bias; see for instance [Reference Bayes, Ford, Hudson and Rubinstein
3
, equation (1·3)].
Let
$\psi(x, \pi)=\sum_{n \leq x} \Lambda(n) a_\pi(n)$
. It is known that, under the Generalised Riemann Hypothesis for
$L(s, \pi)$
,

Using a method introduced by Gallagher in [Reference Gallagher 11 ], it is possible to improve the error term outside a set of finite logarithmic measure.
Theorem 3·5. Let
$\pi$
be an irreducible cuspidal representation of
${\mathrm{GL}}_{n}(\mathbb{A}_{\mathbb{Q}})$
such that
$L(s, \pi)$
is entire. Assume the Riemann Hypothesis for
$L(s, \pi)$
. Then there exists a set S of finite logarithmic measure such that for all
$x \not \in S$
,

Proof. The analogue of this result for the prime counting function
$\psi(x)$
was first proven by Gallagher [Reference Gallagher
11
] and was later generalised in the setting of the theorem by Qu ([
Reference Qu27
, Theorem 1·1]); similar arguments have also been given in [
Reference Koyama21
, Theorem 2] and [
Reference Sheth33
, Theorem 3·4].
As mentioned in the introduction, we let
$R(\pi) ={\mathop{\mathrm{ord}}}_{s=1} L_2(s, \pi)$
, where
$L_2(s, \pi)$
is the second moment L-function associated to
$L(s, \pi)$
and is defined by

As explained in [
Reference Devin9
, example 1], there exists an open subset
$U \supseteq \{s \in \mathbb C: {\mathrm{Re}}(s) \geq 1\}$
such
$L_2(s, \pi)$
can be continued to a meromorphic function on U; thus,
$R(\pi)$
is well-defined. We recall that we set
$\nu(\pi) = m(\mathrm{sym}^{2} \pi)-m(\wedge^{2} \pi) \in {\mathbb{Z}}$
, where
$m(\rho)$
denotes the multiplicity of the trivial representation
$\textbf{1}$
in
$\rho$
and that
$\nu(\pi)=-R(\pi)$
.
Lemma 3·6. There is a constant M such that

Proof. This follows from the work of Conrad, see [ Reference Conrad6 , p. 275].
Remark 3·7. Lemma 3·6 can be regarded as a generalisation of Mertens’s estimate [ Reference Mertens24 ]

Indeed, if all the
$\alpha_{j,\, p}=1$
so that
$L_2(s, \pi)$
is the Riemann zeta function, we recover Mertens’s estimate.
Lemma 3·6 is essentially the main reason why
$\sqrt 2$
shows up in the Euler product asymptotics.
Corollary 3·8. Let
$U_s(x)$
be as in Theorem 3·2. We have that

Proof. We have that

We can now prove our first main theorem.
Theorem 3·9 (Theorem A). Let
$\pi$
be an irreducible cuspidal automorphic representation of
${\mathrm{GL}}_{n}(\mathbb{A}_{\mathbb{Q}})$
such that
$L(s, \pi)$
is entire and let
$m = {\mathop{\mathrm{ord}}}_{s = 1/2} L(s, \pi)$
. Assume the Ramanujan–Petersson conjecture and the Generalised Riemann Hypothesis for
$L(s, \pi)$
. Then there exists a subset
$S \subseteq \mathbb R_{\geq 2}$
of finite logarithmic measure such that for all
$x \not \in S$
,

Proof. We follow the method of [
Reference Sheth33
, theorem 4·2]. When
$s={1}/{2}+{1}/{x}$
, the left-hand side of Theorem 3·2 equals

where we used the fact that

Now

where we used the Ramanujan–Petersson Conjecture and the estimate
$\sum_{p \leq x} {1}/{\sqrt p} \ll {\sqrt x}/{\log x} $
. Thus, when
$s={1}/{2}+{1}/{x}$
,

We now estimate the right-hand side of Theorem 3·9. Write

so that when
$s={1}/{2}+{1}/{x}$
,
$L(s, \pi) \sim a_m \cdot {1}/{x^m}$
as
$x \to \infty$
.
To estimate the contribution coming from the term
${\mathrm{Li}}(x^{\frac{1}{2}-s})$
, we use the classical fact (see for instance [
Reference Finch10
, p.425] or [
Reference Hardy14
, equation (2·2·5)]) that

Applying this when
$s={1}/{2}+{1}/{x}$
yields that

To estimate the contribution coming from the term
$U_s(x)$
we note that
$U_{\frac{1}{2} +\frac{1}{x}}(x) \to U_{\frac{1}{2}}(x)$
as
$x \to \infty$
since, by a similar argument as above, we have that

Using Corollary 3·8, we conclude that when
$s={1}/{2} +{1}/{x}$
,
$U_s(x) \to \nu(\pi) \cdot \log \sqrt 2$
as
$x \to \infty$
.
To estimate the contribution coming from the term

when
$s={1}/{2}+{1}/{x}$
, we begin by noting that

and that

where the convergence of the above sum follows, for instance, from the discussion in [ Reference Devin9 , remark 1]. Thus,

and a similar argument gives

since we are assuming the Riemann Hypothesis for
$L(s, \pi)$
. We thus conclude that

Using the Riemann–von-Mangoldt explicit formula for
$L(s, \pi)$
(see [
Reference Qu27
, theorem 3·1])

it follows that

By Theorem 3·5, we conclude that there exists a set S of finite logarithmic measure such that for all
$x \not \in S$
,

and so for all
$x \not \in S$
,

To estimate the second quantity in the definition of
$R_s(x)$
, we again use the fact that
$\sum \limits_{\rho} {1}/{|\rho|^2}$
converges to conclude that

Thus, in summary, when
$s={1}/{2} +{1}/{x}$
, we conclude that for all
$x \not \in S$
we have that

Combining this with equation (6) proves the theorem.
4. Applications to Chebyshev’s bias
In this section, we use Theorem 3·9 to obtain results towards Chebyshev’s bias in the framework of Aoki–Koyama [Reference Aoki and Koyama 1 ].
Theorem 4·1 (Chebyshev’s bias for Satake parameters). Let
$\pi$
be an irreducible cuspidal automorphic representation of
${\mathrm{GL}}_{n}(\mathbb{A}_{\mathbb{Q}})$
such that
$L(s, \pi)$
is entire and let
$m ={\mathop{\mathrm{ord}}}_{s=1/2} L \left(s, \pi \right)$
. Assume the Generalised Riemann Hypothesis and the Ramanujan-Petersson Conjecture for
$L(s, \pi)$
. Then there exists a constant
$c_\pi$
such that

for all x outside a set of finite logarithmic measure, where
$R(\pi)={\mathop{\mathrm{ord}}}_{s=1} L_2(s, \pi)$
.
Proof. By Theorem 3·9, we have that

for all x outside a set S of finite logarithmic measure. Taking logarithms yields that

for all
$x \not \in S$
. Applying Lemma 3·6, taking real parts and then using the fact that the last term on the left-hand side above converges, we get as desired that

for some constant
$c_\pi$
.
We now proceed to record a number of special cases of the above theorem.
4·1. The mod 4 prime number race
Corollary 4·2. Let
$\chi_4$
denote the non-trivial Dirichlet character modulo 4. Assume the Generalised Riemann Hypothesis for
$L(\chi_4, s)$
. Then there exists a constant c such that

for all x outside a set of finite logarithmic measure. In particular,

for all x outside a set of finite logarithmic measure.
Proof. It is well known that
$L(\chi_{4}, {1}/{2} ) \neq 0$
and by Example 1·2,
$R(\chi_4)=-1$
. The result thus follows from Theorem 4·1.
Corollary 4·2 answers in the affirmative (conditional on the Generalised Riemann Hypothesis and off a finite set of logarithmic measure) a conjecture (that the sum above tends to
$- \infty$
as
$x \to \infty$
) stated at the end of [Reference Aymone
2
]; the results in op.cit. deal with the related problem of studying the sign changes of the partial sums
$\sum \limits _{p \leq x} \chi_4(p)p^{-s}$
for
$0 \lt {\mathrm{Re}}(s) \lt 1$
.
4·2. Chebyshev’s bias for Ramanujan’s
$\tau$
function
We consider the
$\Delta$
function defined by
$ \displaystyle{\Delta(z)=q\prod_{n=1}^{\infty} (1-q^n)^{24}=\sum_{n=1}^{\infty} \tau(n) q^n},$
where
$q= e^{2 \pi i z}$
and
$z \in \mathbb H= \{z \in \mathbb C\,:\, {\mathrm{Im}}(z) \gt 0\}$
. The L-function attached to
$\Delta$
is defined to be

and has an analytic continuation to the entire complex plane.
Corollary 4·3. Assume the Generalised Riemann Hypothesis for
$L(s, \Delta)$
. Then there exists a constant c such that

for all x outside a set of finite logarithmic measure.
Proof. By the work of Deligne [Reference Deligne
7
] we have that
$|\tau(p)| \leq 2 p^{11/2}$
, so we can write
$\tau(p)=2p^{11/2} \cos (\theta_p)$
for a unique
$\theta_p \in [0, \pi]$
. Let
$\pi_\Delta$
denote the automorphic representation corresponding to
$\Delta$
; then we have that
$\displaystyle{L(s, \pi_\Delta)= L \left(s+{11}/{2}, \Delta \right)}.$
An elementary calculation shows that

It is known that
$L \left(s, \pi_\Delta \right) \neq 0$
and
$R(\pi_\Delta)=1$
(see [Reference Koyama and Kurokawa
22
]). Thus, the asymptotic follows from Theorem 4·1 since

4·3. Chebyshev’s bias for Frobenius traces of elliptic curves
Let
$E/\mathbb Q$
be an elliptic curve of conductor
$N_E$
with Frobenius trace
$a_p$
for each prime p and rank
$\textrm{rk}(E)$
.
Corollary 4·4. Assume the Generalised Riemann Hypothesis for L(s, E) and the Birch and Swinnerton-Dyer conjecture. Then there exists a constant c depending on E such that

for all x outside a set of finite logarithmic measure.
Proof. By the Hasse–Weil bound, we can write
$a_p=2 \sqrt p \cos (\theta_p)$
for a unique
$\theta_p \in [0, \pi]$
. As before, we have that the normalised L-function is given by

By [
Reference Conrad6
, example 4·7], the second moment L-function associated to
$L \left( s+{1}/{2}, E \right )$
has a simple zero at
$s=1$
. Thus, noting that the contribution from the factors at the bad primes can be absorbed into the constant, the asymptotic follows from Theorem 4·1 since

Acknowledgements
I would like to thank Shin-ya Koyama for asking the questions that led to this paper and for helpful suggestions. I would also like to thank Adam Harper and Nuno Arala Santos for helpful discussions, and Marco Aymone, Matteo Tamiozzo and Robin Visser for comments on an earlier version of this paper. Lastly, I am very grateful to the anonymous referee for their careful reading of the paper and for very helpful comments and suggestions. The author is supported by funding from the European Research Council under the European Union’s Horizon 2020 research and innovation programme (Grant agreement No. 101001051 — Shimura varieties and the Birch–Swinnerton-Dyer conjecture).