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) = 32*n^3 - 16*n^2 + 120*n - 60.
G.f.: (60*z^3 - 12*z^2 + 68*z + 76)/(1-z)^4.
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4). - G. C. Greubel, Jun 17 2016
MATHEMATICA
LinearRecurrence[{4, -6, 4, -1}, {76, 372, 1020, 2212}, 100] (* G. C. Greubel, Jun 17 2016 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Johannes W. Meijer, Nov 10 2009
STATUS
approved