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!)
A014022 Inverse of 13th cyclotomic polynomial. 1
1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, -1, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
Periodic with period 13.
LINKS
Index entries for linear recurrences with constant coefficients, signature (-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1).
FORMULA
G.f.: 1/(1 + x + x^2 + x^3 + ... + x^12). - Ilya Gutkovskiy, Aug 18 2017
MAPLE
with(numtheory, cyclotomic); c := n->series(1/cyclotomic(n, x), x, 80);
MATHEMATICA
f[n_] := (-Mod[n, 13] - Mod[n + 11, 13] + 2 Mod[n + 12, 13])/13; Array[f, 105, 0] (* Or *)
CoefficientList[ Series[ 1/Cyclotomic[13, x], {x, 0, 105}], x] (* Robert G. Wilson v *)
LinearRecurrence[{-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}, {1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 81] (* Ray Chandler, Aug 27 2015 *)
PROG
(PARI) a(n)=n=n%13; if(n>1, 0, if(n, 1, -1)) \\ Charles R Greathouse IV, Mar 10 2011
(Magma) &cat[[1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]: n in [0..10]]; // Vincenzo Librandi, Apr 03 2014
CROSSREFS
Sequence in context: A298859 A216280 A370118 * A014035 A016420 A016401
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 May 3 22:09 EDT 2024. Contains 372225 sequences. (Running on oeis4.)