OFFSET
1,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (6,-15,20,-15,6,-1).
FORMULA
From Vincenzo Librandi, Nov 13 2019: (Start)
a(n) = 6*a(n-1) - 15*a(n-2) + 20*a(n-3) - 15*a(n-4) + 6*a(n-5) - a(n-6).
G.f.: x*(1+9*x+15*x^2+5*x^3)/(1-x)^6. (End)
MATHEMATICA
CoefficientList[Series[(1+9x+15x^2+5x^3)/(1-x)^6, {x, 0, 33}], x] (* Vincenzo Librandi, Nov 13 2019 *)
PROG
(Magma) [(n^2+n^3+n^4+n^5)/4: n in [1..40]] // Vincenzo Librandi, Nov 13 2019
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Nov 12 2019
STATUS
approved