Example
Consider the shift register with
R
=
Z
/2
Z
, and
s
= 1 +
X
+
X
3
.
Suppose that it starts out with
g
0
= 1,
g
1
= 0,
g
2
= 0,
g
3
= 0
in the registers. Then it produces the sequence
1, 0, 0, 0, 1, 1, 0, 1, ...