A partition of the set $\{1, 2, \dots , n\}$ into $k$ parts is a way of writing the set as a disjoint union of k subsets. For example $\{1, 2, 3, 4, 5\} = \{1, 4\} \cup \{2, 3\} \cup \{5\}$ is a partition into 3 parts.
Let $P(n, k)$ be the number of partitions of $\{1, 2, …, n\}$ into $k$ parts. Prove the following: $$P(n, k) = kP(n – 1, k) + P(n - 1, k - 1)$$
Every partition counted in $p(n,k)$ is one of the following two forms.