Primearium Lab · an honest field guide

Primes in Nature

Does nature count in prime numbers? Almost never. But again and again it uses the same mathematics as the primes: the same statistics, the same spirals, the same waves. Each scene below carries a label so you always know which kind of link you are looking at.

A · Nature really uses primesHypothesis

Cicadas that wait 13 or 17 years

In North America, periodical cicadas live underground for exactly 13 or 17 years, then billions come out together. Both numbers are prime. A brood that came out every 12 years would hit the peak years of predators with 2, 3, 4 and 6-year cycles every single time. A 17-year brood is never in step with any of them: it meets each one only by chance. Pick a cycle and watch.

Predator cycles
Predator peaks met
Peaks met per emergence

Predator peaks met per emergence, in the long run (selected predator cycles)

In 2024 brood XIII (17 years) and brood XIX (13 years) came out together for the first time since 1803. Next time: 13 × 17 = 221 years later, in 2245.

For scientists

Facts. Seven Magicicada species; 13- and 17-year forms arose independently in three lineages (Sota et al. 2013). Nymphs seem to count the host tree's seasonal cycles, not years (Karban, Black & Weinbaum 2000). Four-year early or late "stragglers" exist.

Proven (arithmetic). A brood with cycle c meets a predator with period p at a share gcd(c, p)/p of its emergences, so a prime c meets only predators with period c or its multiples.

Hypotheses for why prime. (1) Predator avoidance (Lloyd & Dybas 1966); no strictly periodic predator is known. (2) Avoiding hybrids with other broods (Yoshimura et al. 2009, a model in which primes are selected near extinction). (3) Abstract predator-prey model in which only prime cycles are stable (Goles, Schulz & Markus 2001). (4) Emergences push bird populations onto trajectories that lower predation at the next emergence (Koenig & Liebhold 2013); the mechanism is unclear. None is settled.

Sources Sota et al., PNAS 110 (2013) 6919 · Karban, Black & Weinbaum, Ecol. Lett. 3 (2000) 253 · Yoshimura et al., Evolution 63 (2009) 288 · Goles, Schulz & Markus, Complexity 6(4) (2001) 33 · Koenig & Liebhold, Am. Nat. 181 (2013) 145 · Lloyd & Dybas, Evolution 20 (1966)

B · Same mathematics, different worldObserved

Rain on glass vs primes on a line

Raindrops land at random: sometimes in clumps, sometimes with big empty patches. Primes look random too. Here every cell is a whole number starting at one million; on the left a drop lands with the same chance a number has of being prime, on the right the real primes appear. Look closely: the primes never touch each other, and in a 30-wide pane they keep to 8 columns.

Pane width
Rain model
Random rain
Primes

Rigidity meter: how much the counts in a window wobble

Variance divided by mean of the number of drops in windows of length H, from one million to four million (trend removed). Random rain stays near 1 (Poisson). The primes become calmer the larger the window.

For scientists

Observed up to 4·106. The detrended variance-to-mean ratio of prime counts falls with the window length H, while both random models stay near the Bernoulli level. At the scale of one average gap, Gallagher (1976) showed that the Hardy–Littlewood conjecture implies Poisson counts, so primes do look like rain up close. The rigidity is a long-range effect.

Conjecture. Montgomery & Soundararajan (2004), from Hardy–Littlewood: the variance is about (H/ln N)·ln(N/H)/ln N, i.e. a ratio of about ln(N/H)/ln N - the same downward trend. Our research note 01 found the same rigidity in pair counts: spread of z-scores 0.53 for primes vs 0.72–0.92 for random models.

Sources H. Cramér, Acta Arith. 2 (1936) 23 · P. X. Gallagher, Mathematika 23 (1976) 4 · A. Granville, Scand. Actuar. J. (1995) 12 · H. L. Montgomery & K. Soundararajan, Comm. Math. Phys. 252 (2004) 589

B · Same mathematics, different worldProven

Sunflower or prime galaxy?

A sunflower places each new seed a fixed angle further round: 137.5°, the golden angle. Because that angle is "as irrational as possible", seeds never line up into spokes and pack perfectly. Turn the angle to exactly 1 radian (57.3°) and light up the primes: a galaxy with spiral arms appears. Same rule, opposite outcome.

Angle
For scientists

