OFFSET
0,1
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..2000
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
From G. C. Greubel, Apr 01 2024: (Start)
a(n) = 2*(2*(n + 1)^3 - (n + 1)^2 + 1).
G.f.: 2*(2 + 5*x + 6*x^2 - x^3)/(1 - x)^4.
E.g.f.: 2*(2 + 11*x + 11*x^2 + 2*x^3)*exp(x). (End)
MATHEMATICA
Table[4+8*n+10*n^2+4*n^3, {n, 0, 50}] (* G. C. Greubel, Apr 01 2024 *)
PROG
(Magma) [4+8*n+10*n^2+4*n^3: n in [0..50]]; // Vincenzo Librandi, May 15 2011
(SageMath) [2*(2*(n+1)^3-(n+1)^2+1) for n in range(51)] # G. C. Greubel, Apr 01 2024
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jan 12 2005
STATUS
approved