images/hanoi07s.gif Next Page
The Towers of Hanoi and Adventures in Mathematics
(page 111(2))


images/hanoi01t.gif Home Page
Previous Page
Next Page

How Many Moves Does it Take?
Before we can answer that we need to explore the powers of 2.
The Powers of 2
The powers of 2 are the series of numbers you create when you multiply 2 by itself numerous times as in:
	2 × 2 = 4
	2 × 2 × 2 = 8
	2 × 2 × 2 × 2 = 16
and so on. These are very important numbers. They are used in computers and in all sorts of other ways. They are very useful in a variety of games and puzzles, including the Towers of Hanoi. But once we start to multiply 2 by itself lots of times, it gets tedious to write all those 2 × 2 × ... so we have a notation (a way of writing) a power of 2.
	2 × 2 × ... (N times) = 2N
Here is a table of the powers of 2 up to N:

N 0 1 2 3 4 5 6 N
2N ? 2 4 8 16 32 64 2N

Now Back to Hanoi
Now let us compare the powers of 2 to the number of moves for the various tower sizes by putting them in a table together.

N 0 1 2 3 4 5 6 N
2N ? 2 4 8 16 32 64 2N
Tower Moves 0 1 3 7 15 31 63 ?

Looking at the table, it would appear that the number of moves required to solve a Towers of Hanoi puzzle of N rings is 2N - 1. At least that formula works for 1, 2, 3, 4, 5, and 6.

It would also appear that 20 would be 1, but we'll get back to that later.

In the meantime, is there a way to prove that our 2N - 1 works for all values of N?


hanoi07.qh - 1.6 - 05/10/03 images/hanoi01t.gif Home Page Previous Page Next Page