OFFSET
1,4
COMMENTS
An unlabeled rooted tree is an identity tree if there are no repeated branches directly under the same root.
EXAMPLE
The a(3) = 1 through a(6) = 12 trees:
(oo) (ooo) (oooo) (ooooo)
((oo)) ((ooo)) ((oooo))
(o(oo)) (o(ooo))
(oo(o)) (oo(oo))
(((oo))) (ooo(o))
(((ooo)))
((o)(oo))
((o(oo)))
((oo(o)))
(o((oo)))
(oo((o)))
((((oo))))
MATHEMATICA
rits[n_]:=Join@@Table[Union[Sort/@Tuples[rits/@ptn]], {ptn, IntegerPartitions[n-1]}];
Table[Length[Select[rits[n], And[UnsameQ@@Cases[#, {__}, {0, Infinity}], !And@@Cases[mgtree[#], q:{__}:>UnsameQ@@q, {0, Infinity}]]&]], {n, 10}]
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Gus Wiseman, Mar 21 2019
STATUS
approved