Rules
Tower of Hanoi – Rules
Édouard Lucas's puzzle of 1883: a tower of wooden discs on the left rod. Move it to the right rod one disc at a time, never putting a larger disc on a smaller one — in as few moves as you can.
GrokipediaGoal
Move the whole tower from the left rod to the right rod.
The rules
Move one disc at a time: the top disc of a rod onto another rod. A disc may never lie on a smaller one.
The fewest moves
A tower of n discs needs at least 2ⁿ − 1 moves: 7 for three, 31 for five, 255 for eight. The trick: to move a disc, first move every smaller disc out of its way, onto the third rod.
Height
Choose a tower of 3 to 8 discs. Every disc more doubles the work.
Playing here
Click or tap a rod to lift its top disc, then the rod to put it on. With the keyboard, move between the rods with Tab and choose with Enter.