Solution

ID: past-exam-of-the-probability-statistics-and-options-ii-course-of-the-university-of-oxford/2011/r/r2/d/i/solution

Root the tree at any vertex and order vertices so every parent precedes its children. The root has colour choices. Each of the other vertices has exactly one earlier adjacent vertex, its parent, and therefore exactly choices. There are no other restrictions because a tree has no cycles and no extra edges between those branches. Multiplication yields
The formula also includes the one-vertex tree.

New to topics? Read the docs here!