OFFSET
0,2
COMMENTS
Third column of number triangle A188461.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
FORMULA
G.f.: (1 + 5*x - x^2 - 6*x^3 + 3*x^4)/(1-x)^5.
E.g.f.: exp(x)*(12 + 108*x + 120*x^2 + 22*x^3 + x^4)/12. - Stefano Spezia, Sep 06 2023
MATHEMATICA
Table[(n^4+16n^3+65n^2+26n+12)/12, {n, 0, 40}] (* or *) LinearRecurrence[ {5, -10, 10, -5, 1}, {1, 10, 39, 99, 203}, 40] (* Harvey P. Dale, Jan 23 2016 *)
PROG
(Magma) [(n^4+16*n^3+65*n^2+26*n+12)/12: n in [0..90]]; // Vincenzo Librandi, Apr 05 2011
(PARI) a(n)=1+(n^4+16*n^3+65*n^2+26*n)/12 \\ Charles R Greathouse IV, May 04 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Barry, Apr 01 2011
STATUS
approved