Primearium Lab · Spacetime Geometry

Primes on the light cone

Plot spacetime intervals t² − x² = n inside the light cone (speed of light c = 1). Every odd prime lights up just one golden star on the right wing — composites cast extra echoes deeper inside, while numbers n ≡ 2 (mod 4) stay completely dark.

φ 0.00 v = 0.00c γ = 1.00
  • Odd prime (1 event, x ≥ 0)
  • Odd composite (≥ 2)
  • Multiple of 4
  • n ≡ 2 (mod 4): empty

Click any hyperbola or star to inspect · Drag to pan · Arrow keys to step

Plain explanation

Why do odd primes sit alone near the beam of light?

Imagine a flash of light at the bottom dot. Time goes straight up, space goes left and right, and light races outward at 45° (speed c = 1). Every grid point (t, x) inside the V is an event you could actually reach. Give each grid point a score: t² − x².

Odd primes are the loneliest odd curves

Because t² − x² = (t − x)(t + x), every star on curve n splits n into two factors that are both odd or both even. An odd prime p splits only as 1 × p, leaving one single right-hand star at t = (p+1)/2, x = (p−1)/2 hugging the light ray.

Composites cast echoes deeper inside

Each extra way to split n into same-parity factors lights up another star closer to the middle! Take 15: besides 1 × 15 at (8, 7), it splits as 3 × 5, adding a second star at (4, 1). Scaled even curves 4p also carry one right-hand star, shifted to t − x = 2.

Empty curves with zero stars

Try splitting 6, 10, or 14 into two whole factors: one is always even and the other always odd. Their average t = (u + v)/2 lands halfway between grid lines! So every curve with n ≡ 2 (mod 4) — including the only even prime 2 — has zero integer events.

Speed boosts slide stars off the grid

In special relativity, a moving observer measures new coordinates (t′, x′), yet the score t′² − x′² never changes. Drag the boost slider and watch every star glide along its hyperbola — immediately leaving the faint original integer dots behind.

Live numerical verification

How lonely do primes become as N grows?

Observed up to N = 100,000

Computed live in a background Web Worker. While every odd prime stays frozen at 1 right-hand event forever, the average hyperbola grows logarithmically richer — matching Dirichlet’s divisor law (¼ ln N).

Computing exact counts up to 100,000…
Range 1…N Empty (E₊ = 0) Odd primes (E₊ = 1) 1, 4 & 4p (E₊ = 1) Multi-event (E₊ ≥ 2) Mean E₊(n) ¼ ln N + (2γ−1)/4 Richest hyperbola

For mathematicians

Exact theorems, divisor formulas & references

1. Same-parity factorisations & the divisor function

Proven

For any integer n ≥ 1, let E(n) = #{(t, x) ∈ Z² : t > 0, t² − x² = n} and E₊(n) = #{(t, x) ∈ Z² : t > 0, x ≥ 0, t² − x² = n}. Setting u = t − x and v = t + x gives a bijection with positive integer factorisations n = u·v satisfying u ≡ v (mod 2) (ordered for E(n), unordered with u ≤ v for E₊(n)), with inverse t = (u+v)/2, x = (v−u)/2. In terms of the divisor function d(m) = ∑k|m 1:

E(n) = d(n)  [n odd],    0  [n ≡ 2 mod 4],    d(n/4)  [n ≡ 0 mod 4]
E₊(n) = ⌈E(n) / 2⌉,      E(n) = 2·E₊(n) − 1n = □

2. Lonely hyperbolas & Fermat’s factorisation method

Proven

Among odd integers n ≥ 3, E₊(n) = 1 ⇔ d(n) = 2 ⇔ n is an odd prime; its sole right-half event is (t, x) = ((p+1)/2, (p−1)/2) on the edge diagonal t − x = 1. Every odd composite has E₊(n) ≥ 2, yielding at least one interior event t − x ≥ 3 — finding it is precisely Fermat’s difference-of-squares factorisation (1643). Across all n ≥ 1, the complete set with E₊(n) = 1 is {1, 4} ∪ {odd primes p} ∪ {4p : p prime}, where n = 4p has its sole right-half event at (p+1, p−1) on t − x = 2. Across all n ≥ 2, odd primes are uniquely characterised by E₊(n) = 1 with t − x = 1.

3. Lorentz boosts, prime rapidity & non-invariance of Z²

Proven

Under a Lorentz boost of rapidity φ ∈ R, (t′, x′) = (t cosh φ + x sinh φ, x cosh φ + t sinh φ), the null coordinates rescale as u′ = e−φu and v′ = eφv, preserving u′v′ = t′² − x′² = n. Every event has rest-frame rapidity η = ½ ln(v/u); for an odd prime p, η = ½ ln p and velocity β = (p−1)/(p+1) → 1. Because a² − b² = 1 has only (a, b) = (1, 0) in integers with a ≥ 1, the integer orthogonal group SO⁺(1, 1; Z) = { I } is trivial: no nontrivial boost preserves Z² (unlike Pell forms t² − Dx² for non-square D).

4. Exact summatory identity & average order

Proven

Let D(X) = ∑n ≤ X d(n). Using d(2k) = 2d(k) − d(k/2) (with d(k/2) = 0 for odd k), summing over odd n and multiples of 4 gives an exact identity valid for every N ≥ 1, verified up to 100,000 in the census above:

∑n ≤ N E(n) = D(N) − 2·D(⌊N/2⌋) + 2·D(⌊N/4⌋) = ½ N ln N + (γ − ½) N + O(√N)
∑n ≤ N E₊(n) = ¼ N ln N + ¼(2γ − 1) N + O(√N)

The ln 2 terms cancel identically: requiring u ≡ v (mod 2) retains asymptotically half of all lattice points under uv ≤ N. Thus the mean event count grows as ¼ ln N while odd primes stay pinned at E₊(p) = 1.

References

  • H. Minkowski (1908), Raum und Zeit, Lecture to the 80th Assembly of German Natural Scientists and Physicians, Cologne — spacetime interval t² − x² and light-cone geometry.
  • P. de Fermat (1643), correspondence with Mersenne and Frénicle — factorisation via difference of two squares n = t² − x².
  • P. G. L. Dirichlet (1849), Über die Bestimmung der mittleren Werthe in der Zahlentheorie — asymptotic average order of the divisor function d(n).
  • G. H. Hardy & E. M. Wright, An Introduction to the Theory of Numbers, Oxford University Press — divisor function and binary quadratic forms.
  • OEIS: A000005 (divisor function d(n)) and A000040 (prime numbers).