login
A324979
Number of rooted trees with n vertices that are not identity trees but whose non-leaf terminal subtrees are all different.
2
0, 0, 1, 2, 5, 12, 29, 70, 168, 402, 959, 2284, 5434, 12923, 30727, 73055, 173678, 412830
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
The Matula-Goebel numbers of these trees are given by A324978.
Sequence in context: A067687 A291235 A130009 * A048624 A176981 A215936
KEYWORD
nonn,more
AUTHOR
Gus Wiseman, Mar 21 2019
STATUS
approved