Riemann hypothesis



In mathematics, the Riemann hypothesis is the conjecture that the Riemann zeta function has its zeros only at the negative even integers and complex numbers with real part $1⁄2$. Many consider it to be the most important unsolved problem in pure mathematics. It is of great interest in number theory because it implies results about the distribution of prime numbers. It was proposed by, after whom it is named.

The Riemann hypothesis and some of its generalizations, along with Goldbach's conjecture and the twin prime conjecture, make up Hilbert's eighth problem in David Hilbert's list of twenty-three unsolved problems; it is also one of the Clay Mathematics Institute's Millennium Prize Problems, which offers US$1 million to anyone who solves any of them. The name is also used for some closely related analogues, such as the Riemann hypothesis for curves over finite fields.

The Riemann zeta function ζ(s) is a function whose argument s may be any complex number other than 1, and whose values are also complex. It has zeros at the negative even integers; that is, ζ(s) = 0 when s is one of −2, −4, −6, .... These are called its trivial zeros. The zeta function is also zero for other values of s, which are called nontrivial zeros. The Riemann hypothesis is concerned with the locations of these nontrivial zeros, and states that:

Thus, if the hypothesis is correct, all the nontrivial zeros lie on the critical line consisting of the complex numbers $1⁄2$ + it, where t is a real number and i is the imaginary unit.

Riemann zeta function
The Riemann zeta function is defined for complex s with real part greater than 1 by the absolutely convergent infinite series
 * $$\zeta(s) = \sum_{n=1}^\infty \frac{1}{n^s} = \frac{1}{1^s} + \frac{1}{2^s} + \frac{1}{3^s} + \cdots$$

Leonhard Euler already considered this series in the 1730s for real values of s, in conjunction with his solution to the Basel problem. He also proved that it equals the Euler product
 * $$\zeta(s) = \prod_{p \text{ prime}} \frac{1}{1-p^{-s}}= \frac{1}{1-2^{-s}}\cdot\frac{1}{1-3^{-s}}\cdot\frac{1}{1-5^{-s}}\cdot\frac{1}{1-7^{-s}} \cdots$$

where the infinite product extends over all prime numbers p.

The Riemann hypothesis discusses zeros outside the region of convergence of this series and Euler product. To make sense of the hypothesis, it is necessary to analytically continue the function to obtain a form that is valid for all complex s. Because the zeta function is meromorphic, all choices of how to perform this analytic continuation will lead to the same result, by the identity theorem. A first step in this continuation observes that the series for the zeta function and the Dirichlet eta function satisfy the relation
 * $$\left(1-\frac{2}{2^s}\right)\zeta(s) = \eta(s) = \sum_{n=1}^\infty \frac{(-1)^{n+1}}{n^s} = \frac{1}{1^s} - \frac{1}{2^s} + \frac{1}{3^s} - \cdots,$$

within the region of convergence for both series. However, the zeta function series on the right converges not just when the real part of s is greater than one, but more generally whenever s has positive real part. Thus, the zeta function can be redefined as $$\eta(s)/(1-2/2^s)$$, extending it from Re(s) > 1 to a larger domain: Re(s) > 0, except for the points where $$1-2/2^s$$ is zero. These are the points $$s = 1 + 2\pi in/\log 2$$ where $$n$$ can be any nonzero integer; the zeta function can be extended to these values too by taking limits (see ), giving a finite value for all values of s with positive real part except for the simple pole at s = 1.

In the strip 0 < Re(s) < 1 this extension of the zeta function satisfies the functional equation
 * $$\zeta(s) = 2^s\pi^{s-1}\ \sin\left(\frac{\pi s}{2}\right)\ \Gamma(1-s)\ \zeta(1-s).$$

One may then define ζ(s) for all remaining nonzero complex numbers s (Re(s) ≤ 0 and s ≠ 0) by applying this equation outside the strip, and letting ζ(s) equal the right-hand side of the equation whenever s has non-positive real part (and s ≠ 0).

If s is a negative even integer then ζ(s) = 0 because the factor sin($\pi$s/2) vanishes; these are the trivial zeros of the zeta function. (If s is a positive even integer this argument does not apply because the zeros of the sine function are cancelled by the poles of the gamma function as it takes negative integer arguments.)

The value ζ(0) = −1/2 is not determined by the functional equation, but is the limiting value of ζ(s) as s approaches zero. The functional equation also implies that the zeta function has no zeros with negative real part other than the trivial zeros, so all non-trivial zeros lie in the critical strip where s has real part between 0 and 1.

Origin
"... es ist sehr wahrscheinlich, dass alle Wurzeln reell sind. Hiervon wäre allerdings ein strenger Beweis zu wünschen; ich habe indess die Aufsuchung desselben nach einigen flüchtigen vergeblichen Versuchen vorläufig bei Seite gelassen, da er für den nächsten Zweck meiner Untersuchung entbehrlich schien.

... it is very probable that all roots are real. Of course one would wish for a rigorous proof here; I have for the time being, after some fleeting vain attempts, provisionally put aside the search for this, as it appears dispensable for the immediate objective of my investigation." "At the death of Riemann, a note was found among his papers, saying "These properties of ζ(s) (the function in question) are deduced from an expression of it which, however, I did not succeed in simplifying enough to publish it."

We still have not the slightest idea of what the expression could be. As to the properties he simply enunciated, some thirty years elapsed before I was able to prove all of them but one [the Riemann Hypothesis itself]."

- Jacques Hadamard

Riemann's original motivation for studying the zeta function and its zeros was their occurrence in his explicit formula for the number of primes π(x) less than or equal to a given number x, which he published in his 1859 paper "On the Number of Primes Less Than a Given Magnitude". His formula was given in terms of the related function


 * $$\Pi(x) = \pi(x) + \tfrac{1}{2} \pi(x^{1/2}) +\tfrac{1}{3} \pi(x^{1/3}) + \tfrac{1}{4}\pi(x^{1/4}) + \tfrac{1}{5} \pi(x^{1/5}) +\tfrac{1}{6}\pi(x^{1/6}) +\cdots $$

which counts the primes and prime powers up to x, counting a prime power pn as $1⁄2$. The number of primes can be recovered from this function by using the Möbius inversion formula,


 * $$\begin{align}

\pi(x) &= \sum_{n=1}^\infty \frac{\mu(n)} n \Pi(x^{1/n}) \\ &= \Pi(x) -\frac{1}{2}\Pi(x^{1/2}) - \frac{1}{3}\Pi(x^{1/3}) - \frac{1}{5}\Pi(x^{1/5}) + \frac{1}{6} \Pi(x^{1/6}) -\cdots, \end{align}$$

where μ is the Möbius function. Riemann's formula is then


 * $$\Pi_0(x) = \operatorname{li}(x) - \sum_\rho \operatorname{li}(x^\rho) -\log 2 + \int_x^\infty\frac{dt}{t(t^2-1) \log t}$$

where the sum is over the nontrivial zeros of the zeta function and where Π0 is a slightly modified version of Π that replaces its value at its points of discontinuity by the average of its upper and lower limits:


 * $$\Pi_0(x) = \lim_{\varepsilon \to 0}\frac{\Pi(x-\varepsilon) + \Pi(x+\varepsilon)}2. $$

