cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A129920 Expansion of -1/(1 - x + 3*x^2 - 2*x^3 + x^4 - 2*x^5 + x^6).

This page as a plain text file.
%I A129920 #17 Sep 28 2024 07:36:53
%S A129920 -1,-1,2,3,-4,-10,5,29,2,-76,-45,178,212,-361,-750,565,2282,-306,
%T A129920 -6206,-2428,15176,14353,-32719,-55104,57933,176234,-61524,-499047,
%U A129920 -97429,1271400,921652,-2887641,-3948938,5590078,13380187,-7828378,-39536779,108416,104810904
%N A129920 Expansion of -1/(1 - x + 3*x^2 - 2*x^3 + x^4 - 2*x^5 + x^6).
%H A129920 G. C. Greubel, <a href="/A129920/b129920.txt">Table of n, a(n) for n = 0..1000</a>
%H A129920 <a href="/index/Rec#order_06">Index entries for linear recurrences with constant coefficients</a>, signature (1,-3,2,-1,2,-1).
%F A129920 a(n) = a(n-1) - 3*a(n-2) + 2*a(n-3) - a(n-4) + 2*a(n-5) - a(n-6), n >= 6. - _Franck Maminirina Ramaharo_, Jan 08 2019
%t A129920 CoefficientList[Series[-1/(1-x +3*x^2 -2*x^3 +x^4 -2*x^5 +x^6), {x,0,50}], x]
%o A129920 (Magma)
%o A129920 R<x>:=PowerSeriesRing(Integers(), 50);
%o A129920 Coefficients(R!( -1/(1-x+3*x^2-2*x^3+x^4-2*x^5+x^6) )); // _G. C. Greubel_, Sep 28 2024
%o A129920 (SageMath)
%o A129920 def A129920_list(prec):
%o A129920     P.<x> = PowerSeriesRing(ZZ, prec)
%o A129920     return P( -1/(1-x+3*x^2-2*x^3+x^4-2*x^5+x^6) ).list()
%o A129920 A129920_list(50) # _G. C. Greubel_, Sep 28 2024
%Y A129920 Cf. A008620, A010892, A014019, A099443, A099479, A099480, A112712.
%Y A129920 Cf. A125629, A129704, A129903.
%K A129920 sign,easy
%O A129920 0,3
%A A129920 _Roger L. Bagula_, Jun 05 2007
%E A129920 Edited by _Franck Maminirina Ramaharo_, Jan 08 2019