login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A357307
a(0) = 1, a(1) = 0, a(2) = 1; a(n) = a(n-1) + Sum_{k=0..n-3} a(k) * a(n-k-3).
1
1, 0, 1, 2, 2, 4, 8, 13, 25, 49, 91, 177, 349, 681, 1349, 2693, 5377, 10806, 21820, 44163, 89721, 182868, 373616, 765341, 1571551, 3233690, 6667242, 13772469, 28498419, 59065838, 122606998, 254865837, 530507839, 1105663034, 2307131590, 4819623077, 10079039819, 21099213611, 44211213545
OFFSET
0,4
FORMULA
G.f. A(x) satisfies: A(x) = 1 + x^2 * (1 + x * A(x)^2) / (1 - x).
MATHEMATICA
a[0] = 1; a[1] = 0; a[2] = 1; a[n_] := a[n] = a[n - 1] + Sum[a[k] a[n - k - 3], {k, 0, n - 3}]; Table[a[n], {n, 0, 38}]
nmax = 38; A[_] = 0; Do[A[x_] = 1 + x^2 (1 + x A[x]^2)/(1 - x) + O[x]^(nmax + 1) // Normal, nmax + 1]; CoefficientList[A[x], x]
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Sep 23 2022
STATUS
approved