The summation in Riemann's formula is not absolutely convergent, but may be evaluated by taking the zeros ρ in order of the absolute value of their imaginary part. The function li occurring in the first term is the (unoffset) logarithmic integral function given by the Cauchy principal value of the divergent integral


 * $$\operatorname{li}(x) = \int_0^x \frac{dt}{\log t}.$$

The terms li(xρ) involving the zeros of the zeta function need some care in their definition as li has branch points at 0 and 1, and are defined (for x > 1) by analytic continuation in the complex variable ρ in the region Re(ρ) > 0, i.e. they should be considered as Ei(ρ log x). The other terms also correspond to zeros: the dominant term li(x) comes from the pole at s = 1, considered as a zero of multiplicity −1, and the remaining small terms come from the trivial zeros. For some graphs of the sums of the first few terms of this series see or.

This formula says that the zeros of the Riemann zeta function control the oscillations of primes around their "expected" positions. Riemann knew that the non-trivial zeros of the zeta function were symmetrically distributed about the line and he knew that all of its non-trivial zeros must lie in the range 0 ≤ Re(s) ≤ 1. He checked that a few of the zeros lay on the critical line with real part 1/2 and suggested that they all do; this is the Riemann hypothesis.

Consequences
The practical uses of the Riemann hypothesis include many propositions known to be true under the Riemann hypothesis, and some that can be shown to be equivalent to the Riemann hypothesis.

Distribution of prime numbers
Riemann's explicit formula for the number of primes less than a given number states that, in terms of a sum over the zeros of the Riemann zeta function, the magnitude of the oscillations of primes around their expected position is controlled by the real parts of the zeros of the zeta function. In particular, the error term in the prime number theorem is closely related to the position of the zeros. For example, if β is the upper bound of the real parts of the zeros, then $$\pi(x) - \operatorname{li}(x) = O \left( x^\beta \log x \right)$$, where $$\pi(x)$$ is the prime-counting function, $$\operatorname{li}(x)$$ is the logarithmic integral function, $$\log(x)$$ is the natural logarithm of x, and big O notation is used here. It is already known that 1/2 ≤ β ≤ 1. Von Koch (1901) proved that the Riemann hypothesis implies the "best possible" bound for the error of the prime number theorem. A precise version of Koch's result, due to, says that the Riemann hypothesis implies


 * $$|\pi(x) - \operatorname{li}(x)| < \frac{1}{8\pi} \sqrt{x} \log(x), \qquad \text{for all } x \ge 2657,$$

also showed that the Riemann hypothesis implies


 * $$|\psi(x) - x| < \frac{1}{8\pi} \sqrt{x} \log^2 x, \qquad \text{for all } x \ge 73.2, $$

where $$\psi(x)$$ is Chebyshev's second function.

proved that the Riemann hypothesis implies that for all $$x \geq 2$$ there is a prime $$p$$ satisfying
 * $$x - \frac{4}{\pi} \sqrt x \log x < p \leq x$$.

The constant 4/π may be reduced to (1 + ε) provided that x is taken to be sufficiently large. This is an explicit version of a theorem of Cramér.

Growth of arithmetic functions
The Riemann hypothesis implies strong bounds on the growth of many other arithmetic functions, in addition to the primes counting function above.

One example involves the Möbius function μ. The statement that the equation


 * $$\frac{1}{\zeta(s)} = \sum_{n=1}^\infty \frac{\mu(n)}{n^s}$$

is valid for every s with real part greater than 1/2, with the sum on the right hand side converging, is equivalent to the Riemann hypothesis. From this we can also conclude that if the Mertens function is defined by


 * $$M(x) = \sum_{n \le x} \mu(n)$$

then the claim that


 * $$M(x) = O\left(x^{\frac{1}{2}+\varepsilon}\right)$$

for every positive ε is equivalent to the Riemann hypothesis (J. E. Littlewood, 1912; see for instance: paragraph 14.25 in ). The determinant of the order n Redheffer matrix is equal to M(n), so the Riemann hypothesis can also be stated as a condition on the growth of these determinants. Littlewood's result has been improved several times since then, by Edmund Landau, Edward Charles Titchmarsh, Helmut Maier and Hugh Montgomery, and Kannan Soundararajan. Soundararajan's result is that, conditional on the Riemann hypothesis,
 * $$M(x) = O\left(x^{1/2}\exp\left((\log x)^{1/2}(\log \log x)^{14}\right)\right).$$

The Riemann hypothesis puts a rather tight bound on the growth of M, since disproved the slightly stronger Mertens conjecture


 * $$|M(x)| \le \sqrt x.$$

Another closely related result is due to, that the Riemann hypothesis is equivalent to the statement that the Euler characteristic of the simplicial complex determined by the lattice of integers under divisibility is $$o(n^{1/2+\epsilon})$$ for all $$\epsilon>0$$ (see incidence algebra).

The Riemann hypothesis is equivalent to many other conjectures about the rate of growth of other arithmetic functions aside from μ(n). A typical example is Robin's theorem, which states that if σ(n) is the sigma function, given by


 * $$\sigma(n) = \sum_{d\mid n} d$$

then


 * $$\sigma(n) < e^\gamma n \log \log n$$

for all n > 5040 if and only if the Riemann hypothesis is true, where γ is the Euler–Mascheroni constant.

A related bound was given by Jeffrey Lagarias in 2002, who proved that the Riemann hypothesis is equivalent to the statement that:
 * $$ \sigma(n) < H_n + \log(H_n)e^{H_n}$$

for every natural number n &gt; 1, where $$H_n$$ is the nth harmonic number.

The Riemann hypothesis is also true if and only if the inequality
 * $$\frac{n}{\varphi (n)}<e^\gamma \log\log n+\frac{e^\gamma (4+\gamma-\log 4\pi)}{\sqrt{\log n}}$$

is true for all n ≥ 120569# where φ(n) is Euler's totient function and 120569# is the product of the first 120569 primes.

Another example was found by Jérôme Franel, and extended by Landau (see ). The Riemann hypothesis is equivalent to several statements showing that the terms of the Farey sequence are fairly regular. One such equivalence is as follows: if Fn is the Farey sequence of order n, beginning with 1/n and up to 1/1, then the claim that for all ε > 0


 * $$\sum_{i=1}^m|F_n(i) - \tfrac{i}{m}| = O\left(n^{\frac{1}{2}+\epsilon}\right)$$

is equivalent to the Riemann hypothesis. Here


 * $$m = \sum_{i=1}^n\varphi(i)$$

is the number of terms in the Farey sequence of order n.

For an example from group theory, if g(n) is Landau's function given by the maximal order of elements of the symmetric group Sn of degree n, then showed that the Riemann hypothesis is equivalent to the bound


 * $$\log g(n) < \sqrt{\operatorname{Li}^{-1}(n)}$$

for all sufficiently large n.

Lindelöf hypothesis and growth of the zeta function
The Riemann hypothesis has various weaker consequences as well; one is the Lindelöf hypothesis on the rate of growth of the zeta function on the critical line, which says that, for any ε > 0,


 * $$\zeta\left(\frac{1}{2} + it\right) = O(t^\varepsilon),$$

as $$t \to \infty$$.

The Riemann hypothesis also implies quite sharp bounds for the growth rate of the zeta function in other regions of the critical strip. For example, it implies that


 * $$ e^\gamma\le \limsup_{t\rightarrow +\infty}\frac{|\zeta(1+it)|}{\log\log t}\le 2e^\gamma$$
 * $$ \frac{6}{\pi^2}e^\gamma\le \limsup_{t\rightarrow +\infty}\frac{1/|\zeta(1+it)|}{\log\log t}\le \frac{12}{\pi^2}e^\gamma$$

