Published online by Cambridge University Press: 17 February 2009
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.