Recursion and Optimality in the Tower of Hanoi with Three to Five Pegs

This paper compares recursive solution methods for the Tower of Hanoi with three, four, and five pegs, with particular attention to the difference between constructing a short solution and proving global optimality. The classical three-peg recurrence provides both an algorithm and a matching lower bound, so its exact move count follows directly. For four pegs, the Frame-Stewart strategy introduces a partition choice that is evaluated by dynamic programming. Bousch's 2014 result is reviewed at the level needed to explain why the resulting move count is globally optimal: the recursive construction supplies an upper bound, while a potential function on legal configurations supplies the matching lower bound. The same recurrence gives efficient five-peg solutions, but no corresponding lower-bound proof is known for all disk counts. Computations for up to 30 disks show the large reduction in move counts obtained from additional pegs. The results also show why numerical agreement and partition optimization cannot replace a proof over all legal move sequences.

Authors

Institutions

Publication Details

Journal
Advances in Economics Management and Political Sciences
Published
2026-12-01
DOI
https://doi.org/10.54254/2754-1169/2026.ab39646
Primary Topic
Advanced Combinatorial Mathematics
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Recursion and Optimality in the Tower of Hanoi with Three to Five Pegs

Yile Dai
Advances in Economics Management and Political Sciences
Advanced Combinatorial Mathematics
article

Recursion and Optimality in the Tower of Hanoi with Three to Five Pegs

Yile Dai
article en

Abstract

This paper compares recursive solution methods for the Tower of Hanoi with three, four, and five pegs, with particular attention to the difference between constructing a short solution and proving global optimality. The classical three-peg recurrence provides both an algorithm and a matching lower bound, so its exact move count follows directly. For four pegs, the Frame-Stewart strategy introduces a partition choice that is evaluated by dynamic programming. Bousch's 2014 result is reviewed at the level needed to explain why the resulting move count is globally optimal: the recursive construction supplies an upper bound, while a potential function on legal configurations supplies the matching lower bound. The same recurrence gives efficient five-peg solutions, but no corresponding lower-bound proof is known for all disk counts. Computations for up to 30 disks show the large reduction in move counts obtained from additional pegs. The results also show why numerical agreement and partition optimization cannot replace a proof over all legal move sequences.

Advances in Economics Management and Political SciencesVol. 318(1)
University of Bristol (GB)
Advanced Combinatorial Mathematics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
Recursion and Optimality in the Tower of Hanoi with Three to Five Pegs — Yile Dai · Advances in Economics Management and Political Sciences (2026) | TGRS Research Map | TGRS