OFFSET
0,6
FORMULA
a(0) = ... = a(3) = 1; a(n) = Sum_{i=0..n-4} Sum_{j=0..n-i-4} a(i) * a(j) * a(n-i-j-4).
MATHEMATICA
nmax = 37; A[_] = 0; Do[A[x_] = 1 + x + x^2 + x^3 + x^4 A[x]^3 + O[x]^(nmax + 1) // Normal, nmax + 1]; CoefficientList[A[x], x]
a[n_] := a[n] = If[n < 4, 1, Sum[Sum[a[i] a[j] a[n - i - j - 4], {j, 0, n - i - 4}], {i, 0, n - 4}]]; Table[a[n], {n, 0, 37}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Jul 30 2021
STATUS
approved