Hostname: page-component-7b7567c8c-fvjsw Total loading time: 0 Render date: 2026-11-13T05:14:52.359Z Has data issue: false hasContentIssue false

Generalized multi-peg tower of hanoi problem

Published online by Cambridge University Press:  17 February 2009

Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

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.

Information

Type
Research Article
Copyright
Copyright © Australian Mathematical Society 1996