On generalized Frame-Stewart numbers
For the multi-peg Tower of Hanoi problem with pegs, so far the best solution is obtained by the Stewart's algorithm based on the the following recurrence relation: , . In this paper, we generalize this recurrence relation to , , for two sequences of arbitrary positive integers and and we show that the sequence of differences consists of numbers of the form , with for all , arranged in nondecreasing order. We also apply this result to analyze recurrence relations for the Tower of Hanoi problems on several graphs.