OFFSET
0,2
COMMENTS
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
From Bruno Berselli, Aug 26 2011: (Start)
G.f.: (1 + x)*(1 - 2*x + 3*x^2 - x^3)/(1 - x)^4.
a(n) = (1/6)*(2*n^3 + 3*n^2 + n + 12) for n>0, a(0)=1. (End)
a(n) = A153056(n) for n > 0. - Georg Fischer, Oct 24 2018
EXAMPLE
a(3) = 16 = 1 + A056520(3) = (1 + 15).
a(4) = 32 = (9, 7, 5, 3, 1) dot (1, 0, 2, 3, 4) = (9 + 0 + 10 + 9 + 4).
MATHEMATICA
LinearRecurrence[{4, -6, 4, -1}, {1, 3, 7, 16, 32}, 50] (* Harvey P. Dale, Apr 25 2020 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Gary W. Adamson, Jul 31 2010
EXTENSIONS
More terms and a(20) added by Bruno Berselli, Aug 26 2011
STATUS
approved