Hamming74
Hamming74, or Hamming(7,4), is a linear error-correcting code designed to protect 4 data bits by adding 3 parity bits to form 7-bit codewords. Introduced by Richard Hamming in 1950, it is capable of correcting any single-bit error and detecting most double-bit errors. It has length n = 7, dimension k = 4, and minimum distance d = 3, which yields a coding rate of 4/7.
In the standard arrangement, the seven bit positions are numbered 1 through 7. The three parity bits
Decoding uses a syndrome calculation: after receiving a 7-bit word, the three parity checks are evaluated to
Hamming74 is a foundational single-error-correcting code in coding theory. It is widely used in educational contexts
---