OFFSET
0,6
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (-1,-1,-1,-1,1).
MATHEMATICA
CoefficientList[Series[1/(-1-x-x^2-x^3-x^4+x^5), {x, 0, 50}], x]
LinearRecurrence[{-1, -1, -1, -1, 1}, {-1, 1, 0, 0, 0}, 60] (* G. C. Greubel, Aug 25 2023 *)
PROG
(PARI) Vec(1/(-1-x-x^2-x^3-x^4+x^5)+O(x^99)) \\ Charles R Greathouse IV, Sep 26 2012
(Magma) R<x>:=PowerSeriesRing(Integers(), 60); Coefficients(R!( (-1+x)/(1-2*x^5+x^6) )); // G. C. Greubel, Aug 25 2023
(SageMath)
def A124314_list(prec):
P.<x> = PowerSeriesRing(ZZ, prec)
return P( (-1+x)/(1-2*x^5+x^6) ).list()
A124314_list(60) # G. C. Greubel, Aug 25 2023
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Artur Jasinski, Oct 25 2006
STATUS
approved