Graphs S ( n , k ) and a variant of the Tower of Hanoi problem

Sandi Klavžar; Uroš Milutinović

Czechoslovak Mathematical Journal (1997)

  • Volume: 47, Issue: 1, page 95-104
  • ISSN: 0011-4642

Abstract

top
For any n 1 and any k 1 , a graph S ( n , k ) is introduced. Vertices of S ( n , k ) are n -tuples over { 1 , 2 , ... , k } and two n -tuples are adjacent if they are in a certain relation. These graphs are graphs of a particular variant of the Tower of Hanoi problem. Namely, the graphs S ( n , 3 ) are isomorphic to the graphs of the Tower of Hanoi problem. It is proved that there are at most two shortest paths between any two vertices of S ( n , k ) . Together with a formula for the distance, this result is used to compute the distance between two vertices in O ( n ) time. It is also shown that for k 3 , the graphs S ( n , k ) are Hamiltonian.

How to cite

top

Klavžar, Sandi, and Milutinović, Uroš. "Graphs $S(n,k)$ and a variant of the Tower of Hanoi problem." Czechoslovak Mathematical Journal 47.1 (1997): 95-104. <http://eudml.org/doc/30349>.

@article{Klavžar1997,
abstract = {For any $n\ge 1$ and any $k\ge 1$, a graph $S(n,k)$ is introduced. Vertices of $S(n,k)$ are $n$-tuples over $\lbrace 1, 2, \ldots , k\rbrace $ and two $n$-tuples are adjacent if they are in a certain relation. These graphs are graphs of a particular variant of the Tower of Hanoi problem. Namely, the graphs $S(n,3)$ are isomorphic to the graphs of the Tower of Hanoi problem. It is proved that there are at most two shortest paths between any two vertices of $S(n,k)$. Together with a formula for the distance, this result is used to compute the distance between two vertices in $O(n)$ time. It is also shown that for $k\ge 3$, the graphs $S(n,k)$ are Hamiltonian.},
author = {Klavžar, Sandi, Milutinović, Uroš},
journal = {Czechoslovak Mathematical Journal},
keywords = {Tower of Hanoi; Hamiltonian graph; distance in a graph},
language = {eng},
number = {1},
pages = {95-104},
publisher = {Institute of Mathematics, Academy of Sciences of the Czech Republic},
title = {Graphs $S(n,k)$ and a variant of the Tower of Hanoi problem},
url = {http://eudml.org/doc/30349},
volume = {47},
year = {1997},
}

TY - JOUR
AU - Klavžar, Sandi
AU - Milutinović, Uroš
TI - Graphs $S(n,k)$ and a variant of the Tower of Hanoi problem
JO - Czechoslovak Mathematical Journal
PY - 1997
PB - Institute of Mathematics, Academy of Sciences of the Czech Republic
VL - 47
IS - 1
SP - 95
EP - 104
AB - For any $n\ge 1$ and any $k\ge 1$, a graph $S(n,k)$ is introduced. Vertices of $S(n,k)$ are $n$-tuples over $\lbrace 1, 2, \ldots , k\rbrace $ and two $n$-tuples are adjacent if they are in a certain relation. These graphs are graphs of a particular variant of the Tower of Hanoi problem. Namely, the graphs $S(n,3)$ are isomorphic to the graphs of the Tower of Hanoi problem. It is proved that there are at most two shortest paths between any two vertices of $S(n,k)$. Together with a formula for the distance, this result is used to compute the distance between two vertices in $O(n)$ time. It is also shown that for $k\ge 3$, the graphs $S(n,k)$ are Hamiltonian.
LA - eng
KW - Tower of Hanoi; Hamiltonian graph; distance in a graph
UR - http://eudml.org/doc/30349
ER -

References

top
  1. 10.1002/jgt.3190180705, J. Graph Theory 18 (1994), 681–703. (1994) MR1297190DOI10.1002/jgt.3190180705
  2. La Tour d’Hanoi, Jeu de calcul, Science et Nature 1(8) (1884), 127–128. (1884) 
  3. 10.1007/BF01934458, BIT 23 (1983), 295–302. (1983) Zbl0523.68057MR0704996DOI10.1007/BF01934458
  4. 10.1016/0012-365X(92)90280-S, Discrete Math. 109 (1992), 77–102. (1992) MR1192372DOI10.1016/0012-365X(92)90280-S
  5. The Tower of Hanoi, Enseign. Math. 35 (1989), 289–321. (1989) Zbl0746.05035MR1039949
  6. 10.1016/0020-0255(92)90067-I, Inform. Sci. 63 (1992), 173–181. (1992) Zbl0792.68125MR1163725DOI10.1016/0020-0255(92)90067-I
  7. 10.2307/2324061, Amer. Math. Monthly 99 (1992), 538–544. (1992) Zbl0782.05003MR1166003DOI10.2307/2324061
  8. 10.1007/BF01217750, Probab. Theory Related Fields 87 (1990), 129–138. (1990) MR1076960DOI10.1007/BF01217750
  9. 10.1007/BF01472575, Monatsh. Math. 80 (1975), 277–281. (1975) MR0404058DOI10.1007/BF01472575
  10. A universal one-dimensional metric space, TOPO 72—General Topology and its Applications, Second Pittsburgh Internat. Conf., Volume 378 of Lecture Notes in Math., Springer-Verlag, New York, 1974, pp. 248–257. (1974) Zbl0288.54032MR0358738
  11. 10.1090/S0002-9947-1975-0380751-8, Trans. Amer. Math. Soc. 211 (1975), 143–160. (1975) Zbl0314.54015MR0380751DOI10.1090/S0002-9947-1975-0380751-8
  12. Lipscomb’s L ( A ) space fractalized in Hilbert’s l 2 ( A ) space, Proc. Amer. Math. Soc. 115 (1992), 1157–1165. (1992) MR1093602
  13. Completeness of the Lipscomb space, Glas. Mat. Ser. III 27(47) (1992), 343–364. (1992) MR1244650
  14. A universal separable metric space of Lipscomb’s type, Preprint Series Univ. of Ljubljana 32 (1994), 443. (1994) 
  15. 10.1016/0095-8956(90)90073-9, J. Combin. Theory Ser. B 50 (1990), . (1990) Zbl0657.05023MR1081222DOI10.1016/0095-8956(90)90073-9

NotesEmbed ?

top

You must be logged in to post comments.

To embed these notes on your page include the following JavaScript code on your page where you want the notes to appear.

Only the controls for the widget will be shown in your chosen language. Notes will be shown in their authored language.

Tells the widget how many notes to show per page. You can cycle through additional notes using the next and previous controls.

    
                

Note: Best practice suggests putting the JavaScript code just before the closing </body> tag.