Chapter 10/10.6Foundationabout 8 min
Special sequences
Arrange dots in triangles: 1 dot, then rows of 1 and 2 (3 dots), then rows of 1, 2 and 3 (6 dots). How many dots are in the 10th triangle? Now put the 3rd and 4th triangles together. What shape can you make?
The 10th triangle has 1 + 2 + ... + 10 = 55 dots. The 3rd and 4th triangles, 6 and 10 dots, fit together into a 4 by 4 square of 16 dots.
triangular number A triangular number is the number of dots in a triangle with rows of 1, 2, 3, ..., n dots. The triangular numbers are 1, 3, 6, 10, 15, 21, ..., and the nth is Tn = n(n + 1)/2.
The letter T is reused here: in work on triangular numbers, Tn always means the nth triangular number. The formula is Gauss's pairing again: two copies of the triangle make a rectangle n by n + 1, as you saw in Chapter 1.
Two consecutive triangular numbers make a square. For every n, Tn + Tn + 1 = (n + 1)2.
The picture is a proof: draw a square of (n + 1) by (n + 1) dots and cut it along a staircase line along the diagonal. One piece is a triangle with rows 1 to n + 1, the other is a triangle with rows 1 to n. With algebra: n(n + 1)/2 + (n + 1)(n + 2)/2 = (n + 1)(n + n + 2)/2 = (n + 1) × 2(n + 1)/2 = (n + 1)2.
Squares and cubes. The square numbers 1, 4, 9, 16, ... and the cube numbers 1, 8, 27, 64, ... come from Chapter 6. In Chapter 1 you proved that the sum of the first n odd numbers is n2. Cubes hide a pattern too: 13 = 1, 13 + 23 = 9, 13 + 23 + 33 = 36, and 36 is 62 = (1 + 2 + 3)2. Is the sum of the first n cubes always the square of a triangular number? It is, and the Olympiad corner will show you why.
Fibonacci numbers. In Chapter 5 you met Leonardo of Pisa and his sequence 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, ..., in which each term is the sum of the two before. Write Fn for the nth term. It is full of patterns. In Chapter 5 you proved that every third term is even. Here is another.
Add the first few Fibonacci numbers: 1, 1 + 1, 1 + 1 + 2, .... Find a pattern and prove it.
Solving the last digit problem. Return to the last digits of the Fibonacci numbers. Each new digit depends only on the two digits before it. So the sequence is completely decided by any pair of neighbouring digits. There are only 10 × 10 = 100 possible pairs. Among the first 101 pairs (first and second digit, second and third, and so on), some pair must therefore appear twice. This is an example of a simple but powerful idea.
The pigeonhole principle. If more than n objects are put into n boxes, at least one box contains more than one object.
Once a pair repeats, everything after it repeats too, so the sequence becomes periodic. But will it return to 1, 1 at the very start? Yes, because the rule also works backwards: from two neighbouring digits you can find the digit before them, by taking the first from the second, and adding 10 if the answer is negative. So if the pair in positions i, i + 1 equals the pair in positions j, j + 1, the pairs just before them are equal too, and stepping back again and again we reach the start. The pair 1, 1 must come back. Writing it out shows that it first returns after 60 terms: the last digits repeat in a cycle of length 60. The pigeonhole principle told us it must happen before we knew when.
Check your understanding 10.6
- Find the 20th triangular number. Is 210 a triangular number?
Show answerHide answer
T20 = 210. Yes. - Check that T7 + T8 = 64 by working out both.
Show answerHide answer
28 + 36 = 64 = 82. - Write the Fibonacci numbers up to F15 and use them to find F1 + F2 + ... + F13 without adding.
Show answerHide answer
1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610. The sum is F15 − 1 = 609. - A drawer has red, blue and black socks. How many must you take out in the dark to be sure of a matching pair? Explain with the pigeonhole principle.
Show answerHide answer
Four. There are 3 colours (boxes). With 4 socks, two must share a colour. Three socks could all differ.
