OFFSET
0,3
FORMULA
a(0) = 1; a(n) = a(n-1) + Sum_{k=0..n-2} (-2)^k * a(k) * a(n-k-2).
MATHEMATICA
nmax = 20; A[_] = 0; Do[A[x_] = 1/(1 - x - x^2 A[-2 x]) + O[x]^(nmax + 1) // Normal, nmax + 1]; CoefficientList[A[x], x]
a[0] = 1; a[n_] := a[n] = a[n - 1] + Sum[(-2)^k a[k] a[n - k - 2], {k, 0, n - 2}]; Table[a[n], {n, 0, 20}]
CROSSREFS
KEYWORD
sign
AUTHOR
Ilya Gutkovskiy, Nov 06 2021
STATUS
approved