Six frogs sit in a row, numbered 1 to 6, with one empty space
A frog can slide into an adjacent empty space, or hop over exactly one frog into an empty space beyond it — no other moves allowed. Reverse the frogs' order, so they read 6, 5, 4, 3, 2, 1, with the empty space back where it started. What's the fewest moves it takes?
Reveal the answer
21 moves. Henry Dudeney gave this as the minimum in Amusements in Mathematics (1917), using a repeating pattern of moves that generalises to any number of frogs.