so the growth rate of ζ(1 + it) and its inverse would be known up to a factor of 2.

Large prime gap conjecture
The prime number theorem implies that on average, the gap between the prime p and its successor is log p. However, some gaps between primes may be much larger than the average. Cramér proved that, assuming the Riemann hypothesis, every gap is O($1/n$ log p). This is a case in which even the best bound that can be proved using the Riemann hypothesis is far weaker than what seems true: Cramér's conjecture implies that every gap is O((log p)2), which, while larger than the average gap, is far smaller than the bound implied by the Riemann hypothesis. Numerical evidence supports Cramér's conjecture.

Analytic criteria equivalent to the Riemann hypothesis
Many statements equivalent to the Riemann hypothesis have been found, though so far none of them have led to much progress in proving (or disproving) it. Some typical examples are as follows. (Others involve the divisor function σ(n).)

The Riesz criterion was given by, to the effect that the bound


 * $$-\sum_{k=1}^\infty \frac{(-x)^k}{(k-1)! \zeta(2k)}= O\left(x^{\frac{1}{4}+\epsilon}\right)$$

holds for all ε > 0 if and only if the Riemann hypothesis holds. See also the Hardy–Littlewood criterion.

proved that the Riemann hypothesis is true if and only if the space of functions of the form


 * $$f(x) = \sum_{\nu=1}^nc_\nu\rho \left(\frac{\theta_\nu}{x} \right)$$

where ρ(z) is the fractional part of z, 0 ≤ θν ≤ 1, and


 * $$\sum_{\nu=1}^nc_\nu\theta_\nu=0,$$

is dense in the Hilbert space L2(0,1) of square-integrable functions on the unit interval. extended this by showing that the zeta function has no zeros with real part greater than 1/p if and only if this function space is dense in Lp(0,1). This Nyman-Beurling criterion was strengthened by Baez-Duarte to the case where $$\theta_\nu \in \{1/k\}_{k\geq 1}$$.

showed that the Riemann hypothesis is true if and only if the integral equation


 * $$\int_0^\infty\frac{z^{-\sigma-1}\varphi(z)}{{e^{x/z}}+1}\,dz=0 $$

has no non-trivial bounded solutions $$\varphi$$ for $$1/2<\sigma <1$$.

Weil's criterion is the statement that the positivity of a certain function is equivalent to the Riemann hypothesis. Related is Li's criterion, a statement that the positivity of a certain sequence of numbers is equivalent to the Riemann hypothesis.

proved that the Riemann hypothesis is equivalent to the statement that $$\zeta'(s)$$, the derivative of $$\zeta(s)$$, has no zeros in the strip


 * $$0 < \Re(s) < \frac12.$$

That $$\zeta(s)$$ has only simple zeros on the critical line is equivalent to its derivative having no zeros on the critical line.

The Farey sequence provides two equivalences, due to Jerome Franel and Edmund Landau in 1924.

The de Bruijn–Newman constant denoted by Λ and named after Nicolaas Govert de Bruijn and Charles M. Newman, is defined as the unique real number such that the function


 * $$H(\lambda, z):=\int_{0}^{\infty} e^{\lambda u^{2}} \Phi(u) \cos (z u)\, d u$$,

that is parametrised by a real parameter λ, has a complex variable z and is defined using a super-exponentially decaying function


 * $$\Phi(u) = \sum_{n=1}^{\infty} (2\pi^2n^4e^{9u} - 3 \pi n^2 e^{5u} ) e^{-\pi n^2 e^{4u}}$$.

has only real zeros if and only if λ ≥ Λ. Since the Riemann hypothesis is equivalent to the claim that all the zeroes of H(0, z) are real, the Riemann hypothesis is equivalent to the conjecture that $$\Lambda\leq 0$$. Brad Rodgers and Terence Tao discovered the equivalence is actually $$\Lambda = 0$$ by proving zero to be the lower bound of the constant. Proving zero is also the upper bound would therefore prove the Riemann hypothesis. As of April 2020 the upper bound is $$\Lambda\leq 0.2$$.

Consequences of the generalized Riemann hypothesis
Several applications use the generalized Riemann hypothesis for Dirichlet L-series or zeta functions of number fields rather than just the Riemann hypothesis. Many basic properties of the Riemann zeta function can easily be generalized to all Dirichlet L-series, so it is plausible that a method that proves the Riemann hypothesis for the Riemann zeta function would also work for the generalized Riemann hypothesis for Dirichlet L-functions. Several results first proved using the generalized Riemann hypothesis were later given unconditional proofs without using it, though these were usually much harder. Many of the consequences on the following list are taken from.
 * In 1913, Grönwall showed that the generalized Riemann hypothesis implies that Gauss's list of imaginary quadratic fields with class number 1 is complete, though Baker, Stark and Heegner later gave unconditional proofs of this without using the generalized Riemann hypothesis.
 * In 1917, Hardy and Littlewood showed that the generalized Riemann hypothesis implies a conjecture of Chebyshev that $$\lim_{x\to 1^-} \sum_{p>2}(-1)^{(p+1)/2} x^p=+\infty,$$ which says that primes 3 mod 4 are more common than primes 1 mod 4 in some sense. (For related results, see .)
 * In 1923, Hardy and Littlewood showed that the generalized Riemann hypothesis implies a weak form of the Goldbach conjecture for odd numbers: that every sufficiently large odd number is the sum of three primes, though in 1937 Vinogradov gave an unconditional proof. In 1997 Deshouillers, Effinger, te Riele, and Zinoviev showed that the generalized Riemann hypothesis implies that every odd number greater than 5 is the sum of three primes. In 2013 Harald Helfgott proved the ternary Goldbach conjecture without the GRH dependence, subject to some extensive calculations completed with the help of David J. Platt.
 * In 1934, Chowla showed that the generalized Riemann hypothesis implies that the first prime in the arithmetic progression a mod m is at most Km2log(m)2 for some fixed constant K.
 * In 1967, Hooley showed that the generalized Riemann hypothesis implies Artin's conjecture on primitive roots.
 * In 1973, Weinberger showed that the generalized Riemann hypothesis implies that Euler's list of idoneal numbers is complete.
 * showed that the generalized Riemann hypothesis for the zeta functions of all algebraic number fields implies that any number field with class number 1 is either Euclidean or an imaginary quadratic number field of discriminant −19, −43, −67, or −163.
 * In 1976, G. Miller showed that the generalized Riemann hypothesis implies that one can test if a number is prime in polynomial time via the Miller test. In 2002, Manindra Agrawal, Neeraj Kayal and Nitin Saxena proved this result unconditionally using the AKS primality test.
 * discussed how the generalized Riemann hypothesis can be used to give sharper estimates for discriminants and class numbers of number fields.
 * showed that the generalized Riemann hypothesis implies that Ramanujan's integral quadratic form x2 + y2 + 10z2 represents all integers that it represents locally, with exactly 18 exceptions.
 * In 2021, Alexander (Alex) Dunn and Maksym Radziwill proved Patterson's conjecture on cubic Gauss sums, under the assumption of the GRH.

Excluded middle
Some consequences of the RH are also consequences of its negation, and are thus theorems. In their discussion of the Hecke, Deuring, Mordell, Heilbronn theorem, say

