In the Tower of Hanoi problem, there is six types of moves between the three pegs. The main purpose of the present paper is to find out the number of each of these six elementary moves in the optimal sequence of moves. We present a recursive function based on indicator functions, which counts the number of each elementary move, we investigate some of its properties including combinatorial identities, recursive formulas and generating functions. Also we found and interesting sequence that is strongly related to counting each type of these elementary moves that we'll establish some if its properties as well.
翻译:在河内塔问题中,在三个阶梯之间有六种移动。本文件的主要目的是在最佳移动顺序中找出这六种基本移动的每一个次数。我们根据指标函数显示一个循环函数,该函数计算每一基本移动的次数,我们调查其中的一些属性,包括组合身份、递归公式和生成函数。我们发现并且有趣的顺序与计算这些基本移动的每一种类型密切相关,如果这些基本动作的特性也存在的话,我们会确定其中的一些。