Executive Planning · Lucas (1883) & Shallice (1982)

Tower of Hanoi Executive Planning: How to Solve 5 Disks in Exactly 31 Optimal Moves

Direct Answer

Invented by mathematician Édouard Lucas (1883) and adapted into clinical neuropsychology via Tim Shallice's (1982) Tower of London test, disk-transfer puzzles measure prefrontal lookahead and hierarchical subgoal planning. Solving n disks optimally requires exactly 2ⁿ − 1 moves (15 for 4 disks, 31 for 5 disks, 63 for 6 disks). Healthy adults average 65%–86% efficiency on 5 disks—test your live planning efficiency below or at pencilvsfeedback.com/tower-test!

LUCAS (1883) · SHALLICE (1982) · EXECUTIVE PLANNING LAB

Tower of Hanoi Planning Benchmark

Moves: 0 / 31 optimal · Time: 0.0sMove entire stack to Peg 3 · Keys 1 / 2 / 3 or tap pegs
Rule: Never place a larger disk on top of a smaller disk. Blocked drops: 0

Key Facts at a Glance

Mathematical Optimum
2ⁿ − 1 moves (4 disks = 15 · 5 disks = 31 · 6 disks = 63)
Typical Adult Efficiency
65%–86% (36–48 moves on 5-disk benchmark)
Prefrontal Skill Tested
Subgoal decomposition, working-memory lookahead & inhibition
Cyclic Shortcut
Move Disk #1 every odd turn in ONE steady direction!
Step by Step

The Foolproof 2-Rule Iterative Algorithm for 100.0% Efficiency

Step 1

Odd moves (1, 3, 5...): Always move Disk #1 in ONE fixed direction

For odd towers (5 disks), cycle Disk #1 Peg 1 → Peg 3 → Peg 2 → Peg 1. For even towers (4 or 6 disks), cycle Peg 1 → Peg 2 → Peg 3 → Peg 1!

Step 2

Even moves (2, 4, 6...): Make the ONLY legal move NOT involving Disk #1

Surprisingly, once Disk #1 isn't touched, there is always exactly ONE legal move between the other two pegs!

Step 3

Use keys 1 / 2 / 3 to execute 31 moves in under 25 seconds

Keyboard peg selection turns recursive mastery into a silky rhythm speedrun.

Why Computer Scientists & Neuropsychologists Both Love Tower of Hanoi

To move a 5-disk pyramid to Peg 3, you MUST first move the top 4 disks onto Peg 2, shift Disk #5 to Peg 3, and then rebuild those 4 disks atop Disk #5. That exact nested 'subgoal-inside-subgoal' stack mirrors both computer call stacks and dorsolateral prefrontal executive planning!

Hoạt Hình Mới Hằng Tuần

Đăng ký Pencil vs. Feedback trên YouTube

Xem hơn 48 tập hoạt hình Shorts không lời, mẹo vẽ 3D, ảo ảnh thị giác cùng các tập phim dài vượt mê cung và giải đố bí ẩn—miễn phí, thân thiện với gia đình và không cần một lời thoại nào.

Đăng ký