All concepts

11. Sequences and sum formulas

x counts TERMS, not values: sum of first x evens = x(x+1), first x odds = x^2.

Sum of the first x even numbers2468sum = x(x + 1) = 4 × 5 = 202 + 4 + 6 + 8 = 20. Check the formula on a tiny case.

Core ideas

- The counting formula counts TERMS, not values: count = (last - first)/step + 1. The +1 is where careless errors live.
- Sum of an evenly spaced run = (number of terms) * (first + last)/2.
- Shortcuts: the sum of the first x even integers is x(x+1); the sum of the first x odd integers is x^2. In both, x counts how many terms, not how big they get.
- For a recursive sequence, just crank out terms; patterns usually repeat within 4 to 6 steps.

Worked example 1

What is the sum of the first 25 positive even integers?

Show solution

The formula x(x+1) uses x = number of terms, so x = 25 (not 50, even though the terms run up to 50). Sum = 25 * 26 = 650. Sanity check with the general formula: 25 terms, first 2, last 50, sum = 25 * (2 + 50)/2 = 25 * 26 = 650. Same answer.

Worked example 2

How many multiples of 3 are there between 20 and 100, and what is their sum?

Show solution

First multiple of 3 past 20 is 21; last one before 100 is 99. Count = (99 - 21)/3 + 1 = 26 + 1 = 27 terms. Sum = count * average of endpoints = 27 * (21 + 99)/2 = 27 * 60 = 1620.

Practice set

Question 1

In an arithmetic sequence, the first term is 5 and each term after the first is 3 more than the previous term. What is the 20th term?






Question 2

What is the sum of the first 20 positive even integers?






Question 3

What is the sum of all even integers from 40 to 100, inclusive?






Question 4

For a positive integer n, the sum of the first n positive even integers exceeds the sum of the first n positive odd integers by 35. What is n ?