How many moves do you need to move 50 disks from one peg to another? Rules: There are three pegs. You can only move one disk at a time. You are not allowed to place a larger disk on top of a smaller disk.
This was a fun problem. I've seen this puzzle several times before, but never taken the time to solve it. It was rewarding to conquer it!
I began with smaller towers and worked my way up. Figuring out how many
steps it takes to get a particular disc off the tower and back onto the
right place just took trial and error with manipulating the slips of paper
I was using. I don't know exactly why it takes 8 moves to get down to the
4th disc (for example), but I was able to develop a pattern for how many
moves are required and I built on that. At first, I was just counting how
many total moves it took for different towers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| To get: | 1 off | 2 off | 3 off | 4 off | 5 off/on | 4 on | 3 on | 2 on | 1 on |
| cumulative # moves | 1 | 2 | 4 | 8 | 16 | 24 | 28 | 30 | 31 |
| To get: | 1 off | 2 off | 3 off | 4 off | 5 off/on | 4 on | 3 on | 2 on | 1 on |
| cumulative # moves | 1 | 2 | 4 | 8 | 16 | 24 | 28 | 30 | 31 |
| # moves at step | 1 | 1 | 2 | 4 | 8 | 8 | 4 | 2 | 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
But this is a very cumbersome formula. Notice, however that there are always two appearances of every term. So, we can simplify somewhat by expressing 2x + 2x as 2*2x or 2x+1. This gives us a new summation seqence:
Before continuing, let's verify this formula with a few known sums:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
At this point, I was still playing with summing particular sequences of numbers using collapsing pairs. I found that for n=6, (TH)6 = 62 +1 = 64 -2 +1 = 26 -2 +1 = 26 -1. So, I made the guess, (TH)n = 2n -1. So, now my question was: Does 2n -1 = 1 + 21 + 22 +23+...+2n-2+ 2n-1? I decided the best approach was to continue trying to collapse my summation. Here I returned to our familiar method of summing terms from opposite ends of the sequence.
Notice that each pair sums to 2n-1. We can use what we've
learned before to figure out how many times this sum appears. Counting
from zero to n-1 gives us n terms, or n/2 pairs. So, (TH)n
= 2n-1(n/2). But this can be simplified as well, because 2n-1/2
is equivalent to 2n-2. So, (TH)n = n*2n-2.
Before I continue with this formula, let's verify it for a few known sums:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Now, we should get the formula (TH)n = 20 + 2n(n-1)/2.
Again, let's try to verify the results.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Let's go back to the guess of (TH)n = 2n -1 and
try to verify those values.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Now, the major question is: Why should they be equivalent? or Where does 2n -1 come from? Let's play around with some numbers here. Let's assume that the two expressions are equivalent:
SUMMARY OF SOLUTIONS: