Browse · MathNet
PrintSaudi Arabian IMO Booklet
Saudi Arabia counting and probability
Problem
We consider all partitions of a positive integer into a sum of (non-negative integer) exponents of (i.e. ). A number in the sum is allowed to repeat an arbitrary number of times (e.g. ) and two partitions differing only in the order of summands are considered to be equal (e.g. and are regarded to be the same partition). Let be the number of partitions in which an even number of exponents appear an odd number of times and the number of partitions in which an odd number of exponents appear an odd number of times. For example, for partitions counted in are and , whereas partitions counted in are and , hence . Find as a function of .
Solution
Let . We trivially have and , thus , and (respectively and ), hence . We will show by total induction that for all . Assume it holds for all numbers from to . If is odd, a partition must contain at least one . Since the addition of changes the parity of the number of one's it follows that and , hence since . If is even the partition must contain an even number of s. If it contains or , then we have the unique solutions the first adding to , the second to . For other, smaller, values of we note that the remaining exponents are all even, and we can thus apply the inductive hypothesis to . Thus, it follows that for even we will also have . This completes the proof.
---
Alternative solution.
Let be the generating function for the sequence we desire. To count partitions with an odd number of odd-appearing exponents as negative, we will multiply those choices as negative. Thus, we have that where the -term corresponds to choosing the number of times is represented in the partition. Taking the expression for each power series, one now finds However, Thus, from which it follows that and for all .
---
Alternative solution.
Let be the generating function for the sequence we desire. To count partitions with an odd number of odd-appearing exponents as negative, we will multiply those choices as negative. Thus, we have that where the -term corresponds to choosing the number of times is represented in the partition. Taking the expression for each power series, one now finds However, Thus, from which it follows that and for all .
Final answer
E(n) - O(n) = -1 for n = 1, and E(n) - O(n) = 0 for all n > 1
Techniques
Generating functionsInduction / smoothingRecursion, bijection