AThat is the next term, 2 to the power 6. The sum is one less.
BThat is the fewest, one cell a row.
CThat allows 2 a row, but each row can hold twice the row below.
pen and paper
5question 5about 8 minutes
Run the method by hand on three items in a bag that holds 4. A weighs 2 and is worth 20, B weighs 1 and is worth 15, and C weighs 3 and is worth 35.
List the cells it asks for, from the last cell down, and work each out.
What is the most value, and how many cells did it work out?
Which of the table's 12 cells are never asked for, and why?
a hint
A cell asks the row above for its own room and, when its item fits, for the room the item leaves. No items, or no room, holds 0.
a worked answer
C at 4 asks B at 4 and B at 1. B at 4 asks A at 4 and A at 3, and each holds 20, as A fits. So B at 4: leave B, 20; take B, 15 + A at 3's 20, which is 35. B at 1 asks A at 1, which is 0 as A is too heavy, and A at 0, so take B: 15. C at 4: leave C, B at 4's 35; take C, 35 + B at 1's 15, which is 50. 6 cells, against the table's 12. Never asked: A at 2, B at 2 and 3, and C at 1, 2 and 3. Row C is asked only for the whole bag. B is asked for 4, and 4 less C's 3. A is asked for 4 and 3 from B at 4, and 1 from B at 1.
item
1
2
3
4
A
0
-
20
20
B
15
-
-
35
C
-
-
-
50
The cells asked for, A, B and C in a bag that holds 4. A dash is never asked. The last cell holds 50.
A at 2, B at 2 and 3, and C at 1 to 3: no ask leads to them.
6question 6about 6 minutes
A radio host fills a show from 20 songs, each a whole number of seconds long and each worth some number of votes. The show's length in seconds is the room.
However long the show, at most how many cells can the method work out?
For a show of 1,000 seconds the table fills 20 times 1,000 cells. Why can this method never work out more?
How long must the show be before 1,048,575 is fewer than the table's 20 times its length?
a hint
Question 3 of the learn page's section 4 counts the rows.
a worked answer
At most 1 + 2 + 4 and on to 2 to the power 19, which is 2 to the power 20 less 1: 1,048,575. Every cell asked for is a cell of the table, so at 1,000 seconds at most 20,000. 20 times the length passes 1,048,575 from 52,429 seconds, as 20 times 52,428 is 1,048,560.
Question 3: with items, at most how many cells, , can the method work out, however big the bag?5 of 5 shown
1the move: row by row
the line:
why it is allowed: By question 1's lines 1 and 2, the last row is asked for 1 room, and each row above for at most twice the row below. With 3 items, 1, 2 and 4.
2the move: big items, big bag
the line:
items taken below A
their weight
room left for A
none
0
4
C
1
3
B
2
2
B and C
3
1
Items weighing 4, 2 and 1 in a room of 4. Each choice of B and C takes a different weight, so row A is asked for 4 different rooms. With 1 room in row C and 2 in row B, 1 + 2 + 4, which is 7 cells.
why it is allowed: From the last item, weights 1, 2, 4 and on, in a bag of or more. The items below row A can weigh 0, 1, 2 and on, up to one less than in all, each total in just one way. So no room is asked twice, and each is at least 1. B, C and the rest fit every room they are asked for, so each of their cells asks twice; A's asks reach only the row of no items. With 3 items weighing 4, 2 and 1, a room of 4 is enough.
guess it, then
3the move: add the rows
the line:
why it is allowed: By lines 1 and 2, the most is every row at its most. With 3 items, 1 + 2 + 4.
guess it, then
4the move: use the doubling sum
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 items, 1 + 2 + 4 is 7, one less than 8.
guess it, then
5the move: against the table
the line:
why it is allowed: Each cell asked for is a cell of the table, so the method never works out more than : in a small bag that is the tighter limit. With 20 items, never more than 1,048,575. Reaching it needs row A's 524,288 different rooms, each from 1 to , so a room of 524,288 or more.
guess it, then
try it with a small : at , line 3 gives , which you can work out by hand