Learn / Library / Combinatorics
Labeled trees count
How many different trees can be drawn on the labeled vertices to ? Trees are different if their sets of edges differ.
Checking an answer needs JavaScript. The hint and the solution open without it.
Hint
A tree on labeled vertices matches a code obtained by repeatedly removing the smallest leaf.
Solution
- A tree on labeled vertices corresponds one-to-one to a sequence of length with entries from , namely the labels of the neighbours of the removed smallest leaves.
- Here , so the sequences have length and each entry has choices.
- The number of trees is .
Answer: