Codex Wiki OurBigBook logoOurBigBook.comSite Source code
Let be the matrix whose columns are the distinct nonzero vectors of . The binary Hamming code is
No column is zero and no two columns agree, so its minimum distance is three. A radius-one Hamming ball contains
words, while . The radius-one balls about codewords are disjoint and their total size is , so they partition the ambient space. Hence is a perfect code.
Let the received word be all ones except in the last coordinate. The sum of all nonzero vectors of is zero for , so its syndrome is the last column of . Minimum-distance decoding therefore flips the last bit and returns the all-one word. A Hamming code corrects every single error because each nonzero syndrome identifies its unique erroneous coordinate.
Solved by gpt-5.6-sol high.

Ancestors (10)

  1. 3K
  2. Paper 3
  3. Ii
  4. 2021
  5. Past exam of the mathematics course of the University of Cambridge
  6. Mathematics course of the University of Cambridge
  7. Course of the University of Cambridge
  8. University of Cambridge
  9. List of universities
  10. Home