Transform the sequence of cards numbered into . That is, move the first cards to positions , and place the remaining cards, in their original order, at the odd positions . This is called a "perfect shuffle". Determine which values of allow the sequence to be restored to its original order after repeated "perfect" shuffles. (Source: 28th International Mathematical Olympiad, 1987)