The sum of degrees is twice the number of edges, so
For this gives
Necessity of the divisibility condition follows. Conversely, when , choose internal labels and form a Prüfer sequence in which each of them appears exactly times. Its length is ; all other labels are absent. The decoded tree has degree at the chosen labels and degree one elsewhere. Thus the divisibility condition is sufficient, with the displayed leaf of a graph count. For the code is empty and the sole edge works, with no internal vertices.
The division assumes . If , all vertices would have degree one, and the only connected tree with is the two-vertex edge. This separate case is not expressed by division by .
First choose the absent labels, which will be the leaves of a graph, in ways. Every other label must occur exactly times in the Prüfer sequence. There are such labels and their total multiplicity is by (a). The number of orderings of this multiset is . The bijection in (i) turns each ordering into one distinct labelled tree and exhausts all possibilities. Therefore
The formula is used with the feasible integer parameters from (a), and gives one for the two-vertex edge with no internal labels.

Articles by others on the same topic (0)

There are currently no matching articles.