Move the whole tower without ever placing a larger disk on a smaller one
Example: with 3 disks, the shortest solution takes 7 moves and starts by taking the smallest disk straight to the right peg — starting with the middle peg would already take 8.
The Tower of Hanoi is a well-known exercise in planning and problem solving. Versions of it — and variants such as the Tower of London — are used in neuropsychological assessments of executive functions, such as planning and working memory.
The rule is simple (never a larger disk on top of a smaller one), but solving it in the fewest moves means thinking several steps ahead, not just the next one — the more disks, the more advance planning it takes.
Frequently Asked Questions
Is there a minimum number of moves to solve the Tower of Hanoi?
Yes. With N disks, the minimum number of moves is 2ⁿ − 1. For example: 3 disks = 7, 4 disks = 15, and 5 disks = 31.
Why is this game used in reasoning assessments?
Because solving it well takes planning the sequence in advance and holding that plan in working memory — skills related to executive functions.