Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to main content

Solving Towers of Hanoi and Related Puzzles

  • Conference paper
Computer Aided Systems Theory - EUROCAST 2013 (EUROCAST 2013)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 8111))

Included in the following conference series:

  • 1346 Accesses

Abstract

Starting with the well-known Towers of Hanoi, we create a new sequence of puzzles which can essentially be solved in the same way. Since graphs and puzzles are intimately connected, we define a sequence of graphs, the iterated complete graphs, for our puzzles. To create puzzles for all these graphs, we need to generalize another puzzle, Spin-Out, and cross the generalized Towers puzzles with the the generalized Spin-Out puzzles. We show how to solve these combined puzzles. We also show how to compute distances between puzzle configurations. We show that our graphs have Hamiltonian paths and perfect one-error-correcting codes. (Properties that are \(\mathcal{NP}\)-complete for general graphs.) We also discuss computational complexity and show that many properties of our graphs and puzzles can be calculated by finite state machines.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

References

  1. Burkhardt, C., Pitts, T.: Hamiltonian paths and perfect one-error-correcting codes on iterated complete graphs. Oregon State REU Proceedings (2012)

    Google Scholar 

  2. Cull, P., Ecklund Jr., E.F.: Towers of Hanoi and Analysis of Algorithms. American Mathematical Monthly 92(6), 407–420 (1985)

    Article  MathSciNet  MATH  Google Scholar 

  3. Cull, P., Merrill, L., Van, T.: A Tale of Two Puzzles: Towers of Hanoi and Spin-Out. Journal of Information Processing 21(3), 1–15 (2013)

    Article  Google Scholar 

  4. Cull, P., Flahive, M., Robson, R.: Difference Equations. Springer, New York (2005)

    MATH  Google Scholar 

  5. Cull, P., Nelson, I.: Error-correcting codes on the Towers of Hanoi graphs. Discrete Math. 208(209), 157–175 (1999)

    Article  MathSciNet  Google Scholar 

  6. Cull, P., Nelson, I.: Perfect Codes, NP-Completeness, and Towers of Hanoi Graphs. Bull. Inst. Combin. Appl. 26, 13–38 (1999)

    MathSciNet  MATH  Google Scholar 

  7. Doran, R.W.: The Gray code. Journal of Universal Computer Science 13(11), 1573–1597 (2007)

    MathSciNet  Google Scholar 

  8. Gardner, M.: Curious properties of the Gray code and how it can be used to solve puzzles. Scientific American 227(2), 106–109 (1972)

    Article  Google Scholar 

  9. Jaap. Jaap’s puzzle page, http://www.jaapsch.net/puzzles/spinout.htm

  10. Klažar, S., Milutinović, U., Petr, C.: 1-perfect codes in Sierpinski graphs. Bull. Austral. Math. Soc. 66, 369–384 (2002)

    Article  MathSciNet  Google Scholar 

  11. Kleven, S.: Perfect Codes on Odd Dimension Serpinski Graphs. Oregon State REU Proceedings (2003)

    Google Scholar 

  12. Li, C.-K., Nelson, I.: Perfect codes on the Towers of Hanoi graph. Bull. Austral. Math. Soc. 57, 367–376 (1998)

    Article  MathSciNet  MATH  Google Scholar 

  13. Pruhs, K.: The SPIN-OUT puzzle. ACM SIGCSE Bulletin 25, 36–38 (1993)

    Article  Google Scholar 

  14. Savage, C.: A survey of combinatorial Gray codes. SIAM Review 39, 605–629 (1996)

    Article  MathSciNet  Google Scholar 

  15. Spin-Out. Amazon, http://www.amazon.com/Think-Fun-5401-Thinkfun-Spinout/dp/B000EGI4IA

  16. Weaver, E.: Gray codes and puzzles on iterated complete graphs. Oregon State REU Proceedings (2005)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Cull, P., Merrill, L., Van, T., Burkhardt, C., Pitts, T. (2013). Solving Towers of Hanoi and Related Puzzles. In: Moreno-Díaz, R., Pichler, F., Quesada-Arencibia, A. (eds) Computer Aided Systems Theory - EUROCAST 2013. EUROCAST 2013. Lecture Notes in Computer Science, vol 8111. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-53856-8_2

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-53856-8_2

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-53855-1

  • Online ISBN: 978-3-642-53856-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics