In class we discussed the game, the Tower of Hanoi. It’s a fairly simple game to play. There are three pegs (usually), with different sized disks on one peg. The object of the game is to move all the disks from one peg to another, one disk at a time, and a larger disk cannot be put on a smaller one.
In class, we discussed how do we know we’re finishing the game in the smallest amount of moves. The way to explain this is to play the game with three pegs. When playing the game with three disks, the least amount moves one can make is 7. We know this is the smallest amount because when played with two disks, the move amount is 3. Now, let’s have the number of moves for two disks be represented by
, and the moves made by three disks represented by
.
When you play with three disks, you automatically have to make three moves to get the top two disks on to another peg to make the third peg free for the third disk. Then move the third disk, and make the same beginning three moves, only in reverse, to get all disks on one peg. So, you make the same three moves twice, and move the final disk once, giving you:
.
No matter how you analyze it, this is the best mathematical explanation to show we’re making the least amount of moves.
Pascal’s, Sierpinski, ToH
At first glance of Pascal’s Triangle, Sierpinski’s Gasket, and the Tower of Hanoi graph, one may not see the resemblance. However, if you look at the ToH graph and Pascal’s Triangle side by side very closely, you can see a great resemblance. An even greater resemblance is seen between the Tower of Hanoi graph and Sierpinski’s Gasket. The two triangle setups are virtually identical. But why is this? Also, as I browsed through fellow classmates’ blogs, Matt Huberman made a nice little discovery in his September 10 post. When you have Pascal’s Triangle written up, if you add all the number in a line and ignore the last 1, it equals the least number of moves needed to complete a game of Tower of Hanoi with
number of disks. Why is this? Did Pascal do this on purpose? I think it may be possible. I think Pascal was able to see something we can’t, and while creating his Triangle, he incorporated it with the Tower of Hanoi graph.
Filed under: Uncategorized | Leave a Comment »