Binary Hamming codes
The Hamming(7,4) code (with r = 3)
Named afterRichard W. Hamming
Classification
TypeLinear block code
Block length2 − 1 where r ≥ 2
Message length2r − 1
Rate1 − ⁠r/(2 − 1)⁠
Distance3
Alphabet size2
Notation[2 − 1, 2r − 1, 3]-code
Properties
perfect code

(echo:: @ )