OFFSET
1,4
COMMENTS
If there is more than one choice for k then the smallest value is taken.
LINKS
A. J. Menezes, P. C. van Oorschot and S. A. Vanstone, Handbook of Applied Cryptography, CRC Press, 1996; see Table 4.8.
MATHEMATICA
f[n_] := For[k = 1, k <= n - 1, k++, If[PrimitivePolynomialQ[x^n + x^k + 1, 2], Print[k]; Return[k]]];
DeleteCases[f /@ Range[201], Null] (* Jean-François Alcover, Aug 19 2019 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Sep 06 2002
EXTENSIONS
a(12) - a(71) from Nathaniel Johnston, Apr 26 2011
STATUS
approved