Skip to content
Omnikalc

Sequence calculator: nth term and sum of an arithmetic or geometric sequence

Get the nth term and the sum of the first n terms of an arithmetic or geometric sequence, and the infinite sum when it converges.

Updated on
Your inputs
Type

Value out of range

Value out of range

Value out of range

Value out of range

Results

nth term

39.0000

Sum of the first n terms

210.0000

Second term
7.0000
Third term
11.0000
Infinite sum (geometric, |r| < 1)
0.0000
Not applicable An arithmetic series with d ≠ 0 grows without limit.

Terms and sums for other n

nth termSum of the first n terms
n = 1 current3.00003.0000
n = 2 current7.000010.0000
n = 5 current19.000055.0000
n = 10 current39.0000210.0000
n = 20 current79.0000820.0000
n = 50 current199.00005,050.0000

Arithmetic and geometric sequences

A sequence is an ordered list of numbers built by a rule. The two most common rules are:

  • Arithmetic: add the same number each time, the common difference d. Example: 3, 7, 11, 15… with d = 4.
  • Geometric: multiply by the same number each time, the common ratio r. Example: 3, 6, 12, 24… with r = 2.

Arithmetic sequences model steady change, such as a salary rising by a fixed amount; geometric sequences model percentage change, such as compound interest or population growth.

The formulas

Arithmetic

  • nth term: aₙ = a₁ + (n − 1) × d
  • Sum of the first n terms: Sₙ = n ÷ 2 × (2a₁ + (n − 1) × d) = n × (a₁ + aₙ) ÷ 2

Geometric

  • nth term: aₙ = a₁ × rⁿ⁻¹
  • Sum of the first n terms: Sₙ = a₁ × (1 − rⁿ) ÷ (1 − r), or n × a₁ if r = 1
  • Infinite sum, only when |r| < 1: S = a₁ ÷ (1 − r)

Worked example: arithmetic, a₁ = 3, d = 4

  1. Tenth term: 3 + 9 × 4 = 39.
  2. Sum of the first 10 terms: 10 ÷ 2 × (6 + 36) = 210.
  3. The young Gauss’s trick is the same idea: 1 + 2 + … + 100 = 100 × 101 ÷ 2 = 5,050.

Worked example: geometric, a₁ = 3, r = 2

  1. Tenth term: 3 × 2⁹ = 1,536.
  2. Sum of 10 terms: 3 × (1 − 1,024) ÷ (1 − 2) = 3,069.
  3. With r = 0.5 instead, the terms shrink (3, 1.5, 0.75…) and the infinite sum is 3 ÷ 0.5 = 6.

Terms and sums (arithmetic example)

n aₙ Sₙ
1 3 3
2 7 10
5 19 55
10 39 210
20 79 820
50 199 5,050

Telling them apart

Subtract consecutive terms: if the differences are constant, the sequence is arithmetic. Divide consecutive terms: if the ratios are constant, it is geometric. A sequence such as 1, 4, 9, 16 is neither; it is the sequence of squares.

Practical uses

  • Savings plans: setting aside $50 more each month is arithmetic; the total after a year is a sum of 12 terms.
  • Interest and inflation: a value growing 3% a year follows a geometric sequence with r = 1.03.
  • Depreciation: a car losing 15% a year keeps 0.85 of its value each year.
  • Repeating decimals: 0.333… = 0.3 + 0.03 + … is a geometric series with sum 0.3 ÷ 0.9 = 1/3.

Frequently asked questions

What is the formula for the nth term of an arithmetic sequence?

aₙ = a₁ + (n − 1) × d. With a₁ = 3 and d = 4, the 10th term is 3 + 9 × 4 = 39.

How do you find the sum of an arithmetic sequence?

Multiply the number of terms by the average of the first and last terms: Sₙ = n × (a₁ + aₙ) ÷ 2.

What is the sum of a geometric sequence?

Sₙ = a₁ × (1 − rⁿ) ÷ (1 − r) for r ≠ 1. With a₁ = 3 and r = 2, the first 10 terms add up to 3,069.

When does an infinite geometric series converge?

Only when the ratio is between −1 and 1. The sum is then a₁ ÷ (1 − r): 1 + 1/2 + 1/4 + … = 2.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.