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.

A124314 Expansion of -1/(1 + x + x^2 + x^3 + x^4 - x^5).

This page as a plain text file.
%I A124314 #16 Aug 26 2023 02:53:17
%S A124314 -1,1,0,0,0,-2,3,-1,0,0,-4,8,-5,1,0,-8,20,-18,7,-1,-16,48,-56,32,-9,
%T A124314 -31,112,-160,120,-50,-53,255,-432,400,-220,-56,563,-1119,1232,-840,
%U A124314 108,1182,-2801,3583,-2912,1056,2256,-6784,9967,-9407,5024
%N A124314 Expansion of -1/(1 + x + x^2 + x^3 + x^4 - x^5).
%H A124314 G. C. Greubel, <a href="/A124314/b124314.txt">Table of n, a(n) for n = 0..1000</a>
%H A124314 <a href="/index/Rec#order_05">Index entries for linear recurrences with constant coefficients</a>, signature (-1,-1,-1,-1,1).
%t A124314 CoefficientList[Series[1/(-1-x-x^2-x^3-x^4+x^5), {x,0,50}], x]
%t A124314 LinearRecurrence[{-1,-1,-1,-1,1}, {-1,1,0,0,0}, 60] (* _G. C. Greubel_, Aug 25 2023 *)
%o A124314 (PARI) Vec(1/(-1-x-x^2-x^3-x^4+x^5)+O(x^99)) \\ _Charles R Greathouse IV_, Sep 26 2012
%o A124314 (Magma) R<x>:=PowerSeriesRing(Integers(), 60); Coefficients(R!( (-1+x)/(1-2*x^5+x^6) )); // _G. C. Greubel_, Aug 25 2023
%o A124314 (SageMath)
%o A124314 def A124314_list(prec):
%o A124314     P.<x> = PowerSeriesRing(ZZ, prec)
%o A124314     return P( (-1+x)/(1-2*x^5+x^6) ).list()
%o A124314 A124314_list(60) # _G. C. Greubel_, Aug 25 2023
%Y A124314 Cf. A124312, A124313.
%K A124314 sign,easy
%O A124314 0,6
%A A124314 _Artur Jasinski_, Oct 25 2006