Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 2 years ago

Max Alekseyev gravatar image

Is this what you want?

R.<x> = GF(2)[]
K.<a> = GF(4, modulus=x^2+x+1)
L = lfsr_sequence([1,a], [0,1], 20)
print(L)
click to hide/show revision 2
No.2 Revision

Is this what you want?

R.<x> = GF(2)[]
K.<a> = GF(4, modulus=x^2+x+1)
modulus=[1,1,1])
L = lfsr_sequence([1,a], [0,1], 20)
print(L)