OFFSET
0,2
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 (9,-36,84,-126,126,-84,36,-9,1).
FORMULA
G.f.: x*(3 + 169*x + 2762*x^2 + 10362*x^3 + 10727*x^4 + 2749*x^5 + 108*x^6)/(1 - x)^9. - Ilya Gutkovskiy, Feb 24 2017
E.g.f.: x*(18 + 570*x + 3839*x^2 + 6703*x^3 + 4164*x^4 + 1061*x^5 + 112*x^6 + 4*x^7)*exp(x)/6. - G. C. Greubel, Mar 11 2021
MAPLE
MATHEMATICA
Table[n*(n+1)*(2*n^3-n^2+2)^2/6, {n, 0, 35}] (* G. C. Greubel, Mar 11 2021 *)
PROG
(Magma) [n*(n+1)*(2*n^3-n^2+2)^2/6: n in [0..40]]; // Vincenzo Librandi, May 26 2011
(PARI) a(n)=n*(n+1)*(2*n^3-n^2+2)^2/6 \\ Charles R Greathouse IV, Feb 24 2017
(Sage) [n*(n+1)*(2*n^3-n^2+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