"The method of proof here is truly amazing. If the generalized Riemann hypothesis is true, then the theorem is true. If the generalized Riemann hypothesis is false, then the theorem is true. Thus, the theorem is true!!"

Care should be taken to understand what is meant by saying the generalized Riemann hypothesis is false: one should specify exactly which class of Dirichlet series has a counterexample.

Littlewood's theorem
This concerns the sign of the error in the prime number theorem. It has been computed that π(x) < li(x) for all x ≤ 1025 (see this table), and no value of x is known for which π(x) > li(x).

In 1914 Littlewood proved that there are arbitrarily large values of x for which
 * $$\pi(x)>\operatorname{li}(x) +\frac13\frac{\sqrt x}{\log x}\log\log\log x,$$

and that there are also arbitrarily large values of x for which
 * $$\pi(x)<\operatorname{li}(x) -\frac13\frac{\sqrt x}{\log x}\log\log\log x.$$

Thus the difference π(x) − li(x) changes sign infinitely many times. Skewes' number is an estimate of the value of x corresponding to the first sign change.

Littlewood's proof is divided into two cases: the RH is assumed false (about half a page of ), and the RH is assumed true (about a dozen pages). followed this up with a paper on the number of times $$ \Delta(n) $$ changes sign in the interval $$ \Delta(n) $$.

