login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A354017
Number of subtrees of all distinct free trees with n nodes.
1
0, 1, 3, 6, 21, 52, 165, 466, 1489, 4564, 15339
OFFSET
0,3
COMMENTS
The number of trees with n unlabeled nodes is given by A000055. The present sequence is the total number of distinct subtrees of each tree with n unlabeled nodes. This excludes the empty set and so a(0) = 0.
EXAMPLE
For n = 3 the a(3) = 6 solutions are found by counting subtrees on the A000055(3) = 1 tree.
Tree (3,1):
o-o-o ->
(o ) +
( o ) +
( o) +
(o-o ) +
( o-o) +
(o-o-o)
= 6.
a(3) = number of subtrees of (3,1) = 6.
For n = 4 there are A000055(4) = 2 distinct trees.
Tree (4,1):
o-o-o-o ->
(o ) +
( o ) +
( o ) +
( o) +
(o-o ) +
( o-o ) +
( o-o) +
(o-o-o ) +
( o-o-o) +
(o-o-o-o)
= 10.
Tree (4,2):
o-o-o ->
|
o
(o ) +
( o ) +
( o) +
( ) +
o
(o-o ) +
( o-o) +
( o ) +
|
o
(o-o-o) +
(o-o ) +
|
o
( o-o) +
|
o
(o-o-o)
|
o
= 11.
a(4) = number of subtrees of (4,1) + number of subtrees of (4,2) = 10 + 11 = 21.
CROSSREFS
Cf. A000055.
Sequence in context: A136331 A063683 A200380 * A151396 A148604 A148605
KEYWORD
nonn,more
AUTHOR
Adam A. Arfaoui, May 14 2022
STATUS
approved