OFFSET
0,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
FORMULA
From G. C. Greubel, Oct 18 2023: (Start)
G.f.: (18 - 44*x + 44*x^2 - 127*x^3 + 307*x^4)/(1-x)^5.
E.g.f.: (1/4)*(72 + 112*x + 40*x^2 - 66*x^3 + 33*x^4)*exp(x). (End)
MATHEMATICA
LinearRecurrence[{5, -10, 10, -5, 1}, {18, 46, 94, 63, 52}, 41] (* G. C. Greubel, Oct 18 2023 *)
PROG
(Magma) [(72-258*n+601*n^2-264*n^3+33*n^4)/4: n in [0..40]]; // G. C. Greubel, Oct 18 2023
(SageMath) [(72-258*n+601*n^2-264*n^3+33*n^4)/4 for n in range(41)] # G. C. Greubel, Oct 18 2023
CROSSREFS
KEYWORD
nonn,less
AUTHOR
Hans en Els Verdonk, (hverdonk32(AT)zonnet.nl), Jul 07 2005
STATUS
approved