Move 3 discs from A to C by hand, as the method does.
Write every move as disc, from and to.
How many times does each disc move?
Check the total against .
a hint
First move discs 1 and 2 to B, using C to help. Then disc 3, then discs 1 and 2 back onto it.
a worked answer
1 A to C, 2 A to B, 1 C to B, 3 A to C, 1 B to A, 2 B to C, 1 A to C. Disc 1 moves 4 times, disc 2 twice and disc 3 once. That is 7, one less than 8, which is 2 to the power 3.
Suppose a tower of 64 discs is moved one disc a second. A friend says a computer making a billion moves a second would finish in a day.
How many moves do 64 discs take?
About how many years is that at one move a second?
How long does the computer take, and where does your friend go wrong?
a hint
Use , the learn page's count. A year of 365 days is 31,536,000 seconds.
a worked answer
64 discs take 2 to the power 64, less 1, moves, which is 18,446,744,073,709,551,615. Divided by 31,536,000 seconds a year, that is about 585 billion years. A billion times faster is about 585 years, not a day. A billion times faster makes up for only 30 discs, as 2 to the power 30 is about a billion.
Question 1: how many moves, , does the method make for discs, from 1 up?10 of 10 shown
1the move: the rule
the line:
why it is allowed: To move discs, the method moves the above the biggest out of the way, moves the biggest once, and moves the back on top. For 3 discs, 3 moves, then 1, then 3, which is 7.
2the move: each disc in turn
the line:
3 discs
first half
middle
second half
moves
1 to 3
4
5 to 7
which disc
1, 2, 1
3
1, 2, 1
From the run. Disc 3 moves once, in the middle. Each half moves discs 1 and 2 as a tower, so disc 2 moves twice and disc 1 four times.
why it is allowed: By line 1, disc moves once, in the middle, and the tower above it moves twice. In each of those, disc is the biggest and moves once, so twice in all. Each splits the same way, so the third biggest disc moves 4 times, and on.
guess it, then
3the move: add them up
the line:
why it is allowed: By line 2, disc moves once, disc twice, and on, doubling each time, down to disc 1. Disc 1 is doublings from disc , so it moves times. For 3, 1 + 2 + 4.
guess it, then
4the move: add the doublings
the line:
where does this come from?
question 1 of the page doubling and halving sumsAdd . What is the total?
1the move: name the sum
the line:
why it is allowed: Let be the doubling sum up to . For as 3, it is 1 + 2 + 4 + 8.
2the move: double both sides
the line:
why it is allowed: Each term doubled is the next one along, and becomes . Doubling both sides keeps them equal. The plan: the two sums share all but their ends.
3the move: take line 1 away
the line:
why it is allowed: Take from both sides of line 2. On the right, write out as line 1 does.
4the move: tidy the left side
the line:
why it is allowed: Two lots of less one lot is one lot.
5the move: cancel what both brackets share
the line:
when n is 3
1
2
4
8
16
first bracket
2
4
8
16
second bracket
1
2
4
8
left over
take away 1
16
Line 4 when is 3. The 2, 4 and 8 cancel, leaving 16 less 1, which is 15.
why it is allowed: Every term from 2 to is in both brackets and cancels, leaving less 1.
6the move: the terms before the last
the line:
why it is allowed: The sum of line 5 stopping one term sooner: line 5 with for . For 3, it is 1 + 2 + 4. At as 0 no terms are left, adding to 0, and 2 to the power 0, less 1, is 0 too.
7the move: tidy the power
the line:
why it is allowed: One more than is . For 3, 1 + 2 + 4 is 7, one less than 8.
8the move: read it
the line:
why it is allowed: By lines 6 and 7, the terms before the last add to one less than it: the last outweighs them all. By line 5 the sum is under , twice the last.
why it is allowed: The box under this line shows a doubling sum from 1 is one less than its next term. Its lines 6 and 7 take this sum, ending at , to . For 3, 1 + 2 + 4 is 7, one less than 8.
guess it, then
5the move: a ceiling
the line:
why it is allowed: By line 4, is , 1 less than . For 3, 7 is at most 8.
guess it, then
6the move: read the bound
the line:
why it is allowed: By line 5, with the fixed multiple 1. means at most a fixed multiple of , from some on.
guess it, then
7the move: split the power
the line:
why it is allowed: By line 4, is , and is twice over, so take the 1 from the second. For 3, 7 is 4 plus 3.
guess it, then
8the move: a floor
the line:
1
1
1
2
2
2
3
4
3
4
7
8
10
512
1,023
1,024
sits between half of and . Row 10 is section 7's count.
why it is allowed: The bracket in line 7 is at least 0, as is at least 1. For 3, 7 is at least 4.
guess it, then
9the move: read the bound
the line:
why it is allowed: By line 8. is half of , so the fixed multiple is a half. means at least a fixed multiple, above 0, from some on.
guess it, then
10the move: both together
the line:
why it is allowed: Lines 6 and 9 bound by the same growth, , from above and below. By line 1, one more disc doubles the moves and adds 1.
guess it, then
try it with a small : at , line 3 gives , which you can work out by hand