The music of the primes · part 6

Chords of the primes

One prime, one tone — that was part 5. The sixth study lets the primes sound together: two at once, the intervals that ring, other choirs with voices turned upside down. Twelve predictions, each written down before the data existed.

David Hessabout 14 min readfollows parts 1–5

Part 5 ended on a single note: every prime leaves a faint ripple in the zeros of the zeta function — one prime, one tone. This time we let the notes sound together.

What does a chord of two primes look like? Which intervals between the zeros and the primes ring, and how loudly? Do other L-functions sing the same melody — and what happens to it when their characters turn some of the voices upside down? The sixth study follows the ripple of part 5 into its harmony, in twelve predictions. For each of them the rule for the verdict was written down before the computation; for five of them the zeros that would decide did not even exist yet.

12 / 12predictions supported, each judged by a rule written down before its numbers were computed
626,717zeros of eight L-functions that did not exist when the rules of the second part were written
8.5·10⁻¹⁰agreement of the zeros and the primes in the explicit formula with a smooth window, on 162 points
46 σdistance of random matrices without the primes from the data at the main resonance; the formula with the primes is 0.7 σ away
Quick primer · the ripple of one prime

Take the heights γ of the zeros of the zeta function, multiply each by ln p/2π for a prime p, and keep only the part after the decimal point — the fractional part {γ·ln p/2π}, a number between 0 and 1. If the zeros knew nothing about the prime, these numbers would fill the interval evenly. They do not: near 0 there is a dip, a shortage of zeros, of relative depth about 2w·ln p/√p, where w is a small number that shrinks slowly with height. This is a theorem (Landau’s formula; Ford and Zaharescu, 2005), and the appendix of part 5 measured it for single primes.

A dip that repeats with a fixed period is a pure tone. One prime, one tone: that is the first order. Everything below is about what comes after it.

01The score comes first

If you write down the notes after hearing the orchestra, you can always claim it played exactly what you wrote. So the score has to exist before the concert. Every prediction in this study has a rule written beforehand: what will be measured, against which null model, and what counts as supported, rejected or undecided — recorded with its time before the quantity was computed.

The first part of the study (four directions, seven predictions) got its rules on 15 November 2026. When it was finished, we wrote the rules of a second part — five more predictions about L-functions higher up — and only then computed the zeros to test them: 626,717 of them, on an ordinary home computer. Nobody had seen those zeros when the score was written, including us.

Picture this · a sealed envelope

A forecaster who seals tomorrow’s weather in an envelope today can be right or wrong, but cannot cheat. The rules of this study are such envelopes. They were not left untouched: the rules of the first part got one dated note and those of the second nine — a changed lattice of windows, a check of the formulas — and every note is published with the study, together with what we had already seen at that moment.

Such rules are not a formality — a prediction can fail them. In the fifth study several of our working hypotheses did, among them two scaling laws for consecutive families and the expectation that the hybrid model of part 5 — an arithmetic factor from the primes times a random matrix — would describe more than the variance of the logarithm of the central value. The model matched that variance to 0.26 %; the third cumulant was off by 4–7 % and the fractional moments by about 1 %, outside the limits written down beforehand. These deviations shrink as the conductor grows, and whether they vanish in the limit was left undecided. The paper reports each of these with its verdict. This time all twelve predictions met the conditions written down for them in advance.

02Two notes at once

Take two primes, say 2 and 3, and give every zero two coordinates: u = {γ·ln 2/2π} and v = {γ·ln 3/2π}. The zeros now live on a square whose opposite edges are glued together — a torus, the surface of a doughnut. Each prime alone makes a dip along its own direction. What do they do together?

There are two natural guesses. If the two phases were independent, the densities would multiply: (1 + r_p)(1 + r_q), which contains a mixed term r_p·r_q. A theorem of Ford, Meng and Zaharescu (2017) says instead that they add: 1 + r_p + r_q, with no mixed term at all. We measured the amplitude a of the mixed term on 2,001,052 zeros: a = 0 means the sum, a = 1 the product.

