OFFSET
1,3
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..500
EXAMPLE
The a(5) = 8 trees: ((((o)))), (((oo))), ((o(o))), ((ooo)), (o((o))), ((o)(o)), (oo(o)), (oooo)
MATHEMATICA
rut[n_]:=rut[n]=If[n===1, {{}}, Join@@Function[c, Union[Sort/@Tuples[rut/@c]]]/@IntegerPartitions[n-1]];
Table[Length[Select[rut[n], SameQ@@(Count[#, {}, {0, Infinity}]&/@#)&]], {n, 15}]
PROG
(PARI) \\ here R is A055277 as vector of polynomials
EulerT(v)={Vec(exp(x*Ser(dirmul(v, vector(#v, n, 1/n))))-1, -#v)}
R(n) = {my(A = O(x)); for(j=1, n, A = x*(y - 1 + exp( sum(i=1, j, 1/i * subst( subst( A + x * O(x^(j\i)), x, x^i), y, y^i) ) ))); Vec(A)};
seq(n)={my(M=Mat(apply(p->Colrev(p, n), R(n-1)))); concat([1], sum(i=2, #M, EulerT(M[i, ])))} \\ Andrew Howroyd, May 20 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jan 20 2018
EXTENSIONS
Terms a(19) and beyond from Andrew Howroyd, May 20 2018
STATUS
approved