Primearium Lab · Complex Primes & Open Problems

The Gaussian Prime Archipelago

Leave the one-dimensional number line behind. In the complex plane, primes like 5 and 13 shatter into symmetrical star pairs, forming glowing islands separated by mysterious prime-free moats.

Complex Prime Splitter

Test any ordinary integer in the currently selected complex lattice. Watch primes that obey Fermat's rule shatter into conjugate factors on a circle of radius √p.

Why this pattern appears

Proven

Why 5 is no longer prime

Allowing the imaginary unit i = √−1 creates new factorizations: 5 = (2 + i)(2 − i) and 13 = (3 + 2i)(3 − 2i). By Fermat's Christmas Theorem, an odd prime splits in ℤ[i] if and only if it leaves remainder 1 when divided by 4. Primes like 3, 7, and 11 (remainder 3 mod 4) never split.

Proven

From 8-fold square to 12-fold snowflake

Switching to the hexagonal Eisenstein integers ℤ[ω] (where ω = e2πi/3) changes the symmetry from 8-fold to 12-fold. Now 5 stays inert, while 7 = (3 + ω)(2 − ω) shatters — primes split precisely when they leave remainder 1 modulo 3.

Open Conjecture

The Gaussian Moat: unsolved since 1962

Can a walker taking steps of length at most k hop from Gaussian prime to Gaussian prime all the way to infinity? Every jump size checked so far — up to k = 6 (billions of primes) — eventually hits a prime-free river too wide to cross. Whether a moat exists for every finite k remains open.

For mathematicians: theorems, open status & exact moat measurements

Proven Classification of Gaussian and Eisenstein primes

In ℤ[i] (Gauss, 1832), z = a + bi is prime iff either ab = 0 and |a+b| ≡ 3 (mod 4) is a rational prime (inert), or a² + b² is a rational prime (ramified for p = 2, split for p ≡ 1 mod 4). In ℤ[ω] (Eisenstein, 1844), z = a + bω is prime iff it is an associate of a rational prime p ≡ 2 (mod 3), or its norm a² − ab + b² is a rational prime (ramified for p = 3, split for p ≡ 1 mod 3).

N(a + bi) = a² + b²,    N(a + bω) = a² − ab + b²

Proven The even-step parity law in ℤ[i]

Every Gaussian prime except the four associates ±1 ± i has odd norm a² + b², hence a + b ≡ 1 (mod 2). For any two such primes, Δa + Δb is even, so (Δa)² + (Δb)² is always even. Thus odd values of k² (such as k = √5) never create bridges between odd-norm Gaussian primes.

Open Conjecture The Gaussian Moat Problem (Basil Gordon, 1962)

It is proven that no walk to infinity exists for k ≤ √26 (Gethner, Wagon & Wick, 1998) and for k ≤ 6 (Tsuchimura, 2005). By contrast, on the 1D real line arbitrarily large prime gaps (n! + 2, …, n! + n) trivially exist; in 2D, avoiding composite regions around the origin in all directions simultaneously is vastly harder, and the general conjecture for all k < ∞ remains open.

Observed & Verified Exact connected component of the origin (computed live in Web Worker)

Re-verifying full symmetry-reduced BFS in background Web Worker…

Ring Step k Reachable primes Farthest prime Max norm Max distance

Sources & verification

  • E. Gethner, S. Wagon, B. Wick (1998), "A Stroll Through the Gaussian Primes", American Mathematical Monthly 105(4), 327–337.
  • N. Tsuchimura (2005), "Computational results for Gaussian moat problem", IEICE Trans. Fundamentals E88-A(5), 1267–1273.
  • C. F. Gauss (1832), Theoria residuorum biquadraticorum, Commentatio secunda.
  • OEIS A002144 · OEIS A002145 · OEIS A002476
  • Independent verification program (available on request)