|
|
A014025
|
|
Expansion of the inverse of the 16th cyclotomic polynomial.
|
|
3
|
|
|
1, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
COMMENTS
|
Period 16: repeat [1, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0].
|
|
LINKS
|
|
|
FORMULA
|
a(n) = -a(n-8).
abs(a(n)) = floor(1/2*cos(n*Pi/4)+1/2). - Gary Detlefs, May 16 2011
a(n)=(floor((n+8)/8)-floor((n+7)/8))*(-1)^floor(n/8). |a(n)| is the characteristic function of numbers that are multiples of 8. |a(n)|=floor(n/8)-floor((n-1)/8). - Boris Putievskiy, May 08 2013
|
|
MAPLE
|
with(numtheory, cyclotomic); c := n->series(1/cyclotomic(n, x), x, 80);
|
|
MATHEMATICA
|
CoefficientList[Series[1/Cyclotomic[16, x], {x, 0, 100}], x] (* Vincenzo Librandi, Apr 03 2014 *)
LinearRecurrence[{0, 0, 0, 0, 0, 0, 0, -1}, {1, 0, 0, 0, 0, 0, 0, 0}, 99] (* Ray Chandler, Sep 15 2015 *)
|
|
PROG
|
(Magma) &cat[[1, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0]: n in [0..8]]; // Vincenzo Librandi, Apr 03 2014
|
|
CROSSREFS
|
|
|
KEYWORD
|
sign,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|