OFFSET
1,2
COMMENTS
See A137743 for comments and examples.
LINKS
Index entries for linear recurrences with constant coefficients, signature (6,-15,20,-15,6,-1).
FORMULA
a(n) = (n+4)(n^2+3n-8)(n^2+23n+150)/5!+4 for n>4.
G.f.: x*(x^8+2*x^7-7*x^6-20*x^5+57*x^4-20*x^3-39*x^2+26*x+1) / (x-1)^6. - Colin Barker, Nov 04 2013
MATHEMATICA
LinearRecurrence[{6, -15, 20, -15, 6, -1}, {1, 32, 138, 348, 700, 1246, 2050, 3188, 4749}, 40] (* Harvey P. Dale, Oct 18 2020 *)
PROG
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
M. F. Hasler, Feb 10 2008
EXTENSIONS
More terms from Colin Barker, Nov 04 2013
STATUS
approved