OFFSET
0,3
COMMENTS
a(n) = Phi_20(n) where Phi_k(x) is the k-th cyclotomic polynomial.
LINKS
Harry J. Smith, Table of n, a(n) for n=0..1000
Index entries for linear recurrences with constant coefficients, signature (9,-36,84,-126,126,-84,36,-9,1).
FORMULA
G.f.: (1-8*x+232*x^2+4012*x^3+15958*x^4+15832*x^5+4096*x^6+196*x^7+x^8)/ (1-x)^9. [Colin Barker, Apr 22 2012]
MAPLE
A060892 := proc(n)
numtheory[cyclotomic](20, n) ;
end proc:
seq(A060892(n), n=0..20) ; # R. J. Mathar, Feb 11 2014
MATHEMATICA
Cyclotomic[20, Range[0, 30]] (* Paolo Xausa, Feb 26 2024 *)
PROG
(PARI) a(n) = n^8 - n^6 + n^4 - n^2 + 1; \\ Harry J. Smith, Jul 14 2009
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 05 2001
STATUS
approved