|
|
A002901
|
|
n^3 - floor( n/3 ).
|
|
0
|
|
|
0, 1, 8, 26, 63, 124, 214, 341, 510, 726, 997, 1328, 1724, 2193, 2740, 3370, 4091, 4908, 5826, 6853, 7994, 9254, 10641, 12160, 13816, 15617, 17568, 19674, 21943, 24380, 26990, 29781, 32758, 35926, 39293
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
LINKS
|
|
|
FORMULA
|
G.f. x*(1+5*x+5*x^2+7*x^3) / ( (1+x+x^2)*(x-1)^4 ). - R. J. Mathar, Mar 08 2013
|
|
MATHEMATICA
|
Table[n^3-Floor[n/3], {n, 0, 40}] (* or *) LinearRecurrence[{3, -3, 2, -3, 3, -1}, {0, 1, 8, 26, 63, 124}, 40] (* Harvey P. Dale, Apr 23 2020 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
ochavez(AT)spin.com.mx (Oscar Chavez)
|
|
STATUS
|
approved
|
|
|
|