Home > Riddles > The triple rotation

The triple rotation

Pure logicLevel 4 · Advanced · ●●●●○

You start with:

$$ 1,\ 2,\ 3,\ 4,\ 5. $$

The only operation allowed is to choose three consecutive cards and rotate them cyclically:

$$ abc\to bca\quad\text{o}\quad abc\to cab. $$

Can you reach:

$$ 2,\ 1,\ 3,\ 4,\ 5? $$

Didactic closure of the level

The difference between “normal” and “misère” seems small, but it changes the closure of the strategy.

Hints

Show hints
  1. Composing only even permutations always produces an even permutation.
  2. Going from (1,2,3,4,5) to (2,1,3,4,5) is a single exchange of two elements, that is, an odd permutation.
  3. Final section: Composing only even permutations always produces an even permutation. Then going from (1,2,3,4,5) to (2,1,3,4,5) is a single exchange of two elements, that is, an odd permutation.

Solution

Show full solution

Back to problem
Answer: No, you can't.
Each allowed trade is a 3-cycle on consecutive positions.
A 3-cycle is an even permutation.
Composing only even permutations always produces an even permutation.
Going from $(1,2,3,4,5)$ to $(2,1,3,4,5)$ is a single exchange of two elements, that is, an odd permutation.
Odd cannot be obtained as a composition of evens.

Related riddles

Keep practicing

If you enjoyed this one, try more pure-logic riddles, explore this theme, browse the full archive, or read the riddle-solving guide.

← Previous: Delivery men with a false lead · Next: The two-sided coin →