Consider the primitive polynomial P(x) = x^4 + x^3 + 1, initialized with the bit string (shifting occurs from left to right, were the right-most bit represents the LFSR output): 1101.
List the first 8-bits generated by the LFSR, starting with the bit 1 that is the right-most bit of the initialization sequence above.
This was my work to solve this:
s1 s2 s3 s4 output (s4 xor s3)
[[ 1 0 1 1 0
0 1 0]] 1 1
1 0 1 0 1
1 1 0 1 1
1 1 1 0 1
1 1 1 1 0
0 1 1 1 0
0 0 1 1 0
The answer is : 10110010. Is this because it is in result of what I have put in brackets?