OFFSET
0,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
FORMULA
From Bruno Berselli, Mar 08 2021: (Start)
G.f.: x*(1 + 6*x + 5*x^2 + 4*x^3)/(1 - x)^5.
a(n) = n*(2*n - 1)*(2*n^2 - n + 5)/6. (End)
MATHEMATICA
Table[n (2 n - 1) (2 n^2 - n + 5)/6, {n, 0, 40}] (* Bruno Berselli, Mar 08 2021 *)
PROG
(Julia) [div(n*(2*n-1)*(2*n^2-n+5), 6) for n in 0:40] |> println # Bruno Berselli, Mar 08 2021
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Scott R. Shannon and N. J. A. Sloane, Mar 07 2021
EXTENSIONS
More terms from Bruno Berselli, Mar 08 2021
STATUS
approved