login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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
G.f.: 1/(1 + x^8). - Klaus Brockhaus, May 17 2011
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
(PARI) Vec(1/polcyclo(16)+O(x^99)) \\ Charles R Greathouse IV, Mar 24 2014
(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
Sequence in context: A369034 A015241 A253513 * A279760 A287457 A358777
KEYWORD
sign,easy
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 02:12 EDT 2024. Contains 371782 sequences. (Running on oeis4.)