Primearium Lab

The Sound of Primes

Turn coprime periods into interlocking drums and walk a circular sequencer up the number line to hear prime numbers thin out.

72%
128
Presets
Prime Rings (strike every p beats)
Full Realignment (LCM) Proven
15
Current Beat
0
Beats Until Alignment
15
Striking Now
—

Understand

Why do primes sound like this?

Proven Hypothesis

Coprime Rings & the Cicada Link

When drums repeat every 3 and 5 beats, they share no common divisor larger than 1, so they realign only at 3 × 5 = 15. Composite periods like 4 and 6 share the factor 2 and collide halfway, at 12.

In North America, periodical cicada broods emerge every 13 or 17 years. Their simultaneous emergence happens only every 13 × 17 = 221 years (Proven arithmetic). Whether prime cycles evolved to evade periodic predators or reduce brood hybridization is a scientific Hypothesis, still studied by biologists.

Proven Artistic Mapping

Thinning Notes & the Four-Note Lock

Walk the circular sequencer from 1 up to 10,000 or 1,000,000 and the melody grows sparser. By the Prime Number Theorem (Proven), primes near x thin out roughly like 1 / ln(x) — yet never run out.

In p mod 12 mode, something striking happens after 2 and 3: because no prime above 3 can be divisible by 2 or 3, p mod 12 is locked forever to {1, 5, 7, 11} (Proven) — only 4 of the 12 notes of the chromatic scale.

Culture Proven

Olivier Messiaen & the End of Time

French composer Olivier Messiaen (1908–1992) loved prime numbers and non-retrogradable (palindromic) rhythms — rhythms that read identically forward and backward — to dissolve a regular metric pulse and evoke timelessness.

In Quatuor pour la fin du temps (composed and premiered in 1941 at Stalag VIII-A in Görlitz), the opening movement Liturgie de cristal layers a 17-duration rhythmic cycle against a 29-chord sequence in the piano. Since 17 and 29 are prime, exact realignment takes 17 × 29 = 493 steps (Proven) — longer than the movement itself.

Historical note: Messiaen describes these techniques in Technique de mon langage musical (1944). Specific bar offsets, exact chord spellings, and composer intent for every shorter duration count should be verified directly against the published score.

For Mathematicians

Exact statements, theorems & references

1. Pairwise Coprimality and Polyrhythm Periods

Proven

For positive integers p₁, …, pₖ, simultaneous strikes occur on beats b ≡ 0 (mod lcm(p₁, …, pₖ)). By unique prime factorization (Fundamental Theorem of Arithmetic), distinct primes are pairwise coprime, maximizing the cycle length at the full product ∏ pᵢ. Whenever two periods share a factor d = gcd(a, b) > 1, the realignment period drops to ab / d.

lcm(p₁, p₂, …, pₖ) = p₁ · p₂ · … · pₖ ⇔ gcd(pᵢ, pⱼ) = 1 (i ≠ j)

2. Reduced Residue Classes Modulo 12 and Wheel Spokes Modulo 30

Proven

Every prime p > 3 satisfies gcd(p, 12) = 1, restricting chromatic sonification p mod 12 to the multiplicative group (ℤ/12ℤ)× = {1, 5, 7, 11} of order φ(12) = 4. Likewise, setting the circular sequencer length to n = 30 confines every prime p > 5 to the φ(30) = 8 spokes {1, 7, 11, 13, 17, 19, 23, 29}.

p ∈ ℙ, p > 3 ⇒ p mod 12 ∈ (ℤ/12ℤ)× = {1, 5, 7, 11}, φ(12) = 4

3. Asymptotic Thinning and Prime Gaps

Proven Conjecture

By the Prime Number Theorem (Hadamard & de la Vallée Poussin, 1896, Proven), π(x) ~ x / ln(x), so the expected prime density in a short window near x decays as 1 / ln(x) and the average prime gap grows like ln(x). Bounded prime gaps lim inf (pₙ₊₁ − pₙ) ≤ 246 are Proven (Zhang 2013; Maynard 2013; Polymath8b 2014). Whether every even gap 2k — including twin primes (g = 2) — occurs infinitely often remains an open Conjecture (Polignac's conjecture).

π(x) ~ x / ln(x) (x → ∞), lim inf (pₙ₊₁ − pₙ) ≤ 246

4. Periodical Cicadas and Musical Literature

Hypothesis Culture

The arithmetic lcm(13, 17) = 221 is Proven. Evolutionary models linking prime life cycles in Magicicada to predator avoidance, cold-climate survival, or reduced inter-brood hybridization are biological Hypotheses (e.g. Yoshimura 1997; Goles, Schulz & Markus 2001). Musical use of prime-length cycles and non-retrogradable rhythms is documented in Olivier Messiaen, Technique de mon langage musical (Alphonse Leduc, 1944) and Quatuor pour la fin du temps (1941), I. Liturgie de cristal.

OEIS references: A000040 (prime numbers), A001223 (prime gaps), A002110 (primorials), A007775 (numbers coprime to 30).