OFFSET
1,2
REFERENCES
See A051664
LINKS
T. D. Noe, Table of n, a(n) for n=1..1000
FORMULA
If n = p^m is a prime power then a(n) = p.
EXAMPLE
The 1st cyclotomic polynomial is -1+1*x, which has 1 positive coefficient.
The 2nd cyclotomic polynomial is 1+1*x, which has 2 positive coefficients.
The 4th cyclotomic polynomial s 1+1*x^2, which has 2 positive coefficients.
MATHEMATICA
Table[Count[CoefficientList[Cyclotomic[n, x], x], _?(#>0&)], {n, 0, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Yuval Dekel (dekelyuval(AT)hotmail.com), Aug 02 2003
EXTENSIONS
More terms from T. D. Noe, Aug 08 2003
STATUS
approved