Nothing Special   »   [go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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