Fig. 1 · rightA chord is a sum, not a product
Amplitude a of the mixed term for six pairs of primes, ±2 errors, on five blocks of zeros of ζ up to height 1.1 million.
data, ±2 errorssum (theorem of Ford, Meng and Zaharescu)product of independent phases
0.000.250.500.751.00(2, 3)(2, 5)(3, 5)(2, 7)(3, 7)(5, 7)pair of primes (p, q)amplitude of the mixed term asum 1 + r_p + r_q (a = 0)product of independent phases (a = 1)
All six amplitudes lie between −0.036 and 0.041, with errors of about 0.04 — on the green line. The product of independent phases is 21 to 27 errors away.
Picture this · two tuning forks

Strike two tuning forks and the air simply carries both vibrations: the pressures add. Nothing in the room multiplies one note by the other — that is why you can still hear both. The zeros treat the primes the same way. Each prime contributes its own ripple, and the ripples pass through each other like waves from two stones thrown into a pond.

The difference between adding and multiplying is largest where all the ripples meet: in the corner of the torus where the phases of 2, 3, 5 and 7 are all close to zero at once. There the dips pile up, and the two rules predict clearly different numbers of zeros.

Fig. 12 · leftIn the corner of four primes, the zeros follow the sum
Number of zeros with all four phases below d, divided by what three models expect. Bars: ±2 errors of the count.
sum 1 + Σ r_pproduct Π(1 + r_p)exp(Σ r_p) (diamonds)
0.000.501.001.502.00d = 0.05d = 0.05d = 0.03d = 0.05d = 0.03set of zeros and corner size d (all four phases below d)observed / expectedZ6a–d · t ≤ 10⁶P8 · t ≈ 10⁸P3e10 · t ≈ 3·10¹⁰
At height 3·10¹⁰ the corner d = 0.05 holds 1,219 zeros; the sum expects 1,246, the product 1,398 (4.8 errors too many) and the exponential model 1,430. At 10⁸ the product is 7.7 errors away. Below height 10⁶ the corner holds only 33 zeros (the sum expects 22, the product 73) — enough to rule out the product, too few to say more.

03A clean recording

Behind the ripple stands one of the deepest identities of number theory, the explicit formula: a sum over the zeros equals a sum over the primes and their powers. In the form used so far (Landau’s formula) you take all zeros up to a height T — a sharp cut — and the two sides agree only approximately.

The sixth study replaces the sharp cut with a smooth Gaussian window: zeros near the centre of the window count fully, zeros further away count less and less. With that single change the identity becomes exact for every “harmonic” x^(iγ) we tried — 18 values of x, three heights, three window widths.

Fig. 2With a smooth window the two sides agree to the last digit of the table
Difference between the zero side and the prime side, relative to the number of zeros in the window; 162 points. Logarithmic axis: each gridline is a factor of one hundred. Three window widths side by side at every x.
Gaussian windowsharp window (Landau’s formula)limit set by the rule beforehand
10⁻¹⁴10⁻¹²10⁻¹⁰10⁻⁸10⁻⁶10⁻⁴10⁻²123457891627322¹⁰2¹⁵2¹⁸3¹⁰61012e^√2x (the harmonic x^{iγ})|zero side − prime side| / Nrule: 10⁻⁷sharp window (Landau’s formula): only approximateGaussian window: agreement to the precision of the zero table
With the Gaussian window the largest difference is 8.5·10⁻¹⁰ — the precision with which the zeros in the table are written down. With the sharp window the same sums differ by 1.6·10⁻⁴ to 8.6·10⁻². An independent recomputation with a different library gives the same numbers.
Picture this · the click at the cut

Cut a tape recording with scissors in the middle of a note and you hear a click: the sudden edge adds frequencies that were never played. Every sound engineer fades in and out instead. The sharp cut at height T is the scissors; the Gaussian window is the fade. Once the click is gone, what remains is the music itself — and the zeros and the primes turn out to be two readings of the same score, agreeing to nine digits.

04Which intervals ring

The first order asked how the zeros are spread on average. The second order asks how much the sum over the zeros fluctuates from one window to the next — its variance V(x). We measured it over 52,498 windows at two heights, near 10⁸ and near 3·10¹⁰.

