OFFSET
0,7
FORMULA
G.f. A(x) satisfies: A(x) = 1 + x + x^2 + x^3 + x^4 * A(x) * (A(x) - 1).
MAPLE
a:= proc(n) option remember; `if`(n<4, 1,
add(a(j)*a(n-4-j), j=1..n-4))
end:
seq(a(n), n=0..45); # Alois P. Heinz, Jul 03 2021
MATHEMATICA
a[0] = a[1] = a[2] = a[3] = 1; a[n_] := a[n] = Sum[a[k] a[n - k - 4], {k, 1, n - 4}]; Table[a[n], {n, 0, 45}]
nmax = 45; A[_] = 0; Do[A[x_] = 1 + x + x^2 + x^3 + x^4 A[x] (A[x] - 1) + O[x]^(nmax + 1) // Normal, nmax + 1]; CoefficientList[A[x], x]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Jul 02 2021
STATUS
approved