cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The decision of a puzzle 'Hanoi towers' in Mathcad

ValeryOchkov
Ruby I

The decision of a puzzle 'Hanoi towers' in Mathcad

I search the solution of this old puzzles without the using the array but with record the data on the disk.

Valery Ochkov

http://twt.mpei.ac.ru/ochkov

1 REPLY 1

Essence of a puzzie 'Hanoi towers' in Mathcad

Essence of a puzzle. There are three cores, on first of which (it is marked as a) the disks on manners of a children's pyramid are dressed on: the largest disk below - smallest above. It is offered to shift these disks on the second core (c), having taken them on one and not having put the large disk on small. For temporary warehousing it is authorized to use the third disk (b). The program needs to be informed only number of disks in a pyramid n.
Valery Ochkov
http://twt.mpei.ac.ru/ochkov
Announcements
Check out the latest
Mathcad Tip
"PTC Mathcad 15 / Prime 1-6 Update."