OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (4, -6, 4, -1).
FORMULA
a(0)=0, a(1)=6, a(2)=30, a(3)=90, a(n)=4*a(n-1)-6*a(n-2)+4*a(n-3)-a(n-4). - Harvey P. Dale, Mar 19 2013
MAPLE
[seq (3*n^3+3*n, n=0..60)];
MATHEMATICA
Table[3n^3+3n, {n, 0, 40}] (* or *) LinearRecurrence[{4, -6, 4, -1}, {0, 6, 30, 90}, 40] (* Harvey P. Dale, Mar 19 2013 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Zerinvary Lajos, May 28 2006
STATUS
approved