Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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)

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)