On this page
Every whole number above 1 breaks into primes in exactly one way, apart from order. Change the number system slightly and that fails, and the failure shaped the history of Fermat's Last Theorem.
What is Z[√−5]?
Z[√−5] is the set of numbers a + b√−5 with a and b ordinary integers. Adding, subtracting and multiplying them keeps you inside the set.
The standard example, given in a 2019 paper by Scott Chapman, Felix Gotti and Marly Gotti, is 6 = 2·3 = (1 − √−5)(1 + √−5), where 2, 3, 1 − √−5 and 1 + √−5 are pairwise non-associate irreducible elements. Check the second product: 1 − (√−5)² = 1 + 5 = 6.
Irreducible means it cannot be split into two factors unless one is a unit (a number with an inverse in the ring). Non-associate means no factor is another times a unit. In Z[√−5] the only units are 1 and −1, as the same paper states.
How do you check irreducibility with the norm a² + 5b²?
For α = a + b√−5, the norm is N(α) = a² + 5b², and N(αβ) = N(α)N(β) (Chapman, Gotti and Gotti). Keith Conrad's notes Factoring in quadratic fields prove this multiplication rule for every ring of this kind. So a factor's norm must divide the number's norm, a question about ordinary whole numbers. Norm 1 means a unit.
The full check, to redo on paper:
Norms of the four factors: N(2) = 4, N(3) = 9, N(1 + √−5) = 1 + 5 = 6, N(1 − √−5) = 6.
Suppose 2 = αβ with neither factor a unit. Then N(α)N(β) = 4 and neither norm is 1, so N(α) = 2.
Solve a² + 5b² = 2: if b ≠ 0 the left side is at least 5, and a² = 2 has no integer solution. So 2 is irreducible.
For 3: a proper factor needs norm 3, and a² + 5b² = 3 has no solution, so 3 is irreducible.
For 1 ± √−5: a proper factor would need norm 2 or 3, since 6 = 2·3. Neither exists, so both are irreducible.
Associates: the only units are ±1, and no factor is ± another. So the two factorisations differ.
In the integers, a prime dividing a product divides one of the factors. Here 2 divides (1 + √−5)(1 − √−5) = 6 but neither bracket, because (1 ± √−5)/2 is not in the ring. Our guide to proof by contradiction with √2 and primes practises the same "no integer solution" move.
Why did this break early proofs of Fermat's Last Theorem?
According to the MacTutor history of Fermat's Last Theorem, on 1 March 1847 Gabriel Lamé announced to the Paris Académie that he had proved the theorem. His sketch factored xⁿ + yⁿ into linear factors over the complex numbers. Joseph Liouville replied that this needed unique factorisation into primes for these numbers, and he doubted it held.
On 24 May of that year, the same page records, Liouville read out a letter from Ernst Kummer enclosing an 1844 paper which proved that unique factorisation fails for these numbers. Lamé's numbers used roots of unity, not √−5, but the fault is the one you just checked.
How did Kummer and Dedekind rescue unique factorisation with ideals?
Kummer's answer was "ideal numbers": extra factors that make factorisation unique again. The Wikipedia article on ideal numbers records his main theorem, unique factorisation into actual and ideal primes, in papers of 1846 and 1847. MacTutor adds that he used this theory to prove Fermat's Last Theorem for regular primes.
Richard Dedekind replaced ideal numbers with concrete sets of numbers he called ideals (Wikipedia: ideal). The MacTutor biography of Dedekind places this in the supplements he wrote for his edition of Dirichlet's lectures on number theory. Our rings and ideals explainer gives the definitions.
The same paper gives the ideal factorisations in Z[√−5]. Write P = (2, 1 + √−5), Q = (3, 1 + √−5) and Q′ = (3, 1 − √−5). (The paper writes Q and Q′ as (3, 1 − 2√−5) and (3, 1 + 2√−5): the same ideals, since the generators differ by a multiple of 3.)
(2) = P²
(3) = QQ′
(1 + √−5) = PQ
(1 − √−5) = PQ′
Both factorisations of 6 are the same prime ideals, regrouped: 2·3 gives P²·QQ′, and (1 + √−5)(1 − √−5) gives PQ·PQ′. The same paper proves the class group of Z[√−5] has order 2; informally, it measures how far the ring is from unique factorisation.
For a norm argument that succeeds, see Fermat's two-squares theorem. If ring, unit and ideal are new words, the Fermi Concept Library covers every concept in mathematics. When a norm calculation goes wrong, the Fermi Problem Library has a step-by-step solver that explains the reasoning, so you can see which step failed.
![Lattice of Z[√−5] with empty norm-2 and norm-3 circles around the origin](https://news.fermi.ai/media/images/2026/12/lattice-of-z-5-with-empty-norm-2-and-norm-3-circles-around-t-d9c35440-1600x900.webp)


