OFFSET
0,3
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (3, -3, 2, -3, 3, -1).
FORMULA
From R. J. Mathar, Dec 19 2008: (Start)
G.f.: x*(1 + 3*x^2 + 2*x^3)/((1 - x)^4*(1 + x + x^2)).
a(n) = floor(n^3/3 + 2/3). - Bruno Berselli, Dec 21 2017
MATHEMATICA
Ceiling[Range[0, 50]^3/3] (* Harvey P. Dale, Oct 19 2013 *)
PROG
(Magma) [Ceiling(n^3/3) : n in [0..50]]; // Vincenzo Librandi, Oct 01 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Jul 27 2007
STATUS
approved