Fig. 3Below the threshold the primes speak one at a time; above it, in pairs
Variance of the windowed sum against τ = ln x / ln(T/2π), ±2 errors, at two heights. Independent random points would give 1 everywhere.
data, t ≈ 10⁸data, t ≈ 3·10¹⁰prediction with the primes (diamonds)random matrices (GUE) without arithmetic
0.000.250.500.751.001.251.500.250.500.751.001.251.501.752.00τ = ln x / ln(T/2π)variance V(x) (independent points = 1)x = T/2πbelow τ = 1: the diagonal sum over prime powersabove τ = 1: the two-point function of Bogomolny and Keating
For τ below 1 the variance follows the sum over single prime powers. Above 1 it follows the two-point function of Bogomolny and Keating. Exactly at τ = 1 the data rise to 1.38 and 1.34. Random matrices without the primes give 1 there and lie 18.6 and 46.1 errors away; the two-point function with the primes gives 1.37 and 1.33, within 0.2 and 0.7 errors of the data.

That jump at τ = 1 — at x = T/2π — is only the tallest tooth of a whole comb. Scan x finely around it and narrow resonances appear wherever x = (T/2π)·A/B for a simple fraction A/B.

Fig. 4 · leftThe comb: resonances at simple ratios
Variance V(x) on a fine grid of 201 points around x = T/2π at height 3·10¹⁰, ±2 errors. The gold numbers mark the ratios A/B.
data, 52,498 windowsBogomolny–Keatingrandom matrices (GUE) without arithmetic
0.81.01.21.41.61.82.02.2−2−1012δ = ln x − ln(T/2π)variance V(x)1/31/22/313/223610
The teeth stand at the ratios 2, 6, 1, 3, 10, ⅔ … with heights 1.82, 1.59, 1.34, 1.23, 1.21, 1.16. The formula of Bogomolny and Keating — a conjecture — follows all 201 points; without arithmetic the curve would be flat. These are the off-diagonal spikes that part 2 of this series saw in the form factor, now resolved one by one.
Picture this · why an octave sounds good

Pythagoras noticed that two strings sound pleasant together when their lengths stand in a simple ratio: 2 to 1 is an octave, 3 to 2 a fifth. The comb is the same law written into the zeros. At height T the zeros have a natural frequency, T/2π; a harmonic x resonates with it when their ratio is a simple fraction. And just as some intervals ring louder than others, the teeth have different heights — set by how often primes come in pairs at a given distance, the constants of Hardy and Littlewood. That is why the teeth at 2 and 6 tower over the tooth at 3.

05Bringing in the instruments one by one

If the heights of the teeth come from the primes, we can listen to the primes separately. The formula of Bogomolny and Keating contains one factor for every prime. Switch them all off and the comb is still there, but out of tune; switch on the factor of 2, then of 3, and the teeth move to the heights the zeros actually have.

Fig. 10 · leftEvery prime tunes its own teeth
The same comb at height 3·10¹⁰ with the factors of the primes switched on step by step. White dots: data.
datano prime factoronly p = 2p ≤ 3all primes
106323/212/31/21/31.01.21.41.61.82.0−1.5−1.0−0.50.00.51.01.52.02.5δ = ln x − ln(T/2π)variance V(x)
Without any prime factor the tooth at 1 is far too tall and the tooth at 2 far too short. The factor of 2 alone lifts the teeth at 2 and 6 and lowers the tooth at 1; the factor of 3 raises the teeth at 3 and 6 and trims the one at ⅔. With all primes the curve passes through the data.

The study follows the comb at three window widths as well. A narrower window makes every tooth broader and lower, a wider one sharper and taller, exactly as the formula says — the comb is a property of the zeros, not of the window through which we look at them.

06A third of a note

So far every prime entered with its own frequency, ln p/2π. What if we multiply the zeros by a fraction of it — a half, a third? The prediction is simple: the dip of the prime does not vanish, it repeats. With one third of ln 2/2π the single dip of the prime 2 turns into three evenly spaced dips.

