Skip to content

a formula in place of adding

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?

a worked example

Add the first few edges, and look at each total.

  1. The tiles each edge adds, 1, 3, 5, 7, form a list. Added up, 1+3+5+71 + 3 + 5 + 7, the list is a series.
  2. The running totals are 1, then 1+3=41 + 3 = 4, then 4+5=94 + 5 = 9, then 9+7=169 + 7 = 16. Each one is a number squared, 121^2, 222^2, 323^2 and 424^2.
  3. Edge 4 runs 3 tiles up the right side, 3 along the top and 1 in the corner between them, 7 in all. Edge nn runs n−1n - 1 up, n−1n - 1 along and 1 in the corner, (n−1)+(n−1)+1=2n−2+1=2n−1(n - 1) + (n - 1) + 1 = 2n - 2 + 1 = 2n - 1 tiles.
  4. So edge nn turns an n−1n - 1 by n−1n - 1 square into an nn by nn square, as the shaded edges show. After nn edges there are n2n^2 tiles.
  5. After 30 edges there are 302=90030^2 = 900 tiles, with no adding at all.
1357
Four edges of 1, 3, 5 and 7 tiles, yellow and blue in turn from the corner, fill a 4 by 4 square of 16.

how it works

SnS_n names the total of a list's first nn terms, a partial sum. The table puts each total, added term by term, beside n2n^2.

nnterm 2n−12n - 1SnS_n by addingn2n^2
1111
2344
3599
471616
592525
Adding term by term and squaring give the same total in every row here.

Edge nn's 2n−12n - 1 tiles follow lesson 4.2's rule too, as 1+(n−1)×2=1+2n−2=2n−11 + (n - 1) \times 2 = 1 + 2n - 2 = 2n - 1.

From S2S_2 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 S4−S3=16−9=7S_4 - S_3 = 16 - 9 = 7.

The sum sign writes the patio as a loop. Its counter kk counts the edges up to nn, so edge kk adds 2k−12k - 1 and Sn=∑k=1n(2k−1)S_n = \sum_{k=1}^{n} (2k - 1). It runs nn passes, 30 for S30S_{30}.

A formula like n2n^2 that gives the total with no loop is a closed form. It takes one multiplication, whatever nn is. Lesson 4.4's ∑k=1nc=c×n\sum_{k=1}^{n} c = c \times n was one too.

in symbols

Test a closed form against the terms, row by row. One row where SnS_n and the formula's column differ throws the formula out; rows that agree do not prove it.

Try the claim Sn=3n−2S_n = 3n - 2 for the patio, using the table. At n=1n = 1 it gives 1, and at n=2n = 2 it gives 4, both right. At n=3n = 3 it gives 7, but S3=9S_3 = 9, so the claim is wrong.

Test n=0n = 0 too. S0S_0 adds no terms, lesson 4.5's empty sum, so it is 0. No edges means no tiles, and 02=00^2 = 0 agrees.

nnSnS_nn2n^23n−23n - 2
000−2-2
1111
2444
3997
The claim 3n−23n - 2 matches at 1 and 2, then fails at 3, and at 0 too.

your turn

Work each one out. Where there is a box, type your answer and check it. Each exercise's worked answer opens under it.

exercise 1

A list runs 7, 2, 12, 4, 1.

A number, like 13, 9.5 or 19/2.

A number, like 13, 9.5 or 19/2.

worked answer
  1. S2=7+2=9S_2 = 7 + 2 = 9.
  2. S5=7+2+12+4+1=26S_5 = 7 + 2 + 12 + 4 + 1 = 26.

Check it another way: The running totals are 7, 9, 21, 25, 26.

exercise 2

The patio's closed form is Sn=n2S_n = n^2.

A number, like 13, 9.5 or 19/2.

A number, like 13, 9.5 or 19/2.

worked answer
  1. After 25 edges there are 252=62525^2 = 625 tiles.
  2. After 24 there are 242=57624^2 = 576, so the 25th edge adds 625−576=49625 - 576 = 49.

Check it another way: The nnth edge adds 2n−12n - 1 tiles, and 2×25−1=492 \times 25 - 1 = 49.

exercise 3

A formula claims the first nn terms of 2, 9, 16, 23 add up to Sn=2n2S_n = 2n^2.

A number, like 13, 9.5 or 19/2.

The claim is:

worked answer
  1. At n=1n = 1 the claim gives 2×12=22 \times 1^2 = 2, and S1=2S_1 = 2. It holds.
  2. At n=2n = 2 it gives 2×22=2×4=82 \times 2^2 = 2 \times 4 = 8, but S2=2+9=11S_2 = 2 + 9 = 11. One failure, so the claim is wrong.

Check it another way: At n=3n = 3 it gives 2×32=182 \times 3^2 = 18, but S3=2+9+16=27S_3 = 2 + 9 + 16 = 27, so it fails again.

exercise 4

S0S_0 is lesson 4.5's empty sum, 0. Test each claim at n=0n = 0.

The claim that fails this test:

A number, like 13, 9.5 or 19/2.

worked answer
  1. At n=0n = 0, 02=00^2 = 0 and 5×0=05 \times 0 = 0, so those two pass.
  2. (0−1)2=(−1)2=1(0 - 1)^2 = ({-1})^2 = 1, not 0, so Sn=(n−1)2S_n = (n - 1)^2 fails.

Check it another way: (−1)2=(−1)×(−1)=1({-1})^2 = ({-1}) \times ({-1}) = 1.