Browse · MathNet
PrintChina Girls' Mathematical Olympiad
China counting and probability
Problem
Let be an integer greater than or equal to . For a permutation of , we say that lies in between and if . (For example, in the permutation , lies in between and , and does not lie in between and .) Set consists of (distinct) permutations of . Suppose that among every three distinct numbers in , one of these numbers does not lie in between the other two numbers in every permutation . Determine the maximum value of .
Solution
The answer is .
We first show that . We induct on . The base case is trivial. (Indeed, say does not lie in between and , then we can have .) Assume that the statement is true for (where ). Now consider and a set satisfies the conditions of the problem. Note that if the element is deleted from each permutation in , the resulting permutations form a set that satisfies the conditions of the problem (for ). It suffices to show the following claim: there are at most two distinct permutations and in that can map to the same permutation in (by deleting the element in the permutations and ).
Indeed, assume that for in , . By symmetry, we may assume that . Assume that . Again by symmetry, we may assume that . (Note that because , are distinct.) We consider three numbers . We have (in particular, lies in between and ), (in particular, lies in between and ), and (in particular, lies in between and ). Hence each one of the numbers lie in between the other two numbers in some permutations in , violating the conditions of . Thus our assumption was wrong and at most two elements in can be mapped to an element in , establishing our claim.
It remains to be shown that is achievable. We construct permutation inductively: (1) place ; (2) after numbers are placed, we place either to the left or the right of all the numbers placed so far. Because there are two possible places for each of the numbers , we can construct such permutations. For any three numbers , does not lie in between and . Hence, this set of permutations satisfies the conditions of the problem, completing our proof.
We first show that . We induct on . The base case is trivial. (Indeed, say does not lie in between and , then we can have .) Assume that the statement is true for (where ). Now consider and a set satisfies the conditions of the problem. Note that if the element is deleted from each permutation in , the resulting permutations form a set that satisfies the conditions of the problem (for ). It suffices to show the following claim: there are at most two distinct permutations and in that can map to the same permutation in (by deleting the element in the permutations and ).
Indeed, assume that for in , . By symmetry, we may assume that . Assume that . Again by symmetry, we may assume that . (Note that because , are distinct.) We consider three numbers . We have (in particular, lies in between and ), (in particular, lies in between and ), and (in particular, lies in between and ). Hence each one of the numbers lie in between the other two numbers in some permutations in , violating the conditions of . Thus our assumption was wrong and at most two elements in can be mapped to an element in , establishing our claim.
It remains to be shown that is achievable. We construct permutation inductively: (1) place ; (2) after numbers are placed, we place either to the left or the right of all the numbers placed so far. Because there are two possible places for each of the numbers , we can construct such permutations. For any three numbers , does not lie in between and . Hence, this set of permutations satisfies the conditions of the problem, completing our proof.
Final answer
2^{n-1}
Techniques
Induction / smoothingRecursion, bijectionColoring schemes, extremal arguments