Fig. 5One third of the frequency: three dips instead of one
Density of the fractional parts for α = (1/3)·ln 2/2π on 2,001,052 zeros of ζ, 60 bins, ±2 errors.
data, ±2 errorsprediction
0.700.750.800.850.900.951.001.051.1001/32/31u = {α·γ}, α = (1/3)·ln 2/2πdensity (uniform = 1)
The density has period ⅓, as predicted, with dips a quarter deep. For four such fractions and five blocks of zeros the prediction fits (smallest p-value 0.14), while an even spread is excluded by a very wide margin.

Musicians know this as well: a string stopped at a third of its length does not fall silent — it sounds the same note, in a higher register. Only multiples that have nothing to do with the logarithm of a prime leave the zeros evenly spread; the study uses two of them as a control.

07Other choirs, voices upside down

Part 3 of this series met the cousins of the zeta function: the L-functions L(s, χ_D), each with a character χ_D that assigns +1, −1 or 0 to every prime. The prediction for their zeros is the same ripple with one twist: the dip of the prime p is multiplied by χ_D(p). Where the character is +1, a dip, as before. Where it is −1, the dip turns into a bump. Where it is 0 — when p divides D — the prime is silent.

To test it we needed zeros of L-functions far higher up than the tables we had at hand. So we computed them: 446,224 zeros of eight L-functions (D = −3, −4, 5, −7, 8, 13, 17, −23) up to height 36,000.

Fig. 6 · leftSame prime, three choirs: a dip, a bump, and silence
Density of {{γ·ln 2/2π}} on the zeros of three L-functions up to height 36,000, 50 bins, ±2 errors. Lines: prediction.
D = −7, χ(2) = +1D = −3, χ(2) = −1D = −4, 2 divides D
0.60.70.80.91.01.11.20.000.250.500.751.00u = {γ·ln 2/2π}density (uniform = 1)D = −7: a dip at 0D = −3: the dip moves to ½ (a bump at 0)
For D = −7 the character of 2 is +1 and the zeros avoid u = 0. For D = −3 it is −1: the zeros crowd at 0 and the dip moves to ½. For D = −4 the prime 2 divides D and nothing happens.
Picture this · the phase switch

A mixing desk has a small button on every channel marked ø: it flips the signal upside down. The singer still sings the same note, but every crest becomes a trough. A character is a row of such buttons, one for each prime — some pressed, some not, a few channels muted. Each L-function is the same choir of primes heard through a different setting of the desk.

Then came the real test. With the first part finished, we wrote the rules for the second and afterwards computed the zeros of the same eight L-functions further up, from height 36,000 to 80,000: 626,717 new zeros. The prediction for them contains no free parameter — its size is fixed by the density of zeros in the new band.

Fig. 6 · right and Fig. 7 · leftThirty-two predictions, then thirty-two more on zeros nobody had seen
Measured strength of the ripple (first Fourier coefficient) against the predicted one for 8 L-functions × 4 primes. Open circles: zeros up to 36,000. Full circles: the new zeros from 36,000 to 80,000.
zeros up to 36,000 (part I)new zeros, 36,000–80,000 (part II)prediction with the sign of the characteropposite sign
−0.06−0.030.000.030.06−0.06−0.030.000.030.06prediction −w·χ_D(p)·ln p/√pmeasured first Fourier coefficientχ_D(p) = −1: a bump at 0χ_D(p) = +1: a dip at 0p | D: nothing
All points lie on the green line. For the new zeros the largest difference between measurement and prediction is 2.1·10⁻⁵; the prediction fits in all 32 combinations (smallest p-value 0.27), and the opposite sign is excluded in every one where the character is not zero.
Fig. 7 · middleHigher up, the ripple fades — exactly as predicted
Strength of the ripple divided by ln p/√p, averaged over the primes 2, 3, 5 and 7 (points), in three bands of height, for the eight L-functions. Lines: the factor w of each band.
0.0750.0800.0850.0900.0950.1000.1050.1100.1150.12020,00040,00060,000mean height of the band Tmeasured amplitude (points) and w(T) (lines)D = −3D = −4D = 5D = −7D = 8D = 13D = 17D = −23
The ripple is a finite-height effect: its strength is proportional to w, which falls as the zeros get denser. In all three bands the measured coefficients differ from the predicted ones by at most 8.8·10⁻⁵ — a description, with no free parameter.

08A comb with a missing tooth

