OFFSET
0,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (6,-15,20,-15,6,-1).
FORMULA
a(n) = 6*a(n-1) - 15*a(n-2) + 20*a(n-3) - 15*a(n-4) + 6*a(n-5) - a(n-6) for n > 5.
O.g.f.: x^2*(7 - 2*x + x^2)/(1 - x)^6.
E.g.f.: exp(x)*x^2*(210 + 190*x + 45*x^2 + 3*x^3)/60.
MATHEMATICA
a[n_]:= n*(3*n^4 + 15*n^3 + 25*n^2 - 15*n - 28)/60; Array[a, 37, 0]
PROG
(Python)
def A365373(n): return n*(n*(n*(n*(3*n + 15) + 25) - 15) - 28)//60 # Chai Wah Wu, Sep 04 2023
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Stefano Spezia, Sep 02 2023
STATUS
approved