OFFSET
0,5
FORMULA
G.f. satisfies: A(x) = (1 + x*A(x)^2)*(1+x)/(1+x+2*x^2).
PROG
(PARI) {a(n)=local(A=1+x+x*O(x^n)); for(i=0, n, A=(1 + x*A^2)*(1+x)/(1+x+2*x^2)); polcoeff(A, n)}
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 16 2007. Generating function, PARI-program and most of the terms supplied by Paul D. Hanna, Jan 15 2007.
STATUS
approved