OFFSET
1,1
FORMULA
{n: A051664(n)=7}. - R. J. Mathar, Sep 15 2012
MATHEMATICA
Select[Range[2000], Count[CoefficientList[Cyclotomic[#, x], x], 0] == EulerPhi[#] - 6 &] (* T. D. Noe, Feb 13 2012 *)
PROG
(PARI) isok(n) = {my(p = polcyclo(n)); #select(x->x, vector(1+poldegree(p), k, polcoeff(p, k-1))) == 7; } \\ Michel Marcus, Oct 26 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Yuval Dekel (dekelyuval(AT)hotmail.com), Aug 03 2003
EXTENSIONS
Extended by T. D. Noe, Feb 13 2012
STATUS
approved