The Parity-Constrained Four-Peg Tower of Hanoi Problem and Its Associated Graph
El-Mehdi Mehiri

TL;DR
This paper introduces a new parity-constrained four-peg Tower of Hanoi variant, deriving exact move counts, recursive relations, and analyzing the associated graph's properties, revealing slower exponential growth compared to the classical case.
Contribution
It formulates the parity-constrained four-peg Tower of Hanoi problem, derives explicit formulas for optimal moves, and characterizes the properties of the related Hanoi graph.
Findings
Optimal move sequences grow exponentially but slower than classical case.
Derived explicit formulas and recursive relations for move counts.
Analyzed the properties of the associated Hanoi graph, including diameter and planarity.
Abstract
We introduce and study a new four-peg variant of the Tower of Hanoi problem under parity constraints. Two pegs are neutral and allow arbitrary disc placements, while the remaining two pegs are restricted to discs of a prescribed parity: one for even-labelled discs and the other for odd-labelled discs. Within this constrained setting, we investigate four canonical optimization objectives according to distinct target configurations and derive for each the exact number of moves required to optimally transfer the discs. We establish a coupled system of recursive relations governing the four optimal move functions and unfold them into higher-order recurrences and explicit closed forms. These formulas exhibit periodic growth patterns and reveal that all solutions grow exponentially, but at a significantly slower rate than the classical three-peg case. In particular, each optimal move sequence…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
