Course contentsShow
← Mathematics
Lesson 657 of 3,12116. Sequences and Series (Precalculus)Free lesson

Finding the Number of Terms in a Finite Sequence

Use the explicit formula to determine how many terms exist between the first and last term of an arithmetic sequence.

Finding the Number of Terms in a Finite Sequence

What you'll learn: How to calculate exactly how many terms exist between the first and last term of an arithmetic sequence.

The Core Idea

Imagine you're counting fence posts along a road where they're evenly spaced. If you know the position of the first post, the last post, and the spacing between them, you can figure out exactly how many posts there are—even if you can't see them all.

In an arithmetic sequence, we already know the explicit formula:

a_n = a₁ + (n - 1)d

where a_n is the nth term, a₁ is the first term, d is the common difference, and n is the term number (which tells us how many terms).

To find the number of terms when you know the first term, last term, and common difference, you simply solve for n.

How It Works

Start with the explicit formula and substitute what you know:

  • Replace a_n with your last term
  • Replace a₁ with your first term
  • Replace d with your common difference

Then solve for n:

  1. Last term = First term + (n - 1) × common difference
  2. Last term - First term = (n - 1) × common difference
  3. (Last term - First term) / common difference = n - 1
  4. n = [(Last term - First term) / common difference] + 1

Example

How many terms are in the sequence: 5, 8, 11, 14, ..., 59?

  • First term = 5, Last term = 59, Common difference = 3
  • n = (59 - 5)/3 + 1 = 54/3 + 1 = 18 + 1 = 19 terms

Key Takeaway: To find the number of terms in a finite arithmetic sequence, use the rearranged explicit formula: n = (Last term - First term)/Common difference + 1.