OFFSET
1,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
a(n) = 4*n^3 + 4*n^2 + 16*n.
G.f.: (0*z^3 + 16*z^2 - 16*z + 24)/(1-z)^4.
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4). - G. C. Greubel, Jun 15 2016
MATHEMATICA
Table[4*n^3 + 4*n^2 + 16*n, {n, 1, 100}] (* or *) LinearRecurrence[{4, -6, 4, -1}, {24, 80, 192, 384}, 100] (* G. C. Greubel, Jun 15 2016 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Johannes W. Meijer, Nov 10 2009
STATUS
approved