PUZZLE #3050: Hamming (7,4) Error Correction (diff 2)
A 12-block Hamming-coded message with 6 bit errors. Each 7-bit block protects 4 data bits. Use the parity-check matrix to detect and correct single-bit errors.
DATA
| Encoded |
110010111000110100101001011101110100011100010101001001010111010011101101001000001111
|
| Block Size |
7
|
| Data Bits |
4
|
| N Blocks |
12
|
| Parity Check |
[1, 1, 0, 1, 1, 0, 0], [1, 0, 1, 1, 0, 1, 0], [0, 1, 1, 1, 0, 0, 1]
|
| Syndrome Map |
{
"(1, 1, 0)": 1,
"(1, 0, 1)": 2,
"(0, 1, 1)": 3,
"(1, 1, 1)": 4,
"(1, 0, 0)": 5,
"(0, 1, 0)": 6,
"(0, 0, 1)": 7
}
|
| Errors |
6
|
| Hint |
Compute syndrome s = H·r for each 7-bit block. If s ≠ (0,0,0), find the column in H matching s — that's the error position. Flip that bit, extract data bits (positions 0-3), reassemble ASCII bytes
|
| Answer Format |
lowercase letters, no spaces or punctuation
|
author's note: Pool fill: hamming diff 2
— website sponsored —
[ ad space ]