Zeta has relatives, each with its own zeros and its own hypothesis, which the certified proof for zeta does not cover. Race primes against one another, find the zeros that referee the race, and meet an impostor whose zeros wander off the line
Zeta is the first member of a large family. Each relative has its own Euler product, its own mirror symmetry and its own critical line, and for each one the same hypothesis is asked. For ζ it was proved in November 2026. For the relatives it is the generalised Riemann hypothesis, which the certified proof does not cover and which this lesson keeps as a hypothesis. The family explains things zeta alone cannot, such as why primes of the form 4k + 3 keep ahead of primes of the form 4k + 1, and one near-relative shows what goes wrong without an Euler product.
Pick a modulus and tap a row of the table to choose a character, then watch its sum and its product over primes close in on one value. Try modulus 4 for Leibniz’s series, and compare the zeros of a real and a complex character in the strip at the bottom.
χ1 modulo 5: complex, of order 4, odd (χ(−1) = −1), primitive.
Each disc in the table is one value χ(n): its colour is its direction on the unit circle, and a small grey dot is 0. The first chart adds up χ(n)/ns term by term and multiplies 1/(1 − χ(p)/ps) prime by prime; the dashed line is the value from the Hurwitz zeta function, which needs neither. In the strip at the bottom each row is one L-function and each tick one zero, found here by sign changes; the top row is ζ. The mean spacing near height t is 2π/ln(q|t|/2π), so larger moduli have lower and denser zeros. A browser computation in double precision is evidence, not a proof: rigorous checks use interval arithmetic.
A Dirichlet character modulo q is a function χ on the whole numbers that repeats with period q, is zero exactly at the numbers sharing a factor with q, and respects multiplication: χ(mn) = χ(m)χ(n). There are φ(q) of them, and their values are roots of unity. Because χ is multiplicative, its Dirichlet series is also a product over primes,
L(s, χ) = ∑n ≥ 1 χ(n) n−s = ∏p (1 − χ(p) p−s)−1, Re s > 1.
Peter Gustav Lejeune Dirichlet introduced these functions in 1837 to prove that every arithmetic progression a, a + q, a + 2q, … with a coprime to q contains infinitely many primes. Characters pick out one residue class from the rest, and the proof comes down to a single fact: L(1, χ) ≠ 0 for every character other than the principal one. The counts in the demo show the stronger statement proved later by de la Vallée Poussin: the primes are shared equally among the φ(q) classes in the limit.
A character is primitive if it is not a character of smaller modulus in disguise. For a primitive χ, with a = 0 if χ(−1) = 1 and a = 1 if χ(−1) = −1, the completed function Λ(s, χ) = (q/π)(s + a)/2 Γ((s + a)/2) L(s, χ) is entire and satisfies
Λ(s, χ) = ε(χ) Λ(1 − s, χ̄), ε(χ) = τ(χ) / (ia √q), τ(χ) = ∑n mod q χ(n) e2πin/q.
The Gauss sum τ(χ) has absolute value √q, so the root number ε(χ) lies on the unit circle. The equation relates χ to its conjugate, which is why a complex character’s zeros are not symmetric about the real axis, and it makes ε−½ eiθ(t) L(½ + it, χ) a real function of t: the Z(t) of the demo. The generalised Riemann hypothesis says that every zero of every L(s, χ) in the strip 0 < Re s < 1 has real part ½. The proof of November 2026 is certified for ζ, the member of the family with the trivial character. Independent checkers report that the same library also proves the statement for every Dirichlet L-function, but that was not part of the certification, so here the generalised hypothesis stays a hypothesis (See also: What Is Actually Known). The browser finds the first zero of the character modulo 4 at height 6.0209 and of the real character modulo 3 at 8.0397, and every zero it finds below height 40 is on the line; that is a computation in double precision, not a proof.
Two further facts. Multiply ζ(s) by the L-functions of the primitive characters behind the other characters modulo q and you get the zeta function of the field generated by the q-th roots of unity: these functions are the factors of something that counts ideals. And for a real character nobody has ruled out a real zero very close to s = 1, a “Siegel zero”. It would contradict the generalised hypothesis, and the inability to exclude it is the main obstacle in the theory of primes in progressions. See also: L-Functions in the Langlands Program, which goes on to elliptic curves and modular forms, and Galois Theory.
Press Play to race the primes of the form 4k + 3 against those of the form 4k + 1 up to ten million, and watch the fuchsia prediction, built from zeros, follow the amber count. Then slide the lower window far beyond the sieve, and try the other races.
Both charts show the lead divided by √x/ln x, the size the explicit formula says it should have. Amber is counted by a sieve up to ten million (the cap), with a faint band for its range between samples and a rose tick at each change of leader. Fuchsia is the formula: a constant for the squares of primes, plus one wave for each zero of each L-function of the modulus found on the critical line up to height T. In the lower chart the fuchsia band is the range of the prediction within each pixel, and rose marks where it dips below zero. The share of all time is sampled from the limiting formula with the zeros up to height 150, the higher ones treated as Gaussian noise of the right size; like Rubinstein and Sarnak’s figure it assumes the generalised Riemann hypothesis and that the zeros’ heights are linearly independent. Both are still assumptions: the first is outside what was certified in 2026, and the second is a conjecture.
In a letter of 1853 Pafnuty Chebyshev remarked that there seem to be more primes of the form 4k + 3 than of the form 4k + 1. In the long run the two classes get equal shares, so the excess must be small compared with either count, and it is: about √x/ln x. It is invisible as a percentage and decisive in a race. John Leech found the first change of leader, at 26,861, in 1957. J. E. Littlewood had proved in 1914 that the lead changes infinitely often, so the 3s do not win for ever.
The referee is the L-function of the character χ modulo 4. Counting prime powers pk with weight 1/k is governed by an explicit formula, like the one for ζ but with no main term. Assuming the generalised hypothesis, so that every zero is ½ + iγ,
(π(x; 4, 3) − π(x; 4, 1)) · ln x / √x = m(x) + ∑γ > 0 2 Re( xiγ / (½ + iγ) ) + O(1/ln x)
and the sum is close to 2 ∑ sin(γ ln x)/γ. The term m(x) is where the bias comes from. The square of every odd prime is 1 more than a multiple of 4, so the prime powers put about ½π(√x) extra into the class of 1 and nothing into the class of 3. With the prime powers the race is fair; primes alone, the 1s are short by that amount, and m(x) = ½π(√x) · ln x/√x tends to 1 (slowly: it is about 1 + 2/ln x). The demo counts those squares exactly as far as its sieve goes, and includes the small constant ln 2 = −ln L(0, χ) that the formula also contains. The general rule is the same: classes that contain squares trail classes that do not.
The bias exists only because, as far as anyone knows, the zeros are on the line. Then every wave has the same size as the constant, and the constant tips the balance. A zero with real part β > ½ would give a wave of relative size xβ − ½ that swamps it. In “Chebyshev’s Bias” (1994) Michael Rubinstein and Peter Sarnak assumed the generalised hypothesis and also that the heights γ are linearly independent over the rationals, and showed that the set of x where the 3s lead then has a logarithmic density, which they computed to be 0.9959…; for 2 against 1 modulo 3 it is 0.9990…, and there the first change of leader is at 608,981,813,029 (Bays and Hudson, 1978). The browser’s estimate samples the same limiting formula and agrees to within its sampling error. Both assumptions stand: the linear independence is a conjecture, and the generalised hypothesis for these characters is outside what was certified in 2026. See also: Primes from Zeros, for the explicit formula for ζ, and Quadratic Residues in Number Theory.
Two functions with the same mirror symmetry, side by side. Press “Zoom to the first exception” and compare the left picture, where a pair of zeros has left the critical line, with the right, where none has.
Move over either picture, or tap it, to read off both functions at a point.
Colour is the direction of the complex value and brightness its size, so a zero is a dark point where all the colours meet. Each picture is computed coarsely first and then refined. Zeros on the line are sign changes of a real function; the total in each block of the strip comes from the winding of the function round the block’s edge, and any surplus is hunted down by halving boxes and polished by Newton’s method. Here f(s) = ½(1 − iκ) L(s, χ) + ½(1 + iκ) L(s, χ̄) with χ the character modulo 5 that has χ(2) = i, and κ = 0.284079…. All of it is double-precision arithmetic, not a rigorous enclosure.
Could the hypothesis have followed from the functional equation alone? No. Take the character χ modulo 5 with χ(2) = i, put κ = (√(10 − 2√5) − 2)/(√5 − 1) ≈ 0.284079, and set
f(s) = ½(1 − iκ) L(s, χ) + ½(1 + iκ) L(s, χ̄) = 1 + κ/2s − κ/3s − 1/4s + 1/6s + …
The two L-functions have root numbers that are conjugates of one another, and κ is chosen so that the combination is sent to itself:
f(s) = 5½ − s · 2(2π)s − 1 Γ(1 − s) cos(πs/2) · f(1 − s).
This is exactly the kind of equation an odd character modulo 5 satisfies, and the tests for this page check it numerically to nine figures. The function goes back to Harold Davenport and Hans Heilbronn (1936) and is also known as the Titchmarsh counterexample. It has infinitely many zeros on the critical line, but not all: Robert Spira (1994) listed zeros near 0.808517 + 85.699348i, 0.650830 + 114.163343i, 0.574356 + 166.479306i and 0.724258 + 176.702461i, and the browser finds the same four, agreeing in all six places, with no others off the line below height 200. It is also a theorem that f has zeros with real part greater than 1, where a convergent Euler product can never vanish; the same search, widened, finds none of those below height 200.
What f lacks is an Euler product. Each of its two halves is a product over primes, but a sum of two products is not a product, and its coefficients are not multiplicative (the coefficient of 6−s is 1, not −κ²). Epstein zeta functions of quadratic forms with class number greater than one are further examples of the same failure. Atle Selberg’s class (1989) is an attempt to say axiomatically what an L-function is: a Dirichlet series with an analytic continuation, a functional equation of the standard shape, an Euler product and coefficients that do not grow too fast. The hypothesis is conjectured for every member, ζ being the one for which it is proved, and in its “grand” form for the L-functions of automorphic forms. See also: the Langlands Program.
Checking finitely many zeros can still prove theorems. Harald Helfgott’s proof (2013) that every odd number greater than 5 is a sum of three primes used a rigorous verification by David Platt, done with interval arithmetic, of the generalised hypothesis for every primitive character of modulus q up to 300,000, for zeros up to height 108/q. That is a statement about finitely many zeros, each enclosed with proved error bounds, which is what the double-precision search on this page is not.
Spot a mistake or have an idea?