• Foundation
  • About 16 min
  • 5 practice questions

Surprising links between sequences

Use sums and pictures to see why adding odd numbers gives squares, why adding counting numbers gives triangular numbers, and other links among sequences.

If something looks wrong, please tell us.

By the end of this lesson you can

  • Find the sum of the first n odd numbers quickly and explain it with a picture.
  • Add counting numbers 'up and down' and get a square number.
  • Connect triangular numbers, powers of 2, hexagonal numbers and cubes through sums.

Sequences are not strangers to each other. Adding up the terms of one sequence often produces another famous sequence. Finding such a link is exciting, but a mathematician also asks: will it go on for ever, and why? Pictures usually give the answer.

Adding odd numbers gives squares

Start adding the odd numbers: 1 = 1, 1 + 3 = 4, 1 + 3 + 5 = 9, 1 + 3 + 5 + 7 = 16, 1 + 3 + 5 + 7 + 9 = 25. Every answer is a square number. Why? Take a square of dots and split it into L-shaped layers starting from one corner. The corner is 1 dot, the next L-shape has 3 dots, the next has 5, then 7, and so on. Each L-shape is 2 dots bigger than the last because it is one dot longer on each arm. Since this can be done for a square of any size, the pattern never stops.

1 + 3 + 5 + … (the first n odd numbers) = n × n

Worked example 1: a long sum in one step

Find 1 + 3 + 5 + … + 29. How many odd numbers are there? The nth odd number is 2 × n − 1, so 2 × n − 1 = 29 gives 2 × n = 30 and n = 15. The sum is 15 × 15 = 225. Check with a smaller case: 1 + 3 + 5 has 3 terms and equals 9 = 3 × 3 ✓.

Adding up and then down

Another route to the squares: 1 = 1, 1 + 2 + 1 = 4, 1 + 2 + 3 + 2 + 1 = 9, 1 + 2 + 3 + 4 + 3 + 2 + 1 = 16. Picture a square of dots tilted like a diamond: its rows have 1, 2, 3, … dots going up to the middle and then fewer going down. So adding 1 up to n and back down to 1 gives n × n.

Worked example 2: up to 20 and back

1 + 2 + 3 + … + 19 + 20 + 19 + … + 3 + 2 + 1 climbs to 20, so it equals 20 × 20 = 400. Check a small case: 1 + 2 + 3 + 2 + 1 = 9 = 3 × 3 ✓.

More links

Sequences built by adding other sequences
What we addResultsSequence we get
The all 1's sequence: 1, 1 + 1, 1 + 1 + 1, …1, 2, 3, 4, …Counting numbers
All 1's up and down: 1, 1 + 1 + 1, 1 + 1 + 1 + 1 + 1, …1, 3, 5, …Odd numbers
Counting numbers: 1, 1 + 2, 1 + 2 + 3, …1, 3, 6, 10, …Triangular numbers
Neighbouring triangular numbers: 1 + 3, 3 + 6, 6 + 10, …4, 9, 16, …Squares
Powers of 2: 1, 1 + 2, 1 + 2 + 4, …, then add 12, 4, 8, 16, …Powers of 2 again
6 × a triangular number + 17, 19, 37, 61, …Hexagonal numbers
Hexagonal numbers: 1, 1 + 7, 1 + 7 + 19, …1, 8, 27, 64, …Cubes

Why do two neighbouring triangular numbers make a square? Draw a square of dots and cut it along a staircase just above the diagonal: one piece is a triangle with rows 1, 2, 3, …, and the other is a slightly smaller triangle. Why does 6 × triangular + 1 give a hexagonal number? A hexagon of dots is a centre dot plus 6 equal triangular slices around it. And three faces of a cube seen from one corner look like a hexagon, which is why stacking hexagonal layers builds cubes.

Worked example 3: powers of 2

Find 1 + 2 + 4 + 8 + 16 + 32. Step by step: 1 + 2 = 3, 3 + 4 = 7, 7 + 8 = 15, 15 + 16 = 31, 31 + 32 = 63. Notice 63 + 1 = 64, the next power of 2. The reason: adding 1 to 1 + 2 + 4 + … makes 1 + 1 = 2, then 2 + 2 = 4, then 4 + 4 = 8, and so on, each step doubling, until we reach 32 + 32 = 64.

Testing a pattern you have found

  1. Spot it Work out the first few cases.
  2. Check more cases Does it still hold for the 6th or 7th case?
  3. Explain it Find a picture or reason that works for every size.
  4. Use it Answer big questions, like the sum of 100 odd numbers, in one step.

Key takeaways: the sum of the first n odd numbers is n × n; adding 1 up to n and back down also gives n × n; adding counting numbers gives triangular numbers; two neighbouring triangular numbers make a square; and 1 + 2 + 4 + … is always one less than the next power of 2. A picture that works for every size explains why a pattern goes on for ever.

Check your understanding

  1. 1. What is 1 + 3 + 5 + … + 23?

    1. 144
    2. 121
    3. 132
    4. 156
    Show answer

    Answer: A. 23 is the 12th odd number, because 2 × 12 − 1 = 23. The sum of the first 12 odd numbers is 12 × 12 = 144.

  2. 2. What is 1 + 2 + 3 + … + 8 + 9 + 8 + … + 3 + 2 + 1?

    1. 45
    2. 90
    3. 81
    4. 72
    Show answer

    Answer: C. Adding up to 9 and back down gives a square number: 9 × 9 = 81.

  3. 3. What do you get when you add the neighbouring triangular numbers 21 and 28?

    1. 48
    2. 47
    3. 50
    4. 49
    Show answer

    Answer: D. 21 + 28 = 49, which is 7 × 7, a square number. Two neighbouring triangular numbers always add up to a square.

  4. 4. What is 1 + 2 + 4 + 8 + 16 + 32 + 64?

    1. 128
    2. 127
    3. 126
    4. 63
    Show answer

    Answer: B. The sum is always one less than the next power of 2. The next power after 64 is 128, so the sum is 128 − 1 = 127. Check: 63 + 64 = 127.

  5. 5. Multiply the triangular number 15 by 6 and add 1. Which hexagonal number do you get?

    1. 91
    2. 90
    3. 96
    4. 61
    Show answer

    Answer: A. 6 × 15 = 90 and 90 + 1 = 91. The hexagonal numbers are 1, 7, 19, 37, 61, 91, so 91 is the sixth.

Sign in to keep track of the lessons you finish.

Next lesson → Shape sequences

Privacy · Terms · Refunds · Delivery