The relation makes this a length-seven binary cyclic code. Since , the generator polynomial of a cyclic code gives
The polynomial itself is a codeword of Hamming weight three, so the minimum distance is at most three. A nonzero word of weight one cannot vanish at the nonzero element . If a weight-two word vanished there, then ; because has order seven and , this forces . Hence there are no nonzero words of weight below three, and
The equation gives in the finite field , and therefore
By the root-evaluation syndrome for a cyclic code, this is the syndrome of the single error . Since , minimum-distance decoding uniquely corrects one error. Subtracting and adding agree over , so the decoded codeword is
A binary cyclic code is a linear subspace invariant under cyclic coordinate shift. Identify a word with in
Cyclic shift is multiplication by , so cyclic codes are exactly ideals of this quotient. Since is a principal ideal domain, each is generated by a unique monic divisor , giving the required bijection.
A binary cyclic code of odd length is an ideal of . For a primitive th root , its defining set is the set of powers at which every code polynomial vanishes. A BCH code of design distance has consecutive powers
in its defining set.
If a nonzero codeword had weight , write it as . Evaluation at consecutive defining roots gives a homogeneous Vandermonde system in the nonzero values . Its determinant is nonzero because the support elements are distinct. Thus every would vanish, a contradiction. This proves the BCH bound
For the standard dot product on , the dual code is
It is an intersection of kernels of linear functions, and is therefore a linear code.
Let denote cyclic right shift. If and , then
A cyclic code is closed under both and , so and the right-hand side vanishes. Hence , proving directly that the dual of a cyclic code is cyclic.
Identify words with polynomials in . If the generator polynomial of a cyclic code is the monic divisor and
then the generator polynomial of is the monic reciprocal
Equivalently, the parity-check polynomial of one code becomes, after reversal, the generator polynomial of its dual.