Suppose that a key stream is generated for a stream cipher by using the following linear recurrence Zi+2 = Zi + Zi+1 mod 2 for i > 1.