Quoto

Learn / Library / Combinatorics

Labeled trees count

CombinatoricsMedium

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.

A whole number, a decimal, a fraction like 3/8 or a percent.

Hint

A tree on labeled vertices matches a code obtained by repeatedly removing the smallest leaf.

Solution
  1. 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.
  2. Here , so the sequences have length and each entry has choices.
  3. The number of trees is .

Answer: