You have the row:
$$ 4,\ 2,\ 6,\ 1,\ 5,\ 3. $$
The only operation allowed is to exchange two adjacent cards whose sum is odd.
Can you reach:
$$ 1,\ 2,\ 3,\ 4,\ 5,\ 6? $$
Home > Riddles > The impossible row of cards
You have the row:
$$ 4,\ 2,\ 6,\ 1,\ 5,\ 3. $$
The only operation allowed is to exchange two adjacent cards whose sum is odd.
Can you reach:
$$ 1,\ 2,\ 3,\ 4,\ 5,\ 6? $$
Back to problem
Answer: No, it is impossible.
You can only exchange adjacent cards with an odd sum, that is, an even card with an odd card.
That implies that:
In the initial row:
In the target row:
Both relative orders change, which contradicts the invariant.
If you enjoyed this one, try more pure-logic riddles, explore this theme, browse the full archive, or read the riddle-solving guide.