The Tower of Hanoi with Forbidden Moves

Amir Sapir

Research output: Contribution to journalArticlepeer-review

26 Scopus citations

Abstract

We consider a variant of the classical three-peg Tower of Hanoi problem, where limitations on the possible moves among the pegs are imposed. Each variant corresponds to a di-graph whose vertices are the pegs, and an edge from one vertex to another designates the ability of moving a disk from the first peg to the other, provided that the rules concerning the disk sizes are obeyed. There are five non-isomorphic graphs on three vertices, which are strongly connected - a sufficient condition for the existence of a solution to the problem. We provide optimal algorithms for the problem for all these graphs, and find the number of moves each requires.

Original languageEnglish
Pages (from-to)20-24
Number of pages5
JournalComputer Journal
Volume47
Issue number1
DOIs
StatePublished - 1 Jan 2004

ASJC Scopus subject areas

  • General Computer Science

Fingerprint

Dive into the research topics of 'The Tower of Hanoi with Forbidden Moves'. Together they form a unique fingerprint.

Cite this