B2.14

Information Theory
Part II, 2002

Define the binary Hamming code of length n=21n=2^{\ell}-1 and its dual. Prove that the Hamming code is perfect. Prove that in the dual code:

(i) The weight of any non-zero codeword equals 212^{\ell-1};

(ii) The distance between any pair of words equals 212^{\ell-1}.

[You may quote results from the course provided that they are carefully stated.]