OFFSET
0,3
REFERENCES
T. A. Gulliver, Sequences from Cubes of Integers, Int. Math. Journal, 4 (2003), 439-445.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (6,-15,20,-15,6,-1).
FORMULA
G.f.: x*(1 + 8*x + 25*x^2 + 6*x^3)/(1 - x)^6. - Ilya Gutkovskiy, Feb 24 2017
E.g.f.: x*(6 + 36*x + 55*x^2 + 21*x^3 + 2*x^4)*exp(x)/6. - G. C. Greubel, Mar 11 2021
MAPLE
MATHEMATICA
Table[n*(n+1)*(2*n^3-n^2+2)/6, {n, 0, 35}] (* G. C. Greubel, Mar 11 2021 *)
PROG
(Magma) [n*(n+1)*(2*n^3-n^2+2)/6: n in [0..40]]; // Vincenzo Librandi, May 26 2011
(Sage) [n*(n+1)*(2*n^3-n^2+2)/6 for n in (0..35)] # G. C. Greubel, Mar 11 2021
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jan 15 2005
STATUS
approved