arXiv Analytics

Sign in

arXiv:math/0310109 [math.CO]AbstractReferencesReviewsResources

Shortest paths in the Tower of Hanoi graph and finite automata

Dan Romik

Published 2003-10-08Version 1

We present efficient algorithms for constructing a shortest path between two states in the Tower of Hanoi graph, and for computing the length of the shortest path. The key element is a finite-state machine which decides, after examining on the average only 63/38 of the largest discs, whether the largest disc will be moved once or twice. This solves a problem raised by Andreas Hinz, and results in a better understanding of how the shortest path is determined. Our algorithm for computing the length of the shortest path is typically about twice as fast as the existing algorithm. We also use our results to give a new derivation of the average distance 466/885 between two random points on the Sierpinski gasket of unit side.

Comments: 15 pages, 6 figures
Categories: math.CO, cs.DM, math.PR
Subjects: 68W40
Related articles: Most relevant | Search more
arXiv:2005.12861 [math.CO] (Published 2020-05-26)
Finding an induced path that is not a shortest path
arXiv:math/0309269 [math.CO] (Published 2003-09-17)
Finite automata and pattern avoidance in words
arXiv:0809.1179 [math.CO] (Published 2008-09-07, updated 2009-04-05)
The group of symmetries of the Tower of Hanoi graph