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