Arithmetic and Geometric Sequence Calculator

An arithmetic sequence adds the same number each time (5, 8, 11, 14, …); a geometric sequence multiplies by the same number each time (3, 6, 12, 24, …). Type the first term, the common difference or ratio, and how many terms you want. You get the nth term, the sum of the first n terms, the first few terms, and for a geometric sequence that shrinks, the sum of all its terms.

Fractions work: a ratio of −1/2 halves each term and flips its sign.

Sum of the first 10 terms
185 Arithmetic, d = 3

The 10th term is 32, and the first 10 terms add up to 185.

10th term (aₙ) 32
First terms 5, 8, 11, 14, 17, 20, 23, 26, 29, 32
As a fraction Whole number

How to find the nth term and the sum

In an arithmetic sequence the nth term is a₁ + (n − 1)d: start at the first term and add the difference n − 1 times. In a geometric sequence it is a₁ × rⁿ⁻¹. The sums have formulas too, so you don’t have to add every term. Here are your numbers:

aₙ = a₁ + (n − 1)d; Sₙ = n(a₁ + aₙ) ÷ 2

Here it is with your numbers:

  1. 10th term: a₁ + (n − 1)d, so 5 + 9 × 3 is 32
  2. Sum: n(a₁ + aₙ) ÷ 2, so 10 × (5 + 32) ÷ 2 is 185

It means 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, adding 3 each time, sum to 185.

Source OpenStax College Algebra 2e · 9.2 Arithmetic Sequences: the nth term ↗OpenStax College Algebra 2e · 9.3 Geometric Sequences: the nth term ↗OpenStax College Algebra 2e · 9.4 Series and Their Notations: sums of arithmetic and geometric series ↗

Infinite geometric series

When the ratio is between −1 and 1, each term is smaller than the one before, and adding them forever gives a finite total: a₁ ÷ (1 − r). 248.6 + 99.44 + 39.776 + … has r = 0.4, so it adds up to 248.6 ÷ 0.6, which is 414.33. When r is 1 or more (or −1 or less) the terms don’t shrink, and there is no finite total.

FAQs

What is the formula for sum of arithmetic sequences?

Sₙ = n(a₁ + aₙ) ÷ 2: the number of terms times the average of the first and last term. 5 + 8 + 11 + … + 32 has 10 terms, so the sum is 10 × (5 + 32) ÷ 2, which is 185.

Source OpenStax College Algebra 2e · 9.4 Series and Their Notations: sums of arithmetic and geometric series ↗

What is the sum of the numbers 1, 2, 3, 4, 5, 6, 7, 8, 9?

It is an arithmetic series with 9 terms, first term 1 and last term 9, so the sum is 9 × (1 + 9) ÷ 2, which is 45.

Is 2, 4, 8, 16 a geometric sequence?

Yes: each term is the one before times 2, so the common ratio is 2. 3, 6, 9, 12 and 5, 10, 15, 20 are not geometric (there is no common ratio): they are arithmetic, adding 3 and 5 each time.

Source OpenStax College Algebra 2e · 9.3 Geometric Sequences: the nth term ↗

Sources

Related calculators