Proven. Vogel's model (1979): seed n at angle n·α, radius √n. The visible spirals are the denominators of continued-fraction convergents of α/2π. For the golden angle these are Fibonacci numbers; for α = 1 rad, 1/(2π) has convergents 1/6, 3/19, 4/25, 7/44, 53/333, 113/710.

Proven. Primes above 11 avoid the arms n ≡ r (mod 44) with gcd(r, 44) > 1, so they fill φ(44) = 20 of the 44 arms, and by Dirichlet's theorem each of those equally in the long run. The arms belong to all integers and to 2π, not to the primes.

Observed. In 657 sunflowers, 565 of 768 counted spiral numbers were Fibonacci numbers; non-Fibonacci heads exist (Swinton & Ochu 2016). Douady & Couder (1992) showed the golden angle emerging from a self-organising growth process. Real galaxy arms are density waves (Lin & Shu 1964) with widely varying pitch angles; the "prime galaxy" is only a name for the picture.

Sources H. Vogel, Math. Biosci. 44 (1979) 145 · S. Douady & Y. Couder, PRL 68 (1992) 2098 · J. Swinton & E. Ochu, R. Soc. Open Sci. 3 (2016) 160091 · C. C. Lin & F. H. Shu, ApJ 140 (1964) 646

B · Same mathematics, different worldConjectureObserved

The primes' music sounds like a heavy atom

The secret notes of the primes are the zeros of the Riemann zeta function. This page computes them live. Line them up like energy levels and compare: random levels (like rain) clump, but the zeta zeros keep their distance, much like the energy levels of a heavy nucleus or a quantum chaotic system. A number theorist and a physicist noticed this when they met by chance in Princeton in the early 1970s.

Histogram of
Curves
Zeta zeros
Gaps smaller than ¼ of the average
For scientists

Proven (restricted). Montgomery (1973): the pair correlation of normalised zeros is 1 − (sin πu/πu)² for test functions with Fourier support in (−1, 1). Dyson recognised the random-matrix (GUE) formula. Rudnick & Sarnak (1996): same for all n-level correlations, restricted. Montgomery's 1973 proof assumed RH, which is now proved (Lean, 2026).

Conjecture + Observed. The full GUE law for spacings is a conjecture; Odlyzko (1987 and later, up to zeros near the 1023-rd) confirmed it numerically, better at greater height. Here: Riemann–Siegel Z(t), zeros by sign change on a grid of 1/12 of the mean spacing; counts N(100) = 29, N(1000) = 649, N(10 000) = 10 142 match the known values. Unfolding by θ(t)/π + 1.

Caveat. Heavy nuclei follow the GOE (β = 1, time-reversal symmetric; Haq, Pandey & Bohigas 1982), the zeta zeros follow the GUE (β = 2). Both repel; they are siblings, not twins. No physical system with the zeta zeros as energy levels is known (Hilbert–Pólya, open; Berry & Keating 1999). The random matrices here are Dumitriu–Edelman tridiagonal models, a model of a nucleus, not nuclear data. At this low height the zeta histogram peaks a little above the Wigner surmise, a known finite-height effect.

pGOE(s) = (π/2) s e−πs²/4  ·  pGUE(s) = (32/π²) s² e−4s²/π  ·  R₂(u) = 1 − (sin πu / πu)²

Sources H. L. Montgomery, Proc. Symp. Pure Math. 24 (1973) 181 · A. M. Odlyzko, Math. Comp. 48 (1987) 273 · Z. Rudnick & P. Sarnak, Duke Math. J. 81 (1996) 269 · R. U. Haq, A. Pandey & O. Bohigas, PRL 48 (1982) 1086 · O. Bohigas, M.-J. Giannoni & C. Schmit, PRL 52 (1984) 1 · M. V. Berry & J. P. Keating, SIAM Rev. 41 (1999) 236 · I. Dumitriu & A. Edelman, J. Math. Phys. 43 (2002) 5830

B · Same mathematics, different worldLoose analogy

Planets that sieve the sky

Jupiter tugs on asteroids. Where an asteroid would go round exactly 3 times while Jupiter goes round once, the tugs add up and the orbit is shaken empty: a gap. The same happens at 5:2, 7:3 and 2:1, like a sieve crossing out numbers. Jupiter's moons Io, Europa and Ganymede are locked 1:2:4. Careful: these are simple fractions, not primes.

For scientists

