A study of the recursive algorithm for solving the tower of Hanoi problem on the basis of permutations
Автор: Tyurin S.F.
Журнал: Вестник Пермского университета. Математика. Механика. Информатика @vestnik-psu-mmi
Рубрика: Информатика. Информационные системы
Статья в выпуске: 1 (40), 2018 года.
Бесплатный доступ
The paper analyzes a system of permutations describing the recursive algorithm for solving the problem of the Tower of Hanoi. It is shown that for the three rods there are 6 possible permutations of the variables denoting the rods and their global and local meaning. Examples of permutations in the problem for one, two and three disks are given.
Tower of hanoi, recursion, permutations
Короткий адрес: https://sciup.org/147245358
IDR: 147245358 | DOI: 10.17072/1993-0550-2018-1-56-61