OFFSET
1,1
MATHEMATICA
a = {}; Do[If[poly = PolynomialMod[x^5-x^4-x^3-x^2-x-1, Prime[n]]; c = FactorList[poly, Modulus -> Prime[n]]; If[Sum[c[[m]][[2]], {m, 1, Length[c]}] == 6, AppendTo[a, Prime[n]]], {n, 1, 10000}]; a
CROSSREFS
KEYWORD
nonn
AUTHOR
Artur Jasinski, Dec 01 2007
STATUS
approved