OFFSET
3,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 3..1000
Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
FORMULA
a(n) = n*(n-1)^3/2, n >= 5.
G.f.: -x^3*(9*x^6 - 35*x^5 + 41*x^4 + 5*x^3 - 45*x^2 + 35*x + 2) / (x-1)^5. [Colin Barker, Jan 11 2013]
a(n) = 5*a(n-1)-10*a(n-2)+10*a(n-3)-5*a(n-4)+a(n-5). - Wesley Ivan Hurt, Dec 27 2021
MATHEMATICA
CoefficientList[Series[-(9 x^6 - 35 x^5 + 41 x^4 + 5 x^3 - 45 x^2 + 35 x + 2)/(x - 1)^5, {x, 0, 50}], x] (* Vincenzo Librandi, Oct 16 2013 *)
LinearRecurrence[{5, -10, 10, -5, 1}, {2, 45, 160, 375, 756, 1372, 2304}, 40] (* Harvey P. Dale, Dec 18 2020 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Lee Corbin (lcorbin(AT)tsoft.com), N. J. A. Sloane
EXTENSIONS
More terms from Vincenzo Librandi, Oct 16 2013
STATUS
approved