OFFSET
1,1
LINKS
Colin Barker, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (9,-36,84,-126,126,-84,36,-9,1).
FORMULA
G.f.: x*(40 - 108*x + 629*x^2 - 1233*x^3 + 1585*x^4 - 1306*x^5 + 666*x^6 - 192*x^7 + 24*x^8) / (1 - x)^9. - Colin Barker, Aug 09 2017
MATHEMATICA
LinearRecurrence[{9, -36, 84, -126, 126, -84, 36, -9, 1}, {40, 252, 1457, 6168, 20773, 59279, 149271, 340821, 719187}, 30] (* Harvey P. Dale, Jul 17 2024 *)
PROG
(PARI) Vec(x*(40 - 108*x + 629*x^2 - 1233*x^3 + 1585*x^4 - 1306*x^5 + 666*x^6 - 192*x^7 + 24*x^8) / (1 - x)^9 + O(x^30)) \\ Colin Barker, Aug 09 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Gregory Gerard Wojnar, Jul 20 2017
STATUS
approved