[go: up one dir, main page]

login
A316473
Number of locally disjoint rooted trees with n nodes, meaning no branch overlaps any other (unequal) branch of the same root.
29
1, 1, 2, 4, 9, 19, 44, 99, 233, 554, 1346, 3300, 8219, 20635, 52300, 133488, 343033, 886360, 2302133, 6005835
OFFSET
1,3
EXAMPLE
The a(5) = 9 locally disjoint rooted trees:
((((o))))
(((oo)))
((o(o)))
((ooo))
(o((o)))
(o(oo))
((o)(o))
(oo(o))
(oooo)
MATHEMATICA
strut[n_]:=strut[n]=If[n===1, {{}}, Select[Join@@Function[c, Union[Sort/@Tuples[strut/@c]]]/@IntegerPartitions[n-1], Select[Tuples[#, 2], UnsameQ@@#&&(Intersection@@#=!={})&]=={}&]];
Table[Length[strut[n]], {n, 15}]
KEYWORD
nonn,more
AUTHOR
Gus Wiseman, Jul 04 2018
EXTENSIONS
a(20) from Jinyuan Wang, Jun 20 2020
STATUS
approved