login
Inverse of 12th cyclotomic polynomial.
5

%I #33 Dec 14 2023 05:44:55

%S 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,

%T -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,

%U 0,0,-1,0,-1,0,0,0,1,0,1,0,0,0,-1,0,-1

%N Inverse of 12th cyclotomic polynomial.

%C Periodic with period length 12. - _Ray Chandler_, Apr 03 2017

%H Vincenzo Librandi, <a href="/A014021/b014021.txt">Table of n, a(n) for n = 0..1000</a>

%H <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (0, 1, 0, -1).

%H <a href="/index/Pol#poly_cyclo_inv">Index to sequences related to inverse of cyclotomic polynomials</a>

%F G.f.: 1 / ( 1-x^2+x^4 ). - _R. J. Mathar_, Mar 11 2011

%p with(numtheory,cyclotomic); c := n->series(1/cyclotomic(n,x),x,80);

%t CoefficientList[Series[1/Cyclotomic[12, x], {x, 0, 100}], x] (* _Vincenzo Librandi_, Apr 03 2014 *)

%t 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 *)

%o (PARI) Vec(1/polcyclo(12)+O(x^99)) \\ _Charles R Greathouse IV_, Mar 24 2014

%o (Magma) &cat[[1,0,1,0,0,0,-1,0,-1,0,0,0]: n in [0..15]]; // _Vincenzo Librandi_, Apr 03 2014

%K sign,easy

%O 0,1

%A _Simon Plouffe_