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