Gauss's class number conjecture
This is the conjecture (first stated in article 303 of Gauss's Disquisitiones Arithmeticae) that there are only finitely many imaginary quadratic fields with a given class number. One way to prove it would be to show that as the discriminant $D → −∞$ the class number $h(D) → ∞$.

The following sequence of theorems involving the Riemann hypothesis is described in : $\sqrt{p}$ $$ $$ $$

(In the work of Hecke and Heilbronn, the only L-functions that occur are those attached to imaginary quadratic characters, and it is only for those L-functions that GRH is true or GRH is false is intended; a failure of GRH for the L-function of a cubic Dirichlet character would, strictly speaking, mean GRH is false, but that was not the kind of failure of GRH that Heilbronn had in mind, so his assumption was more restricted than simply GRH is false.)

In 1935, Carl Siegel strengthened the result without using RH or GRH in any way.

Growth of Euler's totient
In 1983 J. L. Nicolas proved that $$\varphi(n) < e^{-\gamma}\frac {n} {\log \log n} $$ for infinitely many n, where φ(n) is Euler's totient function and γ is Euler's constant. Ribenboim remarks that: "The method of proof is interesting, in that the inequality is shown first under the assumption that the Riemann hypothesis is true, secondly under the contrary assumption."

Dirichlet L-series and other number fields
The Riemann hypothesis can be generalized by replacing the Riemann zeta function by the formally similar, but much more general, global L-functions. In this broader setting, one expects the non-trivial zeros of the global L-functions to have real part 1/2. It is these conjectures, rather than the classical Riemann hypothesis only for the single Riemann zeta function, which account for the true importance of the Riemann hypothesis in mathematics.

The generalized Riemann hypothesis extends the Riemann hypothesis to all Dirichlet L-functions. In particular it implies the conjecture that Siegel zeros (zeros of L-functions between 1/2 and 1) do not exist.

The extended Riemann hypothesis extends the Riemann hypothesis to all Dedekind zeta functions of algebraic number fields. The extended Riemann hypothesis for abelian extension of the rationals is equivalent to the generalized Riemann hypothesis. The Riemann hypothesis can also be extended to the L-functions of Hecke characters of number fields.

The grand Riemann hypothesis extends it to all automorphic zeta functions, such as Mellin transforms of Hecke eigenforms.

Function fields and zeta functions of varieties over finite fields
introduced global zeta functions of (quadratic) function fields and conjectured an analogue of the Riemann hypothesis for them, which has been proved by Hasse in the genus 1 case and by in general. For instance, the fact that the Gauss sum, of the quadratic character of a finite field of size q (with q odd), has absolute value $$\sqrt{q}$$ is actually an instance of the Riemann hypothesis in the function field setting. This led to conjecture a similar statement for all algebraic varieties; the resulting Weil conjectures were proved by.

Arithmetic zeta functions of arithmetic schemes and their L-factors
Arithmetic zeta functions generalise the Riemann and Dedekind zeta functions as well as the zeta functions of varieties over finite fields to every arithmetic scheme or a scheme of finite type over integers. The arithmetic zeta function of a regular connected equidimensional arithmetic scheme of Kronecker dimension n can be factorized into the product of appropriately defined L-factors and an auxiliary factor. Assuming a functional equation and meromorphic continuation, the generalized Riemann hypothesis for the L-factor states that its zeros inside the critical strip $$\Re(s)\in (0,n)$$ lie on the central line. Correspondingly, the generalized Riemann hypothesis for the arithmetic zeta function of a regular connected equidimensional arithmetic scheme states that its zeros inside the critical strip lie on vertical lines $$\Re(s)=1/2,3/2,\dots,n-1/2$$ and its poles inside the critical strip lie on vertical lines $$\Re(s)=1, 2, \dots,n-1$$. This is known for schemes in positive characteristic and follows from, but remains entirely unknown in characteristic zero.

Selberg zeta functions
introduced the Selberg zeta function of a Riemann surface. These are similar to the Riemann zeta function: they have a functional equation, and an infinite product similar to the Euler product but taken over closed geodesics rather than primes. The Selberg trace formula is the analogue for these functions of the explicit formulas in prime number theory. Selberg proved that the Selberg zeta functions satisfy the analogue of the Riemann hypothesis, with the imaginary parts of their zeros related to the eigenvalues of the Laplacian operator of the Riemann surface.

Ihara zeta functions
The Ihara zeta function of a finite graph is an analogue of the Selberg zeta function, which was first introduced by Yasutaka Ihara in the context of discrete subgroups of the two-by-two p-adic special linear group. A regular finite graph is a Ramanujan graph, a mathematical model of efficient communication networks, if and only if its Ihara zeta function satisfies the analogue of the Riemann hypothesis as was pointed out by T. Sunada.

Montgomery's pair correlation conjecture
suggested the pair correlation conjecture that the correlation functions of the (suitably normalized) zeros of the zeta function should be the same as those of the eigenvalues of a random hermitian matrix. showed that this is supported by large-scale numerical calculations of these correlation functions.

Montgomery showed that (assuming the Riemann hypothesis) at least 2/3 of all zeros are simple, and a related conjecture is that all zeros of the zeta function are simple (or more generally have no non-trivial integer linear relations between their imaginary parts). Dedekind zeta functions of algebraic number fields, which generalize the Riemann zeta function, often do have multiple complex zeros. This is because the Dedekind zeta functions factorize as a product of powers of Artin L-functions, so zeros of Artin L-functions sometimes give rise to multiple zeros of Dedekind zeta functions. Other examples of zeta functions with multiple zeros are the L-functions of some elliptic curves: these can have multiple zeros at the real point of their critical line; the Birch-Swinnerton-Dyer conjecture predicts that the multiplicity of this zero is the rank of the elliptic curve.

Other zeta functions
There are many other examples of zeta functions with analogues of the Riemann hypothesis, some of which have been proved. Goss zeta functions of function fields have a Riemann hypothesis, proved by. The main conjecture of Iwasawa theory, proved by Barry Mazur and Andrew Wiles for cyclotomic fields, and Wiles for totally real fields, identifies the zeros of a p-adic L-function with the eigenvalues of an operator, so can be thought of as an analogue of the Hilbert–Pólya conjecture for p-adic L-functions.

Attempted proofs
Several mathematicians have addressed the Riemann hypothesis, but none of their attempts has yet been accepted as a proof. lists some incorrect solutions.

Operator theory
Hilbert and Pólya suggested that one way to derive the Riemann hypothesis would be to find a self-adjoint operator, from the existence of which the statement on the real parts of the zeros of ζ(s) would follow when one applies the criterion on real eigenvalues. Some support for this idea comes from several analogues of the Riemann zeta functions whose zeros correspond to eigenvalues of some operator: the zeros of a zeta function of a variety over a finite field correspond to eigenvalues of a Frobenius element on an étale cohomology group, the zeros of a Selberg zeta function are eigenvalues of a Laplacian operator of a Riemann surface, and the zeros of a p-adic zeta function correspond to eigenvectors of a Galois action on ideal class groups.

showed that the distribution of the zeros of the Riemann zeta function shares some statistical properties with the eigenvalues of random matrices drawn from the Gaussian unitary ensemble. This gives some support to the Hilbert–Pólya conjecture.

In 1999, Michael Berry and Jonathan Keating conjectured that there is some unknown quantization $$\hat H$$ of the classical Hamiltonian H = xp so that $$\zeta (1/2+i\hat H) = 0 $$ and even more strongly, that the Riemann zeros coincide with the spectrum of the operator $$1/2 + i \hat H$$. This is in contrast to canonical quantization, which leads to the Heisenberg uncertainty principle $$\sigma_x \sigma_p \geq \frac{\hbar}{2}$$ and the natural numbers as spectrum of the quantum harmonic oscillator. The crucial point is that the Hamiltonian should be a self-adjoint operator so that the quantization would be a realization of the Hilbert–Pólya program. In a connection with this quantum mechanical problem Berry and Connes had proposed that the inverse of the potential of the Hamiltonian is connected to the half-derivative of the function $$ N(s)= \frac{1}{\pi}\operatorname{Arg}\xi(1/2+i\sqrt s)$$ then, in Hilbert-Polya approach $$ V^{-1}(x) = \sqrt{4\pi} \frac{d^{1/2}N(x)}{dx^{1/2}}.$$ This yields a Hamiltonian whose eigenvalues are the square of the imaginary part of the Riemann zeros, and also that the functional determinant of this Hamiltonian operator is just the Riemann Xi function. In fact the Riemann Xi function would be proportional to the functional determinant (Hadamard product) $$\det(H+1/4+s(s-1)) $$ $$\frac{\xi(s)}{\xi(0)}=\frac{\det(H+s(s-1)+1/4)}{\det(H+1/4)}.$$ However this operator is not useful in practice since it includes the inverse function (implicit function ) of the potential but not the potential itself. The analogy with the Riemann hypothesis over finite fields suggests that the Hilbert space containing eigenvectors corresponding to the zeros might be some sort of first cohomology group of the spectrum Spec (Z) of the integers. described some of the attempts to find such a cohomology theory.

constructed a natural space of invariant functions on the upper half plane that has eigenvalues under the Laplacian operator that correspond to zeros of the Riemann zeta function—and remarked that in the unlikely event that one could show the existence of a suitable positive definite inner product on this space, the Riemann hypothesis would follow. discussed a related example, where due to a bizarre bug a computer program listed zeros of the Riemann zeta function as eigenvalues of the same Laplacian operator.

surveyed some of the attempts to construct a suitable physical model related to the Riemann zeta function.

Lee–Yang theorem
The Lee–Yang theorem states that the zeros of certain partition functions in statistical mechanics all lie on a "critical line" with their real part equal to 0, and this has led to some speculation about a relationship with the Riemann hypothesis.

Turán's result
showed that if the functions $$\sum_{n=1}^N n^{-s}$$ have no zeros when the real part of s is greater than one then $$T(x) = \sum_{n\le x}\frac{\lambda(n)}{n}\ge 0\text{ for } x > 0,$$ where λ(n) is the Liouville function given by (−1)r if n has r prime factors. He showed that this in turn would imply that the Riemann hypothesis is true. But proved that T(x) is negative for infinitely many x (and also disproved the closely related Pólya conjecture), and  showed that the smallest such x is 72  185  376  951  205. showed by numerical calculation that the finite Dirichlet series above for N=19 has a zero with real part greater than 1. Turán also showed that a somewhat weaker assumption, the nonexistence of zeros with real part greater than 1+N−1/2+ε for large N in the finite Dirichlet series above, would also imply the Riemann hypothesis, but showed that for all sufficiently large N these series have zeros with real part greater than 1 + (log log N)/(4 log N). Therefore, Turán's result is vacuously true and cannot help prove the Riemann hypothesis.

Noncommutative geometry
has described a relationship between the Riemann hypothesis and noncommutative geometry, and showed that a suitable analog of the Selberg trace formula for the action of the idèle class group on the adèle class space would imply the Riemann hypothesis. Some of these ideas are elaborated in.

Hilbert spaces of entire functions
showed that the Riemann hypothesis would follow from a positivity condition on a certain Hilbert space of entire functions. However showed that the necessary positivity conditions are not satisfied. Despite this obstacle, de Branges has continued to work on an attempted proof of the Riemann hypothesis along the same lines, but this has not been widely accepted by other mathematicians.

Quasicrystals
The Riemann hypothesis implies that the zeros of the zeta function form a quasicrystal, a distribution with discrete support whose Fourier transform also has discrete support. suggested trying to prove the Riemann hypothesis by classifying, or at least studying, 1-dimensional quasicrystals.

Arithmetic zeta functions of models of elliptic curves over number fields
When one goes from geometric dimension one, e.g. an algebraic number field, to geometric dimension two, e.g. a regular model of an elliptic curve over a number field, the two-dimensional part of the generalized Riemann hypothesis for the arithmetic zeta function of the model deals with the poles of the zeta function. In dimension one the study of the zeta integral in Tate's thesis does not lead to new important information on the Riemann hypothesis. Contrary to this, in dimension two work of Ivan Fesenko on two-dimensional generalisation of Tate's thesis includes an integral representation of a zeta integral closely related to the zeta function. In this new situation, not possible in dimension one, the poles of the zeta function can be studied via the zeta integral and associated adele groups. Related conjecture of on the positivity of the fourth derivative of a boundary function associated to the zeta integral essentially implies the pole part of the generalized Riemann hypothesis. proved that the latter, together with some technical assumptions, implies Fesenko's conjecture.

Multiple zeta functions
Deligne's proof of the Riemann hypothesis over finite fields used the zeta functions of product varieties, whose zeros and poles correspond to sums of zeros and poles of the original zeta function, in order to bound the real parts of the zeros of the original zeta function. By analogy, introduced multiple zeta functions whose zeros and poles correspond to sums of zeros and poles of the Riemann zeta function. To make the series converge he restricted to sums of zeros or poles all with non-negative imaginary part. So far, the known bounds on the zeros and poles of the multiple zeta functions are not strong enough to give useful estimates for the zeros of the Riemann zeta function.

Number of zeros
The functional equation combined with the argument principle implies that the number of zeros of the zeta function with imaginary part between 0 and T is given by
 * $$N(T)=\frac{1}{\pi}\mathop{\mathrm{Arg}}(\xi(s)) = \frac{1}{\pi}\mathop{\mathrm{Arg}}(\Gamma(\tfrac{s}{2})\pi^{-\frac{s}{2}}\zeta(s)s(s-1)/2)$$

for s=1/2+iT, where the argument is defined by varying it continuously along the line with Im(s)=T, starting with argument 0 at ∞+iT. This is the sum of a large but well understood term
 * $$\frac{1}{\pi}\mathop{\mathrm{Arg}}(\Gamma(\tfrac{s}{2})\pi^{-s/2}s(s-1)/2) = \frac{T}{2\pi}\log\frac{T}{2\pi}-\frac{T}{2\pi} +7/8+O(1/T) $$

and a small but rather mysterious term
 * $$S(T) = \frac{1}{\pi}\mathop{\mathrm{Arg}}(\zeta(1/2+iT)) =O(\log T).$$

So the density of zeros with imaginary part near T is about log(T)/(2π), and the function S describes the small deviations from this. The function S(t) jumps by 1 at each zero of the zeta function, and for t ≥ 8 it decreases monotonically between zeros with derivative close to −log t.

proved that, if $$T > e$$, then
 * $$|N(T) - \frac{T}{2\pi} \log{\frac{T}{2\pi e}}| \leq 0.112 \log T + 0.278 \log\log T + 3.385 + \frac{0.2}{T}$$.

Karatsuba (1996) proved that every interval (T, T+H] for $$H \ge T^{\frac{27}{82}+\varepsilon}$$ contains at least
 * $$ H(\log T)^{\frac{1}{3}}e^{-c\sqrt{\log\log T}} $$

points where the function S(t) changes sign.

showed that the average moments of even powers of S are given by


 * $$\int_0^T|S(t)|^{2k}dt = \frac{(2k)!}{k!(2\pi)^{2k}}T(\log \log T)^k + O(T(\log \log T)^{k-1/2}).$$

This suggests that S(T)/(log log T)1/2 resembles a Gaussian random variable with mean 0 and variance 2π2 ( proved this fact). In particular |S(T)| is usually somewhere around (log log T)1/2, but occasionally much larger. The exact order of growth of S(T) is not known. There has been no unconditional improvement to Riemann's original bound S(T)=O(log T), though the Riemann hypothesis implies the slightly smaller bound S(T)=O(log T/log log T). The true order of magnitude may be somewhat less than this, as random functions with the same distribution as S(T) tend to have growth of order about log(T)1/2. In the other direction it cannot be too small: showed that S(T) ≠ o((log T)1/3/(log log T)7/3), and assuming the Riemann hypothesis Montgomery showed that S(T) ≠ o((log T)1/2/(log log T)1/2).

Numerical calculations confirm that S grows very slowly: |S(T)| &lt; 1 for T < 280, |S(T)| &lt; 2 for T &lt; 6 800  000, and the largest value of |S(T)| found so far is not much larger than 3.

Riemann's estimate S(T) = O(log T) implies that the gaps between zeros are bounded, and Littlewood improved this slightly, showing that the gaps between their imaginary parts tend to 0.

Theorem of Hadamard and de la Vallée-Poussin
and independently proved that no zeros could lie on the line Re(s) = 1. Together with the functional equation and the fact that there are no zeros with real part greater than 1, this showed that all non-trivial zeros must lie in the interior of the critical strip 0 < Re(s) < 1. This was a key step in their first proofs of the prime number theorem.

Both the original proofs that the zeta function has no zeros with real part 1 are similar, and depend on showing that if ζ(1 + it) vanishes, then ζ(1 + 2it) is singular, which is not possible. One way of doing this is by using the inequality
 * $$|\zeta(\sigma)^3\zeta(\sigma+it)^4\zeta(\sigma+2it)|\ge 1$$

for σ > 1, t real, and looking at the limit as σ → 1. This inequality follows by taking the real part of the log of the Euler product to see that
 * $$|\zeta(\sigma+it)| = \exp\Re\sum_{p^n}\frac{p^{-n(\sigma+it)}}{n}=\exp\sum_{p^n}\frac{p^{-n\sigma}\cos(t\log p^n)}{n},$$

where the sum is over all prime powers pn, so that
 * $$|\zeta(\sigma)^3\zeta(\sigma+it)^4\zeta(\sigma+2it)| = \exp\sum_{p^n}p^{-n\sigma}\frac{3+4\cos(t\log p^n)+\cos(2t\log p^n)}{n}$$

which is at least 1 because all the terms in the sum are positive, due to the inequality
 * $$3+4\cos(\theta)+\cos(2\theta) = 2 (1+\cos(\theta))^2\ge0.$$

Zero-free regions
The most extensive computer search by Platt and Trudgian for counter examples of the Riemann hypothesis has verified it for $$|t| \leq 3.0001753328 \cdot 10^{12} $$. Beyond that zero-free regions are known as inequalities concerning σ + it, which can be zeroes. The oldest version is from De la Vallée-Poussin (1899–1900), who proved there is a region without zeroes that satisfies 1 − σ ≥ $$ for some positive constant C. In other words, zeros cannot be too close to the line there is a zero-free region close to this line. This has been enlarged by several authors using methods such as Vinogradov's mean-value theorem.

The most recent paper by Mossinghoff, Trudgian and Yang is from December 2022 and provides four zero-free regions that improved the previous results of Kevin Ford from 2002, Mossinghoff and Trudgian themselves from 2015 and Pace Nielsen's slight improvement of Ford from October 2022:


 * $$\sigma\ge 1 - \frac{1}{5.558691 \log|t|}$$ whenever $$|t| \geq 2 $$,
 * $$\sigma\ge 1-\frac{1}{55.241(\log{|t|})^{2/3}(\log{\log{|t|}})^{1/3}}$$ whenever $$|t| \geq 3 $$ (largest known region in the bound $$3.0001753328 \cdot 10^{12} \leq |t| \leq \exp(64.1) \approx 6.89 \cdot 10^{27} $$),
 * $$\sigma\ge 1 - \frac{0.04962 - \frac{0.0196}{1.15 + \log 3 + \frac{1}{6} \log t + \log\log t}}{0.685 + \log 3 + \frac{1}{6} \log t + 1.155 \cdot \log\log t}$$ whenever $$|t| \geq 1.88 \cdot 10^{14} $$ (largest known region in the bound $$\exp(64.1) \leq |t| \leq \exp(1000) \approx 1.97 \cdot 10^{434} $$) and
 * $$\sigma\ge 1-\frac{0.05035}{\frac{27}{164}(\log{|t|})+7.096}+\frac{0.0349}{(\frac{27}{164}(\log{|t|})+7.096)^2}$$ whenever $$|t| \geq \exp(1000) $$ (largest known region in its own bound)

The paper also presents an improvement to the second zero-free region, whose bounds are unknown on account of $$|t| $$ being merely assumed to be "sufficiently large" to fulfill the requirements of the paper's proof. This region is

$$\sigma\ge 1-\frac{1}{48.1588(\log{|t|})^{2/3}(\log{\log{|t|}})^{1/3}}$$.

Zeros on the critical line
and showed there are infinitely many zeros on the critical line, by considering moments of certain functions related to the zeta function. proved that at least a (small) positive proportion of zeros lie on the line. improved this to one-third of the zeros by relating the zeros of the zeta function to those of its derivative, and improved this further to two-fifths. In 2020, this estimate was extended to five-twelfths by Pratt, Robles, Zaharescu and Zeindler by considering extended mollifiers that can accommodate higher order derivatives of the zeta function and their associated Kloosterman sums.

Most zeros lie close to the critical line. More precisely, showed that for any positive ε, the number of zeroes with real part at least 1/2+ε and imaginary part at between -T and T is $$O(T)$$. Combined with the facts that zeroes on the critical strip are symmetric about the critical line and that the total number of zeroes in the critical strip is $$\Theta(T\log T)$$, almost all non-trivial zeroes are within a distance ε of the critical line. gives several more precise versions of this result, called zero density estimates, which bound the number of zeros in regions with imaginary part at most T and real part at least 1/2+ε.

Hardy–Littlewood conjectures
In 1914 Godfrey Harold Hardy proved that $$\zeta\left(\tfrac{1}{2}+it\right)$$ has infinitely many real zeros.

The next two conjectures of Hardy and John Edensor Littlewood on the distance between real zeros of $$\zeta\left(\tfrac{1}{2}+it\right)$$ and on the density of zeros of $$\zeta\left(\tfrac{1}{2}+it\right)$$ on the interval $$(T,T+H]$$ for sufficiently large $$T > 0$$, and $$H = T^{a + \varepsilon}$$ and with as small as possible value of $$a > 0$$, where $$\varepsilon > 0$$ is an arbitrarily small number, open two new directions in the investigation of the Riemann zeta function:


 * 1) For any $$\varepsilon > 0$$ there exists a lower bound $$T_0 = T_0(\varepsilon) > 0$$ such that for $$T \geq T_0$$ and $$H=T^{\tfrac{1}{4}+\varepsilon}$$ the interval $$(T,T+H]$$ contains a zero of odd order of the function $$\zeta\bigl(\tfrac{1}{2}+it\bigr)$$.

