Consider the (7,4) Hamming code defined by the generator polynomial
The codeword 0111001 is sent over a noisy channel, producing the received word 0101001 that has a single error. Determine the syndrome polynomial s(X) for this received word, and show that it is identical to the error polynomial e(X).