lfsr

sequences length for powers of primitive or irreducible poly