OFFSET
0,8
FORMULA
a(0) = ... = a(5) = 1; a(n) = Sum_{k=0..n-6} binomial(n-5,k+1) * a(k).
MATHEMATICA
nmax = 34; A[_] = 0; Do[A[x_] = 1 + x + x^2 + x^3 + x^4 + x^5 + x^6 A[x/(1 - x)]/(1 - x)^2 + O[x]^(nmax + 1) // Normal, nmax + 1]; CoefficientList[A[x], x]
a[n_] := a[n] = If[n < 6, 1, Sum[Binomial[n - 5, k + 1] a[k], {k, 0, n - 6}]]; Table[a[n], {n, 0, 34}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Feb 18 2022
STATUS
approved