OFFSET
1,3
REFERENCES
F. J. MacWilliams and N. J. A. Sloane, The Theory of Error-Correcting Codes, Elsevier/North Holland, 1978, p. 408.
M. Olofsson, VLSI Aspects on Inversion in Finite Fields, Dissertation No. 731, Dept Elect. Engin., Linkoping, Sweden, 2002.
EXAMPLE
x+1, x^2+x+1, x^3+x+1, x^4+x+1, x^5+x^2+1, ...
MATHEMATICA
a = {}; Do[k = 2^n + 1; While[s = Apply[Plus, IntegerDigits[k, 2]*x^Table[i, {i, n, 0, -1}]]; k < 2^(n + 1) - 1 && Factor[s, Modulus -> 2] =!= s, k += 2]; a = Append[a, Reverse[ Exponent[ Apply[ Plus, IntegerDigits[k, 2]*x^Table[i, {i, n, 0, -1}]], x, List]]], {n, 1, 27}]; Flatten[a]
CROSSREFS
KEYWORD
nonn,nice,easy,tabf
AUTHOR
N. J. A. Sloane, Jun 24 2002
EXTENSIONS
Extended by Robert G. Wilson v, Jun 25 2002
STATUS
approved