OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
a(n+1) = a(n) + 9*n^2 + 9*n + 3 with a(0) = 0. - Jean-Bernard François, Oct 04 2013
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4). - Wesley Ivan Hurt, May 27 2021
From Amiram Eldar, Jan 10 2023: (Start)
Sum_{n>=1} 1/a(n) = zeta(3)/3.
Sum_{n>=1} (-1)^(n+1)/a(n) = zeta(3)/4. (End)
MAPLE
seq(3*n^3, n=0..38); # Nathaniel Johnston, Jun 26 2011
MATHEMATICA
3*Range[0, 35]^3 (* Alonso del Arte, Oct 04 2013 *)
PROG
(Magma) [3*n^3: n in [0..40]]; // Vincenzo Librandi, Jun 26 2011
(PARI) a(n)=3*n^3 \\ Charles R Greathouse IV, Oct 12 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Roger L. Bagula, Apr 10 2006
EXTENSIONS
Edited by N. J. A. Sloane, Apr 30 2006
STATUS
approved