Primearium research · report 04

Crystal, rain and the zeros

Three instruments play at the same tempo: one note per unit of length on average. Random rain has no memory. The primes near 10⁹ are almost rain. The zeros of the Riemann zeta function refuse to come close to each other: a crystal with a tremor, spaced like the eigenvalues of large random matrices.

Sound: every note is a soft tone as it leaves the emitter - low for rain, middle for primes, high for zeros. Listen for the steady pulse of the zeros.

On the rain string the bubbles have wildly different sizes, with many tiny ones. The primes look almost the same. On the zeros string the bubbles are nearly equal and none is tiny: the zeros repel each other.

Random rain (Poisson)

Primes near 10⁹

Riemann zeta zeros

GUE law (exact) Wigner surmise (approximation) Poisson law (pure chance) bubble = one gap gap below 0.1

Every bubble is one gap; its diameter is the distance between two neighbouring notes, with the average gap as the unit. Rain: fresh random gaps. Primes: the real primes just above 10⁹ (thin steps: all 9.6 million gaps up to 1.2·10⁹). Zeros: the first 1,000 zeta zeros from our computation - after 999 gaps the tape repeats and the counting stops. Curves: the exact GUE law, Wigner's approximation of it, and pure chance.

Primearium's own result

Near-collisions: how often is a gap shorter than a tenth of the average?

Pure chance allows it all the time: about one gap in ten. The primes allow it too - every pair of twin primes is one. The zeros almost never do: about one gap in a thousand, the value that random-matrix theory predicts. Physicists call it level repulsion.

Conjecture Primearium's own result

Climb higher: the zeros approach the random-matrix law

Gap lengths at this height

zeros at this height GUE law (exact) Wigner surmise (approximation) Poisson law (pure chance)

Variance of the gaps, climbing toward GUE

zeros, nine height bands

