OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (7,-18,25,-24,15,-6,1).
FORMULA
G.f.: (1 +x^2)^5/(1 -7*x +18*x^2 -25*x^3 +24*x^4 -15*x^5 +6*x^6 -x^7).
MATHEMATICA
LinearRecurrence[{7, -18, 25, -24, 15, -6, 1}, {1, 7, 36, 151, 570, 2019, 6893, 23034, 76020, 249077, 812614}, 41] (* G. C. Greubel, Apr 20 2021 *)
PROG
(Magma)
R<x>:=PowerSeriesRing(Integers(), 40);
Coefficients(R!( (1+x^2)^5/(1-7*x+18*x^2-25*x^3+24*x^4-15*x^5+6*x^6-x^7) )); // G. C. Greubel, Apr 20 2021
(Sage)
def A097554_list(prec):
P.<x> = PowerSeriesRing(ZZ, prec)
return P( (1+x^2)^5/(1-7*x+18*x^2-25*x^3+24*x^4-15*x^5+6*x^6-x^7) ).list()
A097554_list(40) # G. C. Greubel, Apr 20 2021
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
D n Verma, Aug 16 2004
EXTENSIONS
Corrected and extended by Max Alekseyev, Jun 17 2011
STATUS
approved