OFFSET
0,4
COMMENTS
A PQ-tree is a rooted tree with P-type internal nodes that have at least 3 children that are reversibly ordered (the reverse of the order is equivalent to the order) and Q-type internal nodes that have at least 2 unordered children.
REFERENCES
F. Bergeron, G. Labelle and P. Leroux, Combinatorial Species and Tree-Like Structures, Cambridge, 1998, p. 242 (3.3.91).
LINKS
FORMULA
G.f. satisfies: A(x) = x + (2-A(x)^2)/(2-2A(x)^2) + (1+A(x))*A(x^2)/(2-2A(x^2)) + exp(Sum_{i>=1} A(x^i)/i) - (A(x)^2+A(x^2))/2 - 2A(x) - 2.
PROG
(PARI) read("transforms_pari.txt"); {pqu(A) = A = trv_chain(A)+trv_euler(A)-trv_euler_2(A)-2*A; A[1]=0; A} {apqu(n) = local(SX, SY); SY = SX = [0, 1]; for(i=1, n, SY=concat(SY, 0); SX=concat(SX, 0); SY=SX+pqu(SY)); SY} A136628(n) = apqu(min(1, n-1))[n+1]
CROSSREFS
KEYWORD
nonn
AUTHOR
Christian G. Bower, Jan 14 2008
STATUS
approved