Let , be positive integers with , and let be the set of all ordered -tuples of positive integers such that . Show that
, 2010
Solutions — 2
Solution 1
Let , and let be the set of all -term sequences of nonnegative integers such that . It suffices for us to show that
We claim that both sides of the desired equation count the number of ways to color objects with colors such that each color is used at least once. For , the number of ways to color objects with colors is , so the principle of inclusion-exclusion shows exactly that the right hand side counts these colorings.
It suffices to show that the left hand side also counts these colorings. Label the objects , , , in some order, and, for , let be the smallest object of color . Take , where we let . Then, notice that any such coloring is specified uniquely by the following data: (a) the order in which the colors first appear, (b) the number of objects between and for each , where we take , and (c) the colors of the objects between and . We now count how many ways these data can be chosen. There are choices for datum (a), and it is independent of (b) and (c). Datum (b) is specified uniquely by a choice of such that , that is, an element of . Given such a choice of , there are ways to color the intermediate objects, as each of the between and admits choices of color since only colors appear before . Summing over all choices of (a), (b), and (c), we see that the number of colorings of this type is
which matches the left hand side of the desired equation, completing the proof.
Solution 2
Denote by the set of all -term sequences of positive integers such that . Let , with if , and consider the corresponding generating function
Computing, we find that
Consider now the two-variable generating function defined recursively by
and
We may identify the coefficient of in as the forward finite difference of the function . Therefore, it is given by
(If the reader is not familiar with the theory of finite differences, the claim also follows from a straightforward induction.)
We have just shown that the two sides of the desired equality are the coefficients of in the generating functions and . Hence, it now suffices to show that . For this, we will show that
which would complete the proof, as this expression easily reduces to upon taking .
We proceed by induction on . The base case is evident. Now, suppose the claim holds for some ; by the definition of , we may compute
which completes the induction.