Browse · MathNet
PrintIrish Mathematical Olympiad
Ireland counting and probability
Problem
How many sequences are there such that each of the numbers occurs once in the sequence, and for each such that ?
Solution
There are several different solutions:
Solution 1: The function given by is a bijection. Let us consider its inverse . The condition that for is equivalent to for all . Therefore, there are two choices for , two choices for (since one of has been 'used already' for ), two choices for , ..., two choices for . Thus there are possibilities for the function . Therefore there are such sequences.
Solution 2: We will say that a 2008-tuple is good if it has the required properties. Let be a good 2008-tuple. Let . We will show that is a bijection between the set of good 2008-tuples and the set of subsets of . First we observe that the function is a bijection from to itself. Lemma: If is good then for each , either or . Proof: This is obvious for and . Suppose that and . Property (a) implies in particular that for . That is, Therefore we must have . Therefore (bijectivity again) which contradicts our assumption that . Now suppose that is a good 2008-tuple and that where . Clearly for all . So for we must have also. That is to say, is a bijection . Now the lemma above clearly implies that for and . In other words is determined by the set . So is an injection. Now suppose that . Let for all . Define for and let . Then is easily seen that is good and clearly . Therefore is a surjection.
Solution 3: (By induction.) We claim that, for integers ,
the number of bijections such that for all , is . Let us call such functions good. This easily checked for . Suppose that the statement is true for some where . Now consider a good function . There are 2008 possible choices for . If then we must have for all , so there is one such function. If , then for . Now it is easy to see that the number of possible such functions is the same as the number of good functions from to itself. The induction hypothesis implies that there are of these. Therefore, the number of good functions on is This completes the induction step.
Solution 1: The function given by is a bijection. Let us consider its inverse . The condition that for is equivalent to for all . Therefore, there are two choices for , two choices for (since one of has been 'used already' for ), two choices for , ..., two choices for . Thus there are possibilities for the function . Therefore there are such sequences.
Solution 2: We will say that a 2008-tuple is good if it has the required properties. Let be a good 2008-tuple. Let . We will show that is a bijection between the set of good 2008-tuples and the set of subsets of . First we observe that the function is a bijection from to itself. Lemma: If is good then for each , either or . Proof: This is obvious for and . Suppose that and . Property (a) implies in particular that for . That is, Therefore we must have . Therefore (bijectivity again) which contradicts our assumption that . Now suppose that is a good 2008-tuple and that where . Clearly for all . So for we must have also. That is to say, is a bijection . Now the lemma above clearly implies that for and . In other words is determined by the set . So is an injection. Now suppose that . Let for all . Define for and let . Then is easily seen that is good and clearly . Therefore is a surjection.
Solution 3: (By induction.) We claim that, for integers ,
the number of bijections such that for all , is . Let us call such functions good. This easily checked for . Suppose that the statement is true for some where . Now consider a good function . There are 2008 possible choices for . If then we must have for all , so there is one such function. If , then for . Now it is easy to see that the number of possible such functions is the same as the number of good functions from to itself. The induction hypothesis implies that there are of these. Therefore, the number of good functions on is This completes the induction step.
Final answer
2^{2007}
Techniques
Recursion, bijectionInduction / smoothing