Observed. Kirkwood gaps at the 3:1 (2.50 AU), 5:2 (2.82), 7:3 (2.96) and 2:1 (3.28) mean-motion resonances with Jupiter (Kepler's third law, aJ = 5.2026 AU). Chaotic resonance dynamics pump eccentricities until asteroids cross Mars' orbit.

Not a rule. Resonances also protect: the Hildas crowd at 3:2 (3.97 AU), the Trojans at 1:1, Pluto and the plutinos at 3:2 with Neptune.

Loose analogy. A sieve removes multiples of small primes; resonances remove orbits at small-integer ratios. The shared mathematics is rational versus irrational frequency ratios - the same as in the sunflower scene (KAM theory; Greene 1979: the golden-mean torus is numerically the last to break). No primes are involved. Mean motions after Murray & Dermott (1999); nIo − 3nEuropa + 2nGanymede ≈ 0.

Sources D. Kirkwood (1867) · C. D. Murray & S. F. Dermott, Solar System Dynamics (1999) · J. M. Greene, J. Math. Phys. 20 (1979) 1183

B · Same mathematics, different worldProven

Ocean swells that build the prime staircase

A sea surface is many swells added together. The prime staircase (gold) can be built the same way: every zeta zero adds one wave. Start with a smooth slope, add waves one by one, and the water climbs into steps exactly at the primes and prime powers.

The full instrument: Riemann's music
For scientists

Proven. Riemann–von Mangoldt explicit formula: ψ(x) = x − Σρ xρ/ρ − ln 2π − ½ ln(1 − x−2) for x > 1 not a prime power (sum over zeros in order of |γ|). Pairing ρ = ½ ± iγ gives the wave 2√x (½ cos(γ ln x) + γ sin(γ ln x))/(¼ + γ²); the zeros used here lie on the critical line (RH, proved formally in 2026, and also verified numerically). The analogy is superposition (Fourier), not water physics.

Sources B. Riemann (1859) · H. von Mangoldt (1895) · H. M. Edwards, Riemann's Zeta Function (1974)

Atoms, mountains and myths

B · Same mathematics, different worldAnalogy

Atoms of arithmetic

Every whole number is built from primes in exactly one way, as molecules are built from elements: 360 = 2·2·2·3·3·5, a bit like H₂O.

360 = 2³ · 3² · 5    H₂O = H · H · O

Limits. The same atoms can make different molecules (C₂H₆O is ethanol or dimethyl ether), but the same primes always make the same number. There are 118 known elements and infinitely many primes. Atoms can be split; primes cannot. Status: Proven for numbers (fundamental theorem of arithmetic); an analogy for chemistry.

B · Same mathematics, different worldLoose analogy

Mountains, coastlines, lightning

Coastlines, mountain ridges and lightning are fractals: zoom in and they look alike. The primes are not: as you zoom out they thin out slowly, and their dimension on the line is 1 (from the prime number theorem). Honestly, the only shared idea is "a simple rule, a complex result".

One true prime fractal lives inside mathematics: colour Pascal's triangle by remainders after division by a prime p and it repeats itself at scale p (Lucas' theorem, proven). With p = 2 it is the Sierpiński triangle.

C · Myth / not supported

Myths that do not hold up

  • "Sunflowers and pine cones have prime numbers of spirals." They have Fibonacci numbers (34, 55, 89…). Some are prime, many are not (21, 34, 55, 144).
  • "Galaxies and shells follow the golden spiral." Galaxy arms have widely varying pitch angles with no preference for the golden spiral; the nautilus is a logarithmic spiral, but not the golden one.
  • "Cicadas know mathematics." They count the tree's yearly cycles; the prime periods are an evolutionary outcome whose cause is still a hypothesis.
  • "The zeta zeros are the energy levels of an atom." No known physical system has them as levels; nuclei and zeros belong to related but different random-matrix families.
  • "Primes are random like rain." Only up close. Over longer stretches they are more regular than rain, and they obey strict sieve rules.
  • "Prime numbers are hidden everywhere in nature" (DNA, the body, lightning). We found no scientific support; such claims pick a few numbers that happen to be prime. In fiction (Sagan's Contact) a prime signal proves aliens exist exactly because nature does not make one.

Left out. Claims that other animals or plants use prime cycles (no peer-reviewed source found), real nuclear spectra (we use random-matrix models and say so), and any link between Kirkwood ratios and primality.