If each L-function hears the primes through its own mixing desk, its comb should change too. In 2013 Bogomolny and Keating wrote down what to expect for Dirichlet L-functions: the comb moves to x = |D|·T/2π, and every prime that divides D drops out of the tuning. For D = −4 that prime is 2 — the very prime responsible for the tallest tooth of the zeta comb.

Fig. 8 · rightFor D = −4 the tooth at 2 is gone
Variance near x = |D|·T/2π for the L-function with D = −4, on the new zeros only (73,470 zeros, 2,183 windows), ±2 errors.
data (new zeros only)Bogomolny–Keating 2013the formula of ζ unchangedGUE without arithmetic
012345−2−1012δ = ln x − ln(|D|T/2π)variance V(x)1/3123
At the ratio 2 the data give 0.73 ± 0.04; the formula for Dirichlet L-functions says 0.70, the formula of zeta with only the density changed says 2.74. The neighbouring teeth grow instead: 4.75 ± 0.25 at 1 (predicted 4.79) and 3.81 ± 0.20 at 3 (predicted 3.79).

A scale with one note removed is not a poorer scale — it is a different one, and the remaining intervals carry more weight. The eight L-functions each have their own comb; in all eight the formula with the right primes removed passes through the data, while the unchanged formula of zeta is clearly excluded wherever 2 or 3 divides D. For the three largest conductors the two formulas lie too close together to be told apart.

One honest remark belongs here. The idea of this prediction came from a trial of the script on the zeros we already had, below 36,000. That is why it was tested only on the new zeros, and why the rule was fixed before they were read. The errors in this test are cautious, so the agreement says that the prediction is not excluded at this level — and that its rival is.

09The spectrum of the zeros

Now turn the whole picture around. Forget the primes, take only the zeros — a long row of points on a line — and ask what a physicist asks of any material: what is its spectrum? Shine X-rays on a crystal and you get sharp spots; on a liquid, a blur. The mathematical version of that experiment is called the structure factor.

For the zeros it shows sharp lines, and they sit exactly at ln 2, ln 3, ln 4, ln 5, ln 7, ln 8, ln 9 … — at the logarithms of the prime powers. At ln 6 or ln 10, numbers that are not a power of a single prime, there is no line. The series is called The music of the primes; here the name stops being a metaphor. The height of each line is predicted too.

Fig. 13Every prime power has its line, at the predicted height
Height of the spectral line at k = ln n above the background, divided by the prediction, for the 193 prime powers n up to 1,300 at three heights. Logarithmic axis.
Z6a, t ≤ 3·10⁵ (diamonds)P8, t ≈ 10⁸P3e10, t ≈ 3·10¹⁰prediction
0.960.970.980.991.001.011.022510301003001,000prime power n = pᵐ (the peak at k = ln n)peak height / prediction
All 579 ratios lie between 0.985 and 1.000. The lines are resolved up to a boundary set by the width of the sample; beyond it they merge into the smooth form factor of random matrices that part 2 measured.
Picture this · a crystal that is not one

Sharp spectral lines without a repeating pattern are the signature of a quasicrystal, and Freeman Dyson once suggested looking at the zeros that way. The comparison is tempting and the study draws it carefully — with a Fibonacci chain and with random matrices side by side. But it is an analogy with stated limits: the zeros are not a quasicrystal in the strict mathematical sense, and the study does not claim they are. What the measurement shows is narrower and solid: the lines are there, at the right places, with the right heights.

10A rhythm that never drifts

The last measurement returns to where this series began. Count the zeros in an interval that should hold ℓ of them on average, and ask how much the count varies. For random points the variance equals ℓ. For the eigenvalues of random matrices it grows only like a logarithm. And for the zeros, as Michael Berry predicted in 1988 and part 1 measured, it stops growing altogether.

