A general feedback shift register is a map
given by:

where .

The stream associated to the initial fill is
the sequence where:

for