Let $$N(T)$$ be the total number of real zeros, and $$N_0(T)$$ be the total number of zeros of odd order of the function $$~\zeta\left(\tfrac{1}{2}+it\right)~$$ lying on the interval $$(0,T]~$$.


 * 1) For any $$\varepsilon > 0$$ there exists $$T_0 = T_0(\varepsilon) > 0$$ and some $$c = c(\varepsilon) > 0$$, such that for $$T \geq T_0$$ and $$H=T^{\tfrac{1}{2}+\varepsilon}$$ the inequality $$N_0(T+H)-N_0(T) \geq c H$$ is true.

Selberg's zeta function conjecture
investigated the problem of Hardy–Littlewood 2 and proved that for any ε > 0 there exists such $$T_0 = T_0(\varepsilon) > 0$$ and c = c(ε) > 0, such that for $$T \geq T_0$$ and $$H=T^{0.5+\varepsilon}$$ the inequality $$N(T+H)-N(T) \geq cH\log T$$ is true. Selberg conjectured that this could be tightened to $$H=T^{0.5}$$. proved that for a fixed ε satisfying the condition 0 < ε < 0.001, a sufficiently large T and $$H = T^{a+\varepsilon}$$, $$a = \tfrac{27}{82} = \tfrac{1}{3} -\tfrac{1}{246}$$, the interval (T, T+H) contains at least cH log(T) real zeros of the Riemann zeta function $$\zeta\left(\tfrac{1}{2}+it\right)$$ and therefore confirmed the Selberg conjecture. The estimates of Selberg and Karatsuba can not be improved in respect of the order of growth as T → ∞.

