Problem:
Let be a sequence of integers. A rearrangement of this sequence (the numbers in the sequence listed in some other order) is called a scramble if no number in the new sequence is equal to the number originally in its location. For example, if the original sequence is then is a scramble, but is not.
A rearrangement is called a two-two if exactly two of the numbers in the new sequence are each exactly two more than the numbers that originally occupied those locations. For example, is a two-two of the sequence (the first two values and of the new sequence are exactly two more than their original values and ).
Let . Prove that the number of scrambles of
is equal to the number of two-twos of
(Notice that both sequences have numbers, but the first one contains two s.)
Solution
Solution:
For the scrambles, we need to choose two locations from the numbers to be occupied by the two s. Once this has been done, we are left with numbers, exactly two of which (the numbers whose locations were occupied by the s) can be placed freely while all the rest have exactly one location they cannot occupy.
For the two-twos, we need to choose two locations from the numbers to be occupied by a number two greater than before; the list ends with since the and spots don't have a number that is two greater than them. Then, we have remaining numbers, exactly two of which ( and ) can be placed freely while all the rest have exactly one location (the location two less than their value) they cannot occupy.
Notice that although the particular locations are different in the two descriptions above, the mechanics of making the selections are identical: Choose two from a particular subset of of the locations and fill them with particular items. Next fill the remaining slots with the remaining items such that two of the remaining items can go anywhere and each of the others is excluded from exactly one particular location.
Since the rearrangement process is identical in both cases, the number of scrambles and two-twos must be equal.