The columns of the parity-check matrix of the binary Hamming code are precisely the distinct nonzero vectors of . If , then is nonzero and differs from both summands, so it occurs as a unique third column .
A word supported on three positions is a codeword exactly when the corresponding three columns sum to zero. Every unordered pair of columns determines one such triple, and each triple is counted once by each of its three pairs. Therefore
Sum all nonzero vectors of . In each coordinate, exactly vectors have entry one, which is even because . The sum is therefore zero, so
Thus the all-one word belongs to the Hamming code and has Hamming weight .
Adding the all-one codeword is a bijection from to itself, and it replaces every bit by its complement. It therefore sends weight to weight , proving
The code has one word of weight zero and, since its minimum Hamming distance is three, no words of weight one or two. Combining this with part (i) gives

Articles by others on the same topic (0)

There are currently no matching articles.