OFFSET
0,1
COMMENTS
Periodic with period length 38. - 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 (1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1).
FORMULA
G.f.: 1/(1 - x + x^2 - x^3 + x^4 - x^5 + ... + x^18). - Ilya Gutkovskiy, Aug 19 2017
MAPLE
with(numtheory, cyclotomic); c := n->series(1/cyclotomic(n, x), x, 80);
MATHEMATICA
CoefficientList[Series[1/Cyclotomic[38, x], {x, 0, 100}], x] (* Vincenzo Librandi, Apr 04 2014 *)
LinearRecurrence[{1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1}, {1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 81] (* Ray Chandler, Sep 15 2015 *)
PROG
(PARI) Vec(1/polcyclo(38)+O(x^99)) \\ Charles R Greathouse IV, Apr 01 2014
CROSSREFS
KEYWORD
sign
AUTHOR
STATUS
approved