OFFSET
0,1
COMMENTS
Periodic with period length 12. - Ray Chandler, Apr 03 2017
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (0, 1, 0, -1).
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
KEYWORD
sign,easy
AUTHOR
STATUS
approved