Interactive 3D terrain of positive integers where height represents the number of divisors. Prime numbers at height 2 form glowing cyan valleys and lakes, while highly composite numbers rise as golden alpine peaks.

Primearium Lab · 3D Arithmetic

Divisor Mountains

A 3D landscape of integers where primes carve glowing rivers at height 2 and Ramanujan's highly composite numbers tower as golden peaks.

  • Primes (d = 2)
  • Highly composite peaks
  • Composites
Terrain grid
Elevation
2.0
1.0×
Jump to Ramanujan peak

Drag to orbit · Shift+drag to pan · Scroll to zoom · WASD to fly · Click a peak to inspect

Understand the terrain

Why prime numbers carve the deepest rivers

Every whole number has a set of divisors — smaller numbers that divide it cleanly without remainder. Use that count as altitude, and pure arithmetic turns into a dramatic alpine range.

Prime valleys and glowing lakes

A prime number has just two divisors: 1 and itself. From 2 onward, primes sit at the absolute minimum elevation of 2. Raise the water slider to 2 and every composite stands above water while primes (and 1) fill as glowing cyan lakes and winding rivers.

Ramanujan's golden summits

At the opposite extreme stand highly composite numbers — 12, 60, 360, 720, 2,520, 5,040 — packing more divisors than any smaller integer. Because they divide cleanly by 2, 3, 4, 5, 6…, humanity built clocks and circles around them; here they soar as golden Matterhorns.

Spiral canyons & primorial highways

Laying integers on a square Ulam spiral aligns quadratic families into diagonal prime rivers and composite ridges. Fold the landscape into rows of width 6 or 30, and primes lock strictly into 2 or 8 parallel canals walled in by colossal multiples of 6 and 30.

Proven

Average height d̄(N)

—

—

Proven

Prime valley share π(N)/N

—

—

Computed up to N

Tallest Ramanujan peak ≤ N

—

—

Proven

Mean abundancy σ(n)/n

—

—

Truth layer · For mathematicians

Exact theorems, open conjectures, and verified peaks

Mathematical statements, proof status, interactive peak catalog, and references

Average terrain height (Dirichlet 1849)

Proven

(1/N) ∑n≤N d(n) = ln N + (2γ − 1) + O(N−1/2)

Dirichlet proved via his hyperbola method that the average divisor count rises logarithmically like ln N + (2γ − 1) with Euler–Mascheroni constant γ ≈ 0.5772 (so 2γ − 1 ≈ 0.1544). Bounding the error term Δ(N) = Σ d(n) − N(ln N + 2γ − 1) is the Dirichlet divisor problem (best proven exponent 131/416 ≈ 0.3149 by Huxley, 2003).

Conjecture Dirichlet divisor problem: Δ(N) = O(N^(1/4 + ε)) for every ε > 0.

Highly composite peaks (Ramanujan 1915)

Proven

n = 2a2 · 3a3 · 5a5 &cdots; pkapk,   a2 ≥ a3 ≥ &cdots; ≥ apk = 1

Ramanujan's landmark 1915 paper proved that every highly composite number (OEIS A002182: d(m) < d(n) for all m < n) is a product of consecutive primes with non-increasing exponents ending in 1 (except 4 = 2² and 36 = 2²·3²). By Wigert's theorem (1907, Proven), peak heights grow like 2^(ln n / ln ln n) — towering far over the ln n average yet slower than any power n^ε.

Thinning prime valleys (Prime Number Theorem, 1896)

Proven

π(N) / N ∼ 1 / ln N   (as N → ∞)

Proven independently by Hadamard and de la Vallée Poussin (1896): the proportion of vertices at prime floor d(n) = 2 decays like 1 / ln N while surrounding composite mountains climb like ln N. Farther out on the spiral, prime lakes grow both rarer and deeper relative to the peaks.

Abundancy σ(n)/n, Gronwall (1913) & Robin's criterion

Proven

(1/N) ∑n≤N σ(n)/n → π2/6 ≈ 1.6449;   lim sup σ(n)/(n ln ln n) = eγ

In σ(n)/n mode, primes hover just above 1 (σ(p)/p = 1 + 1/p), perfect numbers (6, 28, 496, 8,128) sit at exact elevation 2, the global mean converges to π²/6 ≈ 1.6449 (Proven), and Gronwall (1913, Proven) showed extreme peaks scale as e^γ ln ln n (e^γ ≈ 1.7811).

Proven Robin (1984) proved that σ(n)/n < e^γ ln ln n for all n > 5,040 is equivalent to the Riemann Hypothesis - and RH was proven formally in November 2026 (Lean), so the inequality now holds and the golden summit 5,040 is the last exception.

Ulam diagonals & primorial canals (Width 6 and 30)

Proven

In rows of width 6, every prime > 3 sits in columns 1 or 5 (mod 6); in width 30, every prime > 5 sits in the 8 coprime columns {1, 7, 11, 13, 17, 19, 23, 29}, while column 0 (mod 30) forms a continuous ridge of multiples of 30 — elementary sieve geometry (Proven). On the Ulam spiral, diagonal rays trace quadratic polynomials 4k² + bk + c: composite ridges are elementary, while prime-rich diagonal rivers (such as Euler's 4k² − 2k + 41) are governed by Hardy–Littlewood Conjecture F.

Conjecture Hardy–Littlewood Conjecture F predicts the asymptotic prime density along irreducible quadratic diagonals of the Ulam spiral.

Verified highly composite peaks in this terrain (click any peak to fly there)

References & OEIS

  • P. G. Lejeune Dirichlet (1849), Über die Bestimmung der mittleren Werthe in der Zahlentheorie.
  • S. Ramanujan (1915), Highly Composite Numbers, Proc. London Math. Soc. (2) 14, 347–409.
  • S. Wigert (1907), Sur l'ordre de grandeur du nombre des diviseurs d'un entier, Ark. Mat. 3(18).
  • T. H. Gronwall (1913), Some asymptotic expressions in the theory of numbers, Trans. AMS 14, 113–122.
  • G. Robin (1984), Grandes valeurs de la fonction somme des diviseurs et hypothèse de Riemann, J. Math. Pures Appl. 63.
  • OEIS sequences: A000005 (divisor count d(n)), A000203 (sum of divisors σ(n)), A002182 (highly composite numbers).