proved that an analog of the Selberg conjecture holds for almost all intervals (T, T+H], $$H = T^{\varepsilon}$$, where ε is an arbitrarily small fixed positive number. The Karatsuba method permits to investigate zeros of the Riemann zeta function on "supershort" intervals of the critical line, that is, on the intervals (T, T+H], the length H of which grows slower than any, even arbitrarily small degree T. In particular, he proved that for any given numbers ε, $$\varepsilon_1$$ satisfying the conditions $$0<\varepsilon, \varepsilon_{1}<1$$ almost all intervals (T, T+H] for $$H\ge\exp{\{(\log T)^{\varepsilon}\}}$$ contain at least $$H(\log T)^{1-\varepsilon_{1}}$$ zeros of the function $$\zeta\left(\tfrac{1}{2}+it\right)$$. This estimate is quite close to the one that follows from the Riemann hypothesis.

Numerical calculations
The function


 * $$\pi^{-\frac{s}{2}}\Gamma(\tfrac{s}{2})\zeta(s)$$

has the same zeros as the zeta function in the critical strip, and is real on the critical line because of the functional equation, so one can prove the existence of zeros exactly on the real line between two points by checking numerically that the function has opposite signs at these points. Usually one writes


 * $$\zeta(\tfrac{1}{2} +it) = Z(t)e^{-i\theta(t)}$$

where Hardy's Z function and the Riemann–Siegel theta function θ are uniquely defined by this and the condition that they are smooth real functions with θ(0) = 0. By finding many intervals where the function Z changes sign one can show that there are many zeros on the critical line. To verify the Riemann hypothesis up to a given imaginary part T of the zeros, one also has to check that there are no further zeros off the line in this region. This can be done by calculating the total number of zeros in the region using Turing's method and checking that it is the same as the number of zeros found on the line. This allows one to verify the Riemann hypothesis computationally up to any desired value of T (provided all the zeros of the zeta function in this region are simple and on the critical line).

These calculations can also be used to estimate $$\pi(x)$$ for finite ranges of $$x$$. For example, using the latest result from 2020 (zeros up to height $$3\times10^{12}$$), it has been shown that
 * $$|\pi(x) - \operatorname{li}(x)| < \frac{1}{8\pi} \sqrt{x} \log(x), \qquad \text{for } 2657 \le x \le 1.101\times10^{26}.$$

In general, this inequality holds if
 * $$x \ge 2657$$ and $$\frac{9.06}{\log{\log{x}}}\sqrt{\frac{x}{\log{x}}} \le T,$$

where $$T$$ is the largest known value such that the Riemann hypothesis is true for all zeros $$\rho$$ with $$\Im{\left (\rho \right )}\in \left (0,T \right ]$$.

Some calculations of zeros of the zeta function are listed below, where the "height" of a zero is the magnitude of its imaginary part, and the height of the nth zero is denoted by γn. So far all zeros that have been checked are on the critical line and are simple. (A multiple zero would cause problems for the zero finding algorithms, which depend on finding sign changes between zeros.) For tables of the zeros, see or.

Gram points
A Gram point is a point on the critical line 1/2 + it where the zeta function is real and non-zero. Using the expression for the zeta function on the critical line, ζ(1/2 + it) = Z(t)e− iθ(t), where Hardy's function, Z, is real for real t, and θ is the Riemann–Siegel theta function, we see that zeta is real when sin(θ(t)) = 0. This implies that θ(t) is an integer multiple of π, which allows for the location of Gram points to be calculated fairly easily by inverting the formula for θ. They are usually numbered as gn for n = 0, 1, ..., where gn is the unique solution of θ(t) = nπ.

Gram observed that there was often exactly one zero of the zeta function between any two Gram points; Hutchinson called this observation Gram's law. There are several other closely related statements that are also sometimes called Gram's law: for example, (−1)nZ(gn) is usually positive, or Z(t) usually has opposite sign at consecutive Gram points. The imaginary parts γn of the first few zeros (in blue) and the first few Gram points gn are given in the following table

