OFFSET
6,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 6..1000
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
a(n) = n(n^2+18n-73)/6. - Ralf Stephan, Apr 30 2004
G.f.: x^6*(71-165*x+130*x^2-35*x^3)/(1-x)^4. - Colin Barker, Sep 17 2012
MATHEMATICA
CoefficientList[Series[(71 - 165 x + 130 x^2 - 35 x^3)/(1 - x)^4, {x, 0, 60}], x] (* Vincenzo Librandi, Oct 17 2013 *)
PROG
(Magma) [n*(n^2+18*n-73)/6: n in [6..60]]; // Vincenzo Librandi, Oct 17 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved