OFFSET
2,2
LINKS
Heinrich Ludwig, Table of n, a(n) for n = 2..999
Index entries for linear recurrences with constant coefficients, signature (7,-21,35,-35,21,-7,1)
FORMULA
a(n) = (n - 1)*(n - 2)*(n^4 + 6*n^3 + 13*n^2 + 16*n - 24)/48.
G.f.: x^3*(x^4-3*x^3+2*x^2+x-16) / (x-1)^7. - Colin Barker, Feb 05 2014
MATHEMATICA
LinearRecurrence[{7, -21, 35, -35, 21, -7, 1}, {0, 16, 111, 439, 1305, 3240, 7091}, 40] (* Harvey P. Dale, Mar 09 2019 *)
PROG
(PARI) Vec(x^3*(x^4-3*x^3+2*x^2+x-16)/(x-1)^7 + O(x^100)) \\ Colin Barker, Feb 05 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Heinrich Ludwig, Feb 04 2014
STATUS
approved