The first failure of Gram's law occurs at the 127th zero and the Gram point g126, which are in the "wrong" order.

A Gram point t is called good if the zeta function is positive at 1/2 + it. The indices of the "bad" Gram points where Z has the "wrong" sign are 126, 134, 195, 211, ... . A Gram block is an interval bounded by two good Gram points such that all the Gram points between them are bad. A refinement of Gram's law called Rosser's rule due to says that Gram blocks often have the expected number of zeros in them (the same as the number of Gram intervals), even though some of the individual Gram intervals in the block may not have exactly one zero in them. For example, the interval bounded by g125 and g127 is a Gram block containing a unique bad Gram point g126, and contains the expected number 2 of zeros although neither of its two Gram intervals contains a unique zero. Rosser et al. checked that there were no exceptions to Rosser's rule in the first 3 million zeros, although there are infinitely many exceptions to Rosser's rule over the entire zeta function.

Gram's rule and Rosser's rule both say that in some sense zeros do not stray too far from their expected positions. The distance of a zero from its expected position is controlled by the function S defined above, which grows extremely slowly: its average value is of the order of (log log T)1/2, which only reaches 2 for T around 1024. This means that both rules hold most of the time for small T but eventually break down often. Indeed, showed that both Gram's law and Rosser's rule fail in a positive proportion of cases. To be specific, it is expected that in about 66% one zero is enclosed by two successive Gram points, but in 17% no zero and in 17% two zeros are in such a Gram-interval on the long run.

Arguments for and against the Riemann hypothesis
Mathematical papers about the Riemann hypothesis tend to be cautiously noncommittal about its truth. Of authors who express an opinion, most of them, such as and, imply that they expect (or at least hope) that it is true. The few authors who express serious doubt about it include, who lists some reasons for skepticism, and , who flatly states that he believes it false, that there is no evidence for it and no imaginable reason it would be true. The consensus of the survey articles (,, and ) is that the evidence for it is strong but not overwhelming, so that while it is probably true there is reasonable doubt.

Some of the arguments for and against the Riemann hypothesis are listed by, , and , and include the following:
 * Several analogues of the Riemann hypothesis have already been proved. The proof of the Riemann hypothesis for varieties over finite fields by is possibly the single strongest theoretical reason in favor of the Riemann hypothesis. This provides some evidence for the more general conjecture that all zeta functions associated with automorphic forms satisfy a Riemann hypothesis, which includes the classical Riemann hypothesis as a special case. Similarly Selberg zeta functions satisfy the analogue of the Riemann hypothesis, and are in some ways similar to the Riemann zeta function, having a functional equation and an infinite product expansion analogous to the Euler product expansion. But there are also some major differences; for example, they are not given by Dirichlet series. The Riemann hypothesis for the Goss zeta function was proved by . In contrast to these positive examples, some Epstein zeta functions do not satisfy the Riemann hypothesis even though they have an infinite number of zeros on the critical line. These functions are quite similar to the Riemann zeta function, and have a Dirichlet series expansion and a functional equation, but the ones known to fail the Riemann hypothesis do not have an Euler product and are not directly related to automorphic representations.
 * At first, the numerical verification that many zeros lie on the line seems strong evidence for it. But analytic number theory has had many conjectures supported by substantial numerical evidence that turned out to be false. See Skewes number for a notorious example, where the first exception to a plausible conjecture related to the Riemann hypothesis probably occurs around 10316; a counterexample to the Riemann hypothesis with imaginary part this size would be far beyond anything that can currently be computed using a direct approach. The problem is that the behavior is often influenced by very slowly increasing functions such as log log T, that tend to infinity, but do so so slowly that this cannot be detected by computation. Such functions occur in the theory of the zeta function controlling the behavior of its zeros; for example the function S(T) above has average size around (log log T)1/2. As S(T) jumps by at least 2 at any counterexample to the Riemann hypothesis, one might expect any counterexamples to the Riemann hypothesis to start appearing only when S(T) becomes large. It is never much more than 3 as far as it has been calculated, but is known to be unbounded, suggesting that calculations may not have yet reached the region of typical behavior of the zeta function.
 * Denjoy's probabilistic argument for the Riemann hypothesis is based on the observation that if μ(x) is a random sequence of "1"s and "−1"s then, for every ε > 0, the partial sums $$M(x) = \sum_{n \le x} \mu(n)$$ (the values of which are positions in a simple random walk) satisfy the bound $$M(x) = O(x^{1/2+\varepsilon})$$ with probability 1. The Riemann hypothesis is equivalent to this bound for the Möbius function μ and the Mertens function M derived in the same way from it. In other words, the Riemann hypothesis is in some sense equivalent to saying that μ(x) behaves like a random sequence of coin tosses. When μ(x) is nonzero its sign gives the parity of the number of prime factors of x, so informally the Riemann hypothesis says that the parity of the number of prime factors of an integer behaves randomly. Such probabilistic arguments in number theory often give the right answer, but tend to be very hard to make rigorous, and occasionally give the wrong answer for some results, such as Maier's theorem.
 * The calculations in show that the zeros of the zeta function behave very much like the eigenvalues of a random Hermitian matrix, suggesting that they are the eigenvalues of some self-adjoint operator, which would imply the Riemann hypothesis. All attempts to find such an operator have failed.
 * There are several theorems, such as Goldbach's weak conjecture for sufficiently large odd numbers, that were first proved using the generalized Riemann hypothesis, and later shown to be true unconditionally. This could be considered as weak evidence for the generalized Riemann hypothesis, as several of its "predictions" are true.
 * Lehmer's phenomenon, where two zeros are sometimes very close, is sometimes given as a reason to disbelieve the Riemann hypothesis. But one would expect this to happen occasionally by chance even if the Riemann hypothesis is true, and Odlyzko's calculations suggest that nearby pairs of zeros occur just as often as predicted by Montgomery's conjecture.
 * Patterson suggests that the most compelling reason for the Riemann hypothesis for most mathematicians is the hope that primes are distributed as regularly as possible.

Popular expositions

 * Frenkel, Edward (2014), The Riemann Hypothesis Numberphile, Mar 11, 2014 (video)
 * Frenkel, Edward (2014), The Riemann Hypothesis Numberphile, Mar 11, 2014 (video)
 * Frenkel, Edward (2014), The Riemann Hypothesis Numberphile, Mar 11, 2014 (video)
 * Frenkel, Edward (2014), The Riemann Hypothesis Numberphile, Mar 11, 2014 (video)
 * Frenkel, Edward (2014), The Riemann Hypothesis Numberphile, Mar 11, 2014 (video)
 * Frenkel, Edward (2014), The Riemann Hypothesis Numberphile, Mar 11, 2014 (video)
 * Frenkel, Edward (2014), The Riemann Hypothesis Numberphile, Mar 11, 2014 (video)

Note: Derbyshire 2003, Rockmore 2005, Sabbagh 2003a, Sabbagh 2003b, Sautoy 2003, and Watkins 2015 are non-technical. Edwards 1974, Patterson 1988, Borwein/Choi/Rooney/Weirathmueller 2008, Mazur/Stein 2015, Broughan 2017, and Nahin 2021 give mathematical introductions. Titchmarsh 1986, Ivić 1985, and Karatsuba/Voronin 1992 are advanced monographs.