J Austral Math Soc Ser B 38 pp201--208, 1996.

Generalized multi-peg Tower of Hanoi problem

A. A. K. Majumdar

(Received 25 May 1994; revised 28 August 1994)

Abstract

This paper treats the multi-peg generalization of the Tower of Hanoi problem with n (³ 1) disks and p (³ 3) pegs, P1, P2, ¼, Pp . Denoting by M(n, p) the presumed minimum number of moves required to transfer the tower of n disks from the source peg, P1, to the destination peg, Pp, under the condition that each move transfers the topmost disk from one peg to another such that no disk is ever placed on top of a smaller one, the Dynamic Programming technique has been employed to find the optimality equation satisfied by M(n, p). Though an explicit expression for M(n, p) is given, no explicit expressions for the partition numbers (at which M(n, p) is attained) are available in the literature for p ³ 5. The values of the partition numbers have been given in this paper.

Browse the article

Read the article in your browser. (Print at 75% on A4 paper).

Author

A. A. K. Majumdar
Department of Mathematics, Jahangirnagar University, Savar, Dhaka 1342, Bangladesh.