23. (POL 2) consider permutations of the set such that for at least one . For every natural number , find out whether permutations with this property are more or less numerous than the remaining permutations of .
Solution
23. Two numbers will be called twins if . Then the set splits into pairs of twins. A permutation of this set is said to be of type if holds for exactly indices (thus a permutation of type contains no pairs of neighboring twins). Denote by the number of -type permutations of . Let be a permutation of type . Removing and its twin, we obtain a permutation of elements consisting of pairs of twins. This new permutation is of one of the following types: (i) type can take values, and its twin can take any of positions; (ii) type can take any one of values, but its twin must be placed to separate the unique pair of neighboring twins in the new permutation. The recurrence formula follows:
Now let be a permutation of type , and let be the unique neighboring twin pair. Similarly, on removing this pair we get a permutation of elements, either of type or of type . The pair is chosen out of twin pairs and can be arranged in two ways. Also, in the first case it can be placed anywhere ( possible positions), but in the second case it must be placed to separate the unique pair of neighboring twins. Hence,
This implies that , is the twin of , then
The mapping is injective, but not surjective. Thus .