The four-peg Tower of Hanoi puzzle

I-Ping Chu, Richard Johnsonbaugh · ACM SIGCSE Bulletin · 1991

We discuss a version of the Tower of Hanoi puzzle in which there are four pegs rather than three. The fourpeg puzzle provides a rich source of exercises (samples of which are included) for students after the familiar three-peg version has been presented. We give an algorithm that solves the four-peg puzzle in the claimed minimum number of moves (see [2, 4]). Our algorithm solves the four-peg puzzle in O -(4 √n ) moves whereas the best algorithm for the three-peg puzzle requires 2 n - 1 moves. As far as we know, the minimum number of moves required to solve the four-peg puzzle is an open question.

Read the paper · More papers on PaperTik