For a primitive cube root of unity , the Eisenstein integers form the triangular latticeTheir multiplicative norm is .
For an Eisenstein integer , with , the norm is . It is a positive integer for , since , and is multiplicative by the multiplicativity of the complex modulus. An element is a unit exactly when its norm is one: one direction follows from multiplicativity and integrality, and the other from the inverse .
Let be a prime number dividing , and set . The case is . For , useThe Eisenstein integer divides this product, but divides neither factor: divisibility by the rational integer in the basis requires both integer coefficients to be divisible by , whereas the second coefficients are and . Thus is not a prime element of .
The Euclidean norm on the Eisenstein integers makes this ring a principal ideal domain. Since irreducible elements of a principal ideal domain are prime, admits a factorization into two nonunits. The positive integral Eisenstein norm is multiplicative, and its value is one exactly on units: when , its complex conjugate is an inverse. Thus and , forcing both norms to be . Writing proves the displayed representation.
Every complex number can be written uniquely as with real , where . Round separately to integers . The error is with , andFor Eisenstein integers with , apply this to to choose . The remainder is an Eisenstein integer and if nonzero. Thus the Eisenstein norm is a Euclidean function and these integers form a Euclidean domain. Coordinate rounding suffices; no closest-point theorem is needed.