Fig. 14 · middleTen thousand zeros on, the count is still good to less than one zero
Variance of the number of zeros in an interval of ℓ mean spacings, at three heights. Logarithmic axis.
Z6a, t ≤ 3·10⁵ (diamonds)P8, t ≈ 10⁸P3e10, t ≈ 3·10¹⁰Berry (study I)GUE without arithmeticrandom points
0.00.20.40.60.80.11101001,00010,000interval length ℓ (in mean spacings of the zeros)number variance Σ²(ℓ)random points: Σ² = ℓ
At ℓ = 10,000 the variance is 0.37, 0.42 and 0.50 at the three heights; Berry’s formula (green lines) gives 0.38, 0.42 and 0.50. Random matrices alone would have reached 1.28, random points 10,000. The small differences from Berry’s formula (up to 52 errors) disappear when the two-point function of Bogomolny and Keating is used instead (at most 3.3).
Picture this · the drummer and the click track

Ask a crowd to clap “about once a second” and after ten thousand claps you are off by a hundred. A good drummer drifts more slowly, but still drifts. A drummer playing to a click track never does: after ten thousand beats the error is the same as after ten. The zeros keep time like that — and the click track they follow is, once more, written by the primes.

11What is new here — and what is not

It is worth saying plainly what kind of result this is. The formulas tested in sections 02, 03, 06 and in the first half of 07 are theorems or direct consequences of theorems; for them the data calibrate the method and show how well the effect can be seen at these heights. The two-point functions behind the combs of sections 04, 05 and 08 are conjectures; agreement supports them, it does not prove them. And nothing here bears on the Riemann hypothesis.

What the study adds is measurement: data at these heights with null models and error bars, a comb resolved tooth by tooth and prime by prime, and — for the L-functions — zeros that did not exist when the predictions were written. We do not claim priority for the comb; it is contained in the formulas of Bogomolny and Keating, and part 2 saw the same spikes. The limits are stated in the paper: the eight L-functions have small conductors, the errors are cautious, and two of the tests came out of trial runs that the dated notes record.

As in the paper, one more thing is said openly. The laboratory in which these measurements run, and this text, were prepared with the help of an AI assistant (Claude, by Anthropic). No number in the study comes from a language model: every number is computed by scripts that are published with it and can be run again.

Glossary
Fractional part
What is left of a number after its whole part is removed: {3.72} = 0.72.
Landau’s formula, Ford–Zaharescu
A theorem that gives the average of x^(iγ) over the zeros and, from it, the uneven spread of the fractional parts of γ·ln p/2π.
Torus
A square with opposite edges glued together; the natural home of two fractional parts at once.
Explicit formula
An exact identity between a sum over the zeros and a sum over the prime powers (Riemann, Guinand, Weil).
Gaussian window
A smooth bell-shaped weight that selects zeros near a chosen height instead of cutting them off sharply.
Variance V(x)
How much the windowed sum over the zeros changes from one window to the next; 1 for independent points.
GUE
The ensemble of random matrices whose eigenvalues imitate the zeros when the primes are ignored.
Two-point function of Bogomolny and Keating
A conjectured formula for the correlation of pairs of zeros that includes the primes through the constants of Hardy and Littlewood.
Character χ_D
A rule that assigns +1, −1 or 0 to every prime; it defines the L-function L(s, χ_D).
Structure factor
The spectrum of a set of points — the quantity measured by diffraction on crystals.
Number variance, Berry’s saturation
The variance of the count of zeros in an interval; for the zeros it stops growing at a level set by the primes.
Rule written beforehand
The criterion for the verdict (supported, rejected, undecided), recorded with its date before the numbers it judges were computed.
Next time · part 7

The sixth study leaves three doors ajar. How does the comb change for larger conductors and for characters that are not real? What remains when a whole family of L-functions sings at once? And where does the simple law of adding ripples finally break — low down, in the corner, where the first order can no longer hold? Which door opens first is not decided. The score is not written yet — and it will be written before the concert.

Paper, data and code

Study VI · The fractional parts of γ ln p/2π beyond the first order: two primes on a torus, the explicit formula with a smooth window, a comb of resonances in the variance of Σ x^(iγ), and the sign of χ_D(p) for Dirichlet L-functions

The whole series on Zenodo: Study I · Study II · Study III · Study IV · Study V · Study VI · lab note · licence CC BY 4.0 (text, data) and MIT (code)

The charts are interactive — hover over the curves and points.

Napsat komentář

Vaše e-mailová adresa nebude zveřejněna. Vyžadované informace jsou označeny *