Let s
R[X] be a shift polynomial of degree
n-1.
We present a formula for the output
gk of the shift register at the (k+1)-th
shift.
At the heart of the result below, lies the observation that gk is the coefficient of Xk in the product of sn-1X + sn-2X2 + ··· + s0Xn and (gk-1Xn-1 + gk-2Xn-2 + ··· + gk-n)Xk-n.
We need the following two polynomials.
j=0n-1
(gj -
i=1j
sn-i ·
gj-i)Xj
and
In
a shift register with shift polynomial s and register contents g0, ...,
gn-1
R, the (k + 1)-st output gk is the
coefficient of Xk in