OFFSET
2,2
LINKS
Colin Barker, Table of n, a(n) for n = 2..1000
Index entries for linear recurrences with constant coefficients, signature (8,-26,45,-45,26,-8,1).
FORMULA
G.f.: x^2*(1+69*x^2-39*x^3+36*x^4-26*x^5+8*x^6-x^7) / ((1-x)^5*(1-3*x+x^2)). - Colin Barker, Feb 19 2016
MATHEMATICA
LinearRecurrence[{8, -26, 45, -45, 26, -8, 1}, {1, 8, 107, 654, 2801, 9859, 30869, 89951}, 30] (* Harvey P. Dale, Oct 08 2018 *)
PROG
(PARI) Vec(x^2*(1+69*x^2-39*x^3+36*x^4-26*x^5+8*x^6-x^7)/((1-x)^5*(1-3*x+x^2)) + O(x^40)) \\ Colin Barker, Feb 19 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved