A study of the recursive algorithm for solving the tower of Hanoi problem on the basis of permutations

Бесплатный доступ

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

Статья научная