http://qs321.pair.com?node_id=401623


in reply to Re: Hanoi Challenge
in thread Hanoi Challenge

Good try. It works, but gains nothing in efficiency from using all pegs. Try it with 5 pegs and 4 disks. It takes 15 moves to finish - exactly the same as the 3 peg version. Try solving it by hand. You should have no problem finishing in 7 moves.

Can you find a way to have the program to benefit more from using all pegs?