Let be a positive integer divisible by 4. We consider permutations of with the following property: for every , if we take , then . Prove that there are exactly such permutations.
Problem 1522
Official solution
Let . Suppose , then we can choose and it follows that , so . But is divisible by 4, so is odd. Contradiction. Suppose now that . Then we can choose and and it follows that , so . However, we have just seen that this cannot occur.
Suppose now that with . Then we can choose and and it follows that , so . Next, we can choose and and it follows that . Now we choose and and see that . In total, we have:
Since and , the four numbers on the right-hand side are all different. Furthermore, the four numbers can be divided into two pairs of the form . We now have four numbers for which it holds that the same four numbers are in the permutation at the same positions, but in a different order. We can now choose a different from one of these four numbers and a with and find a quartet containing in the same way. Note that now and cannot already be in the first quartet, because then and would also be in it. We can continue this way until all numbers are divided into quartets.
We see that we can exactly construct all permutations by applying the following recipe:
- Choose the smallest number for which has not yet been determined. Take for some for which has not yet been determined and for which . This also determines the values of and .
- Repeat the previous step as often as necessary until all values are determined.
For the first , we have possibilities for . For the next step, we have possibilities. For the step after that, we have , and so on. Thus, the number of permutations that satisfy this property is
Write , then we can write this as