Example

The polynomial X7 - 1 in Z/2Z[X] is the following product of irreducible polynomials:

(X + 1) · (X3 + X + 1) · (X3 + X2 + 1).

If g = X3 + X + 1, then the cyclic code generated by g is a linear (7,4)-code.

Compare this code with the code discussed in the previous section.