Skip to content

How do you find the nth term and the sum of a sequence?

The nth term and the sum of an arithmetic or geometric sequence, drawn term by term.

Sequence

Term number 10

29

2, 5, 8, 11, 14, …: the first 10 terms add up to 155.

Key values as a table
nTermRunning total
122
257
3815
41126
51440
61757
72077
823100
926126
1029155
Sum of the first 10
S₁₀ = 155
Common difference
d = 3
Formula

a₁₀ = a₁ + (n − 1)d = 2 + 9 × 3 = 29

The nth term and the sum of an arithmetic or geometric sequence, drawn term by term.

How to use

  1. Choose arithmetic (the same number added each step) or geometric (each step multiplied by the same number).
  2. Type the first term, the difference or ratio, and n: which term you want and how many terms to add up.
  3. Read the nth term, the sum and the formula. Drag the first two bars to change a₁ and the step, or the marker on the axis to change n.

Sum of 1 + 2 + 3 + … + n

nSum
1055
501,275
1005,050
1,000500,500

How it works

A sequence is a list of numbers that follows a rule. In an arithmetic sequence you add the same difference d each time (2, 5, 8, 11, …, d = 3); in a geometric one you multiply by the same ratio r (2, 1, 0.5, 0.25, …, r = 0.5). The rule lets you jump straight to any term without writing out the ones before it.

The nth term is aₙ = a₁ + (n − 1)d for an arithmetic sequence and aₙ = a₁ · rⁿ⁻¹ for a geometric one. The sum of the first n terms is Sₙ = n(a₁ + aₙ)/2, the average of the first and last term times their number, or Sₙ = a₁(1 − rⁿ)/(1 − r) for a geometric sequence. For 2, 5, 8, …: a₁₀ = 2 + 9 × 3 = 29 and S₁₀ = 10 × (2 + 29)/2 = 155.

When −1 < r < 1 the terms of a geometric sequence shrink so fast that adding all of them, forever, gives a finite number: S∞ = a₁/(1 − r), 4 for 2, 1, 0.5, … Results are rounded to six significant digits, and the drawing shows up to 30 terms. Source: OpenStax College Algebra 2e, sections 9.2 to 9.4.

Frequently asked questions

Does n start at zero or one?

The first term is a₁, so enter n = 1 to return it. The sum includes that first term through the nth term.

Can I use a negative common difference?

Yes. An arithmetic sequence decreases when its common difference is negative.

What does a negative geometric ratio do?

It alternates the signs of successive nonzero terms. The size grows or shrinks according to the ratio’s absolute value.

Why are only 30 terms drawn when I ask for more?

The drawing is limited to the first 30 terms for readability. The nth term and total still use the n you entered.

Can this find the rule from a list of numbers?

No. You must choose arithmetic or geometric and supply the first term and difference or ratio; it does not infer a pattern or calculate Fibonacci sequences.

Send feedback