Towers of Hanoi

Authors Avatar

Towers of Hanoi

 I am going to investigate the Hanoi Towers. The objective of the game is to move the discs from position A to positions B or C in the minimum number of moves where in one go you are only allowed to move one disc. I will vary the number of discs and record my results. I will make predictions and look for patterns. I will ultimately aim to find a formula for the number of moves it takes to move the tower from A to B or C.

Suppose you just had one disk. Then the method for moving that one disk from the starting spindle to the ending spindle is simple: just move it. It takes one step :

Join now!

Now suppose you had two disks. The obvious answer this time is to move the top disk "out of the way" to the third spindle, then move the bottom disk, then move the smaller disk back on top of it. This takes three steps.

Now suppose you had three disks. You can still do basically what you did for the two-disk case, except that you have a stack of two disks to move out of the way instead of just a single one. But fortunately, you already know how to move a stack of two disks. So all you ...

This is a preview of the whole essay