Difference from the GUE law (Odlyzko's difference curve)

zeros minus GUE law sampling noise (±2σ) other heights

Heuristic Primearium's own result

Rigidity: the rain scatters, the crystal holds

Zeros at height

Number variance Σ²(L) on log-log axes

rain (Poisson): Σ² = L primes near 10⁹ (observed) GUE (exact formula) zeros (observed) Berry's prime sum (heuristic)

Zoom on the plateau: the primes write the wiggles

Show the wave of the prime
zeros (observed) Berry's prime sum (heuristic) GUE (exact formula)

Conjecture

Pair correlation: Montgomery's conjecture

Pick any zero and ask how often another zero sits at distance u from it. For rain every distance is equally likely: the flat line. In 1973 Hugh Montgomery conjectured that for the zeros the answer is 1 − (sin πu / πu)², with a hole at u = 0: zeros avoid each other. Freeman Dyson recognised the formula at once - it is the pair correlation of random matrices. The dots are our zeros.

Zeros
zeros (observed) Montgomery's formula (conjecture) primes near 10⁹ (observed) rain (Poisson)

Lehmer pairs: zeros that almost touch

Z(t) at the closest pair found

Record-close pairs as we scan upward

What is proven, what is conjectured, what we measured

Measured by us

Conjecture

GUE statistics of the zeros

That the zeros follow random-matrix (GUE) statistics is the Montgomery-Odlyzko law: a conjecture. Montgomery's pair-correlation formula is proven only for a restricted class of test functions, using the Riemann Hypothesis - itself proven formally (Lean) in November 2026.

Heuristic

Berry's prime sum

The curve that follows the plateau treats the phases of different primes as independent (the diagonal approximation). It is an argument, not a theorem; its agreement with the data is an observation.

Proven

Solid ground

The Poisson laws (gaps e−s, Σ² = L), the exact GUE spacing law (Gaudin) and the GUE number variance are theorems about random points and random matrices. Turing's method is a theorem that turns sign changes of Z(t) into a complete count of zeros - applied here to floating-point values.

Honest limits: the Wigner surmise appears only as a labelled approximation. The primes are compared after rescaling to average gap 1 near 10⁹. The rigorous verification of the Riemann Hypothesis up to height 3·10¹² is by Platt and Trudgian (2021), not by us.

Related presentations: Primes are more orderly than chance (how rigid the primes themselves are) and The Riemann Hypothesis (what the zeros are and why they matter).

For mathematicians

method, definitions, tables, limits, references

How the zeros were computed

Unfolding

N(T) = θ(T)/π + 1 + S(T) with S small on average, so xk = θ(γk)/π has mean spacing 1. The primes are unfolded by x = (p − 10⁹)/ln((10⁹ + p)/2). All gaps on this page are in these units.

xk = θ(γk)/π ,   sk = xk+1 − xk ,   θ(t) = arg Γ(¼ + it/2) − (t/2) ln π

Spacing laws and the height table

Gaudin's law is the exact limiting GUE spacing density, evaluated as a Fredholm determinant of the sine kernel (48-point Gauss-Legendre quadrature, after Bornemann): mean 1, variance 0.1800. The Wigner surmise is the 2×2-matrix formula with variance 3π/8 − 1 ≈ 0.1781 - an approximation. High up, the zeros lie between the two, so a comparison with the surmise alone would mislead. Poisson: e−s, variance 1.

pGUE(s) = d²/ds² det(I − Ksine)[0,s] ,   pW(s) = (32/π²) s² e−4s²/π ,   pPoisson(s) = e−s

KS = sup |Fempirical − FGaudin|. Simulated GUE: the Dumitriu-Edelman tridiagonal model, n = 400, 500 matrices, the central half of each spectrum.

Number variance and Berry's formula

Σ²(L) is the variance of the number of unfolded points in a window of length L. Poisson: L. GUE: Σ²(L) = L − 2∫₀ᴸ (L − u)(sin πu/πu)² du ~ (1/π²) ln L. The explicit formula writes the fluctuation of the zero count as a sum over prime powers; treating their phases as independent for r ln p < ln(T/2π) and using the GUE form factor beyond gives the heuristic below (Berry 1985, 1988; re-derived here, with the primes up to 2·10⁷ and the prime number theorem beyond).

Σ²(L) ≈ (2/π²) [ Σpr < T/2π sin²(πL·r ln p / ln(T/2π)) / (r² pr) + ∫1∞ sin²(πLτ)/τ² dτ ]

Pair correlation

R₂(u) is the density of pairs of unfolded zeros at distance u, per zero; bins of width 0.05, 0 ≤ u < 3. Montgomery (1973) proved, assuming RH (now proven formally, Nov 2026), the Fourier-side statement for test functions with support in (−1, 1); the full formula is a conjecture. For the primes R₂ is nearly flat, apart from parity and small-prime effects.

R2(u) = 1 − (sin πu / πu)²

Limits of this computation

  • Floating point with error control, not interval arithmetic: the deciding values of |Z| exceed the estimated evaluation error by factors of 10²-10⁶, but this is not a proof.
  • The Riemann-Siegel remainders are estimated empirically (against Euler-Maclaurin up to t = 5000, and by anchor consistency at 10¹⁰ and 2.7·10¹¹), not by rigorous bounds.
  • Neighbouring gaps are correlated, so KS·√n is indicative only; we compare with GUE simulations of similar size.
  • The GUE simulation uses finite matrices, and the primes are a sample from 10⁹ to 1.2·10⁹ only.

References

Quoted as in research report 04, where the citations we could not re-check during the computation are marked as unverified.

  1. H. L. Montgomery, The pair correlation of zeros of the zeta function, Proc. Sympos. Pure Math. 24 (1973).
  2. A. M. Odlyzko, On the distribution of spacings between zeros of the zeta function, Math. Comp. 48 (1987).
  3. M. Gaudin, Sur la loi limite de l'espacement des valeurs propres d'une matrice aléatoire, Nucl. Phys. 25 (1961).
  4. F. Bornemann, On the numerical evaluation of Fredholm determinants, Math. Comp. 79 (2010).
  5. M. V. Berry, Semiclassical theory of spectral rigidity, Proc. R. Soc. Lond. A 400 (1985); Semiclassical formula for the number variance of the Riemann zeros, Nonlinearity 1 (1988).
  6. A. M. Turing, Some calculations of the Riemann zeta-function, Proc. London Math. Soc. (1953).
  7. R. P. Brent, On the zeros of the Riemann zeta function in the critical strip, Math. Comp. 33 (1979); part II with J. van de Lune, H. J. J. te Riele and D. T. Winter, Math. Comp. 39 (1982).
  8. D. H. Lehmer, On the roots of the Riemann zeta-function, Acta Math. 95 (1956).
  9. Z. Rudnick, P. Sarnak, Zeros of principal L-functions and random matrix theory, Duke Math. J. 81 (1996).
  10. I. Dumitriu, A. Edelman, Matrix models for beta ensembles, J. Math. Phys. 43 (2002).
  11. D. Platt, T. Trudgian, The Riemann hypothesis is true up to 3·10¹², Bull. London Math. Soc. 53 (2021).