33. For a positive integer , partition into the sum of one or several positive integers, and arrange these numbers in non-decreasing order, which is called a partition of . For any partition , define as the number of times the number 1 appears in the partition, and as the number of distinct numbers in the partition (for example, for a partition of , ). Prove that for any given positive integer , the sum of all is equal to the sum of all .
Problem 1134
Official solution
33. Let denote the number of all distinct partitions of , and define . We consider the following quantity: .
First, in the partitions of , those with the first number being 1 are in number, those with the first two numbers being 1 are in number, , those with the first numbers being 1 are in number, and those with the first numbers being 1 are in number. It is clear that in , the partition is counted once in , , , , a total of times, so . On the other hand, the partitions containing the number are in number, so in , a partition is counted as many times as it has distinct numbers, i.e., each is counted times. Therefore, we also have , so .