|
|
A316522
|
|
Number of unlabeled rooted trees with n nodes where all terminal rooted subtrees are either constant or strict.
|
|
0
|
|
|
1, 1, 2, 4, 8, 15, 34, 71, 165, 381, 913, 2193, 5389, 13287, 33155, 83196, 210251, 533956, 1363146, 3494266, 8993164, 23225281
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
LINKS
|
|
|
EXAMPLE
|
The a(6) = 15 rooted trees:
(((((o)))))
((((oo))))
(((o(o))))
(((ooo)))
((o((o))))
((o(oo)))
(((o)(o)))
((oooo))
(o(((o))))
(o((oo)))
(o(o(o)))
(o(ooo))
((o)((o)))
((o)(oo))
(ooooo)
Missing from this list are:
((oo(o)))
(oo((o)))
(oo(oo))
(o(o)(o))
(ooo(o))
|
|
MATHEMATICA
|
Clear[strut];
strut[n_]:=strut[n]=If[n==1, {{}}, Select[Join@@Function[c, Union[Sort/@Tuples[strut/@c]]]/@IntegerPartitions[n-1], Or[SameQ@@#, UnsameQ@@#]&]];
Table[Length[strut[n]], {n, 15}]
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,more
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|