3
$\begingroup$

The given identity:

$$2(n-1)n^{n-2} = \sum^{n-1}_{i=1}\binom nii^{i-1}(n-i)^{n-i-1}$$

It seems to be a binomial coefficient problem, but I have tried many ways. There are no more ideas how to prove it.

$\endgroup$
1

1 Answer 1

2
$\begingroup$

$2(n-1)n^{n-2}$ counts the number of ways to choose a tree on $[n]:=\{1,\dots,n\}$, then select one of the edges, then to choose an orientation for that edge. Say the selected, oriented edge is $v\to w$. Deleting that edge leaves an ordered pair of rooted trees, where $v$ is the root of the first tree and $w$ is the root of the second. On the other hand, we can also a pair of rooted trees by selecting a nonempty, nonfull subset $K$ of $\{1,\dots,n\}$ with cardinality $k$, then choosing a rooted tree for $K$, then choosing a rooted tree for $[n]\setminus K$. This can all be done in $\binom{n}k k^{k-1}(n-k)^{n-k-1}$ ways.

$\endgroup$

Not the answer you're looking for? Browse other questions tagged .