A1.10

Coding and Cryptography | Part II, 2002

(i) Describe the original Hamming code of length 7 . Show how to encode a message word, and how to decode a received word involving at most one error. Explain why the procedure works.

(ii) What is a linear binary code? What is its dual code? What is a cyclic binary code? Explain how cyclic binary codes of length nn correspond to polynomials in F2[X]\mathbb{F}_{2}[X] dividing Xn+1X^{n}+1. Show that the dual of a cyclic code of length nn is cyclic of length nn.

Using the factorization

X7+1=(X+1)(X3+X+1)(X3+X2+1)X^{7}+1=(X+1)\left(X^{3}+X+1\right)\left(X^{3}+X^{2}+1\right)

in F2[X]\mathbb{F}_{2}[X], find all cyclic binary codes of length 7 . Identify those which are Hamming codes and their duals. Justify your answer.

Typos? Please submit corrections to this page on GitHub.