OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (6,-15,20,-15,6,-1).
FORMULA
a(n) = (n^5 + 20*n^3 + 9*n + 30)/30.
G.f.: (1-4*x+11*x^2-10*x^3+6*x^4)/(1-x)^6 . - R. J. Mathar, Mar 27 2019
E.g.f.: (1/30)*(30 +30*x +75*x^2 +45*x^3 +10*x^4 +x^5)*exp(x). - G. C. Greubel, Dec 22 2022
MATHEMATICA
LinearRecurrence[{6, -15, 20, -15, 6, -1}, {1, 2, 8, 28, 79, 190}, 51] (* G. C. Greubel, Dec 22 2022 *)
PROG
(Magma) [(n^5+20*n^3+9*n+30)/30: n in [0..50]]; // G. C. Greubel, Dec 22 2022
(SageMath) [(n^5+20*n^3+9*n+30)/30 for n in range(51)] # G. C. Greubel, Dec 22 2022
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Apr 03 2003
STATUS
approved