OFFSET
8,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 8..1000
Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
FORMULA
a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5).
G.f.: x^8*(-2+3*x)/(1-x)^5.
E.g.f.: (1/24)*( -3360 - 1800*x - 420*x^2 - 52*x^3 - 3*x^4 + (3360 - 1560*x + 300*x^2 - 28*x^3 + x^4)*exp(x) ). - G. C. Greubel, Jul 30 2022
MATHEMATICA
Table[(n-5)*(n-6)*(n-7)*(n-16)/24, {n, 8, 60}] (* G. C. Greubel, Jun 15 2016 *)
PROG
(Magma) [Binomial(n-5, 3)*(n-16)/4: n in [8..60]]; // G. C. Greubel, Jul 30 2022
(SageMath) [binomial(n-5, 3)*(n-16)/4 for n in (8..60)] # G. C. Greubel, Jul 30 2022
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Jamel Ghanouchi, Nov 06 2009
EXTENSIONS
Definition simplified, sequence extended by R. J. Mathar, Nov 12 2009
STATUS
approved