OFFSET
0,3
COMMENTS
a(n) = Phi_15(n) where Phi_k 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+178*x^2+3154*x^3+14410*x^4+16804*x^5+5458*x^6+322*x^7+x^8)/ (1-x)^9. [Colin Barker, Apr 21 2012]
MAPLE
A060889 := proc(n)
numtheory[cyclotomic](15, n) ;
end proc:
seq(A060889(n), n=0..20) ; # R. J. Mathar, Feb 11 2014
MATHEMATICA
Cyclotomic[15, Range[0, 30]] (* Paolo Xausa, Feb 26 2024 *)
PROG
(PARI) { for (n=0, 1000, write("b060889.txt", n, " ", n^8 - n^7 + n^5 - n^4 + n^3 - n + 1); ) } \\ Harry J. Smith, Jul 14 2009
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 05 2001
STATUS
approved