g(x) = x8 + x4 + x2
+ x + 1.
g(x) = x4 + x2 + x +
1
p(x) = x4 + x + 1
.
Let g(x)
be the binary polynomial of smallest degree having
a and a5
as roots. Let V = ( g(x) ) be the cyclic code of smallest length having g(x) as a generator polynomial. Use a and a5 to construct a parity check matrix H of V . (Do not explicitly compute g(x) . )
Hint: Let K denote the matrix:
[ 1 a
a2
a3
a4
... a14
]
K=
[
]
[ 1 (a5)1
(a5)2 (a5)3
(a5)4 ...
(a5)]14 ]
Then
f(x) = f0+f1x+f2x2+ ... f14x14 e V
iff
(f0, f1, f2, ... , f14)KT = [ f(a), f(a5) ] = [ 0, 0 ]
Next let H' denote the binary matrix formed by replacing each element of GF(24) in K' with the corresponding binary 4-tuple written as a column vector. Then the row space of H' is VPerp. Unfortunately, the rows of H' may be linearly dependent. Form the parity check matrix H by putting H' in row echelon canonical form and deleting the all zero rows.