skip to main content
article
Free Access

The four-peg Tower of Hanoi puzzle

Authors Info & Claims
Published:01 September 1991Publication History
Skip Abstract Section

Abstract

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 2n - 1 moves. As far as we know, the minimum number of moves required to solve the four-peg puzzle is an open question.

References

  1. 1. N. Dale and C. Weems, Introduction to Pascal and Structured Design, 2nd ed., Heath, Lexington, Mass., 1987. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. 2. A. M. Hinz, "The Tower of Hanoi," L'Enseignement Mathématique, t. 35, 1989, pp. 289-321.Google ScholarGoogle Scholar
  3. 3. R. Johnsonbaugh, Discrete Mathematics, 2nd ed., Macmillan, New York, 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. 4. Problem 3918, Amer. Math. Mo., March 1941, pp. 216-219.Google ScholarGoogle Scholar

Index Terms

  1. The four-peg Tower of Hanoi puzzle

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in

      Full Access

      • Published in

        cover image ACM SIGCSE Bulletin
        ACM SIGCSE Bulletin  Volume 23, Issue 3
        Sept. 1991
        65 pages
        ISSN:0097-8418
        DOI:10.1145/126459
        Issue’s Table of Contents

        Copyright © 1991 Authors

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 1 September 1991

        Check for updates

        Qualifiers

        • article

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader