Eisenstein-Pythagorean Triple Explorer

Interactive visualization of the three-way classification: ntrim | ctrim | conjugate

Main Classification Theorem

The parametrisation (m, n) → (m² − n², n(2m−n), m² − mn + n²) induces a three-way partition:

Non-primitive (ntrim)

m + n ≡ 0 (mod 3)

gcd(a,b,c) = 3

Canonical (ctrim)

m + n ≢ 0, m > 2n

gcd(a,b,c) = 1, a > b

Conjugate

m + n ≢ 0, m < 2n

gcd(a,b,c) = 1, a < b

Parameter Space Visualization

The mod-3 partition of {(m,n) : gcd(m,n) = 1, m > n > 0}

𝒫₁: Odd-1 (m+n ≡ 1) → tprim
𝒫₂: Odd-2 (m+n ≡ 2) → tprim
𝒫₀: Even (m+n ≡ 0) → ntrim
m = 2n boundary
Click on any point to see the corresponding triple and its classification. Points above the red line (m < 2n) give conjugate primitives; points below (m > 2n) give canonical primitives.

Triple Details

Click a point in the parameter space to see details

Statistics (m ≤ 15)

0
Non-primitive
0
Canonical
0
Conjugate

Complete Classification Table

m n a b c m+n mod 3 m : 2n gcd(a,b,c) Lineage

Parity Flow Verification

Verification that odd generators (both types) square to Odd-1 outputs, while even generators remain even.

m n m+n mod 3 Generator Parity a b a+b mod 3 Output Parity

Conjugate Pairs

Each canonical primitive (a, b, c) has a conjugate (b, a, c) arising from the parameter transformation (m, n) ↔ (m, m−n).

Canonical (m > 2n) c Conjugate (m < 2n)
(m, n) a b b a (m, m−n)