exercise 1
A list runs 7, 2, 12, 4, 1.
worked answer
- .
- .
Check it another way: The running totals are 7, 9, 21, 25, 26.
foundations
the puzzle
A square patio starts as one corner tile, its first edge. Each later edge wraps round the square so far and adds 2 more tiles than the edge before, so 1, then 3, then 5, then 7. How many tiles are there after 30 edges, without adding 30 numbers?
Add the first few edges, and look at each total.
names the total of a list's first terms, a partial sum. The table puts each total, added term by term, beside .
| term | by adding | ||
|---|---|---|---|
| 1 | 1 | 1 | 1 |
| 2 | 3 | 4 | 4 |
| 3 | 5 | 9 | 9 |
| 4 | 7 | 16 | 16 |
| 5 | 9 | 25 | 25 |
Edge 's tiles follow lesson 4.2's rule too, as .
From on, each total is the one before plus one term. So one term is a total take away the total just before it, and edge 4 adds .
The sum sign writes the patio as a loop. Its counter counts the edges up to , so edge adds and . It runs passes, 30 for .
A formula like that gives the total with no loop is a closed form. It takes one multiplication, whatever is. Lesson 4.4's was one too.
Test a closed form against the terms, row by row. One row where and the formula's column differ throws the formula out; rows that agree do not prove it.
Try the claim for the patio, using the table. At it gives 1, and at it gives 4, both right. At it gives 7, but , so the claim is wrong.
Test too. adds no terms, lesson 4.5's empty sum, so it is 0. No edges means no tiles, and agrees.
| 0 | 0 | 0 | |
|---|---|---|---|
| 1 | 1 | 1 | 1 |
| 2 | 4 | 4 | 4 |
| 3 | 9 | 9 | 7 |
Work each one out. Where there is a box, type your answer and check it. Each exercise's worked answer opens under it.
A list runs 7, 2, 12, 4, 1.
Check it another way: The running totals are 7, 9, 21, 25, 26.
The patio's closed form is .
Check it another way: The th edge adds tiles, and .
A formula claims the first terms of 2, 9, 16, 23 add up to .
Check it another way: At it gives , but , so it fails again.
is lesson 4.5's empty sum, 0. Test each claim at .
Check it another way: .