login
A014021
Inverse of 12th cyclotomic polynomial.
5
1, 0, 1, 0, 0, 0, -1, 0, -1, 0, 0, 0, 1, 0, 1, 0, 0, 0, -1, 0, -1, 0, 0, 0, 1, 0, 1, 0, 0, 0, -1, 0, -1, 0, 0, 0, 1, 0, 1, 0, 0, 0, -1, 0, -1, 0, 0, 0, 1, 0, 1, 0, 0, 0, -1, 0, -1, 0, 0, 0, 1, 0, 1, 0, 0, 0, -1, 0, -1, 0, 0, 0, 1, 0, 1, 0, 0, 0, -1, 0, -1
OFFSET
0,1
COMMENTS
Periodic with period length 12. - Ray Chandler, Apr 03 2017
FORMULA
G.f.: 1 / ( 1-x^2+x^4 ). - R. J. Mathar, Mar 11 2011
MAPLE
with(numtheory, cyclotomic); c := n->series(1/cyclotomic(n, x), x, 80);
MATHEMATICA
CoefficientList[Series[1/Cyclotomic[12, x], {x, 0, 100}], x] (* Vincenzo Librandi, Apr 03 2014 *)
LinearRecurrence[{0, 1, 0, -1}, {1, 0, 1, 0}, 100] (* or *) PadRight[{}, 100, {1, 0, 1, 0, 0, 0, -1, 0, -1, 0, 0, 0}] (* Harvey P. Dale, Oct 12 2017 *)
PROG
(PARI) Vec(1/polcyclo(12)+O(x^99)) \\ Charles R Greathouse IV, Mar 24 2014
(Magma) &cat[[1, 0, 1, 0, 0, 0, -1, 0, -1, 0, 0, 0]: n in [0..15]]; // Vincenzo Librandi, Apr 03 2014
CROSSREFS
Sequence in context: A015101 A145649 A016340 * A015725 A016331 A285142
KEYWORD
sign,easy
AUTHOR
STATUS
approved