The Prime Crystal

Give every prime one step, and let a single dial choose the direction: the prime p turns by p × α full turns before it steps. At almost every setting the primes stagger around in a knot. But at simple fractions something clicks, and they march off in a straight line. The needles of light around the dial show how strong the march is at each setting. Physicists call such a picture a diffraction pattern.

Drag around the dial. Gold needles come from the prime 3, cyan from 5, pink from 7, violet from 11 and beyond.

Tune the dial

Dial setting α
Jump to a fraction

needlesilent: the denominator contains a square

Who is walking?

Needle heights

Why fractions? Because some directions are forbidden.

Set the dial to 1/5. Now a step can point in only five directions, and which one depends only on the remainder the prime leaves when divided by 5. Remainder 0 would mean “divisible by 5”, and no prime after 5 itself can do that. One of the five directions is forbidden.

The other four directions are used equally often (proven in 1896). Five balanced directions would cancel out. With one missing, the rest pull the walk steadily away from it: a quarter of a step with every step. That is the needle at 1/5, and that is its height, 1/4.

Now try 1/4. Two directions are forbidden, remainders 0 and 2, but they point opposite ways, so nothing is left to pull. Silence. The same happens whenever the denominator is divisible by a square (4, 8, 9, 12, 16 …): the forbidden directions balance by themselves.

A crystal, not a gas

Random dust

Physicists learn how atoms are arranged by shining X-rays through matter. A gas scatters the light into a blur. Choose Random: numbers as sparse as the primes, but picked by chance. The ring goes dark. No needles, only static.

A wheel

A crystal, with atoms in a repeating pattern, sends the light into a few sharp spots. Choose Wheel 6, 30 or 210: the numbers left after crossing out the multiples of 2, 3, 5, 7. Each pattern repeats, and each has exactly 6, 30, 210 needles.

The primes

The primes are what is left when every wheel has turned. They never repeat, yet they keep the needles of all the wheels at once: infinitely many, weaker and weaker, on every scale. Physicists who measured this in 2018 called the primes “effectively limit-periodic”.

For mathematicians: what is proven, what is open

The picture shows the exponential sum over primes, the central object of the Hardy-Littlewood circle method. The walk is its sequence of partial sums; the needle at α has height |S_N(α)| / π(N).

SN(α) = ∑p ≤ N e(αp),   e(x) = e2πix

Proven Needles at squarefree fractions, silence at the others

SN(a/q) / π(N) → μ(q) / φ(q)   (gcd(a, q) = 1, N → ∞)

At α = a/q the step e(ap/q) depends only on p mod q. Primes are equidistributed among the φ(q) reduced residue classes (Dirichlet 1837, de la Vallée Poussin 1896), and the sum of e(ar/q) over the reduced residues r is Ramanujan's sum c_q(a) = μ(q) when gcd(a, q) = 1. So the needle has height 1/φ(q) when q is squarefree and 0 otherwise. The sign of μ(q) says whether the walk runs towards direction 0 or away from it.

SN(α + ½) = 2·e(2α) − SN(α)

Exact for every N and α: half a turn of the dial flips the step of every odd prime and leaves the step of p = 2 alone. The ring would have perfect half-turn symmetry if 2 were not a prime.

Away from fractions with small denominators the sum is small (Vinogradov 1937). Needles on the “major arcs”, static on the “minor arcs”: this split is how Vinogradov proved that every sufficiently large odd number is a sum of three primes, completed for every odd number from 7 on by Helfgott (2013).

Conjecture How big is the leftover at a fraction?

What we measured

qμ(q)φ(q) limitobservedleftover · √count

What this is, and what it is not

This is classical mathematics drawn as a picture, not a new formula for primes. The needles are the “major arc” side of the circle method; as a diffraction pattern they were described by Torquato, Zhang and de Courcy-Ireland (2018). They carry the same information as the sieve: |S|² is the Fourier transform of the pair counts shown in the Gap Resonance presentation. Knowing every needle does not tell you where the next prime is. That information hides in the static.

Open: averaged over the whole dial, the static has size exactly √π(N), like a random walk (Parseval). But the best proven bound at a single setting between the needles is far weaker, about N^(4/5) at best (Vinogradov, Vaughan). That gap is why two-prime problems such as Goldbach and twin primes stay out of reach of this method.

Sources