OFFSET
0,4
LINKS
Index entries for linear recurrences with constant coefficients, signature (6,-15,21,-15,6,-1).
FORMULA
a(n) = 6*a(n-1) - 15*a(n-2) + 21*a(n-3) - 15*a(n-4) + 6*a(n-5) - a(n-6).
G.f.: 1/(1 - x - x^3/(1 - x)^5).
PROG
(PARI) a(n) = sum(k=0, n\3, binomial(n+3*k, n-3*k));
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Seiichi Manyama, Jun 22 2024
STATUS
approved