Sequence & Series Calculator

Calculate nth term and sum of arithmetic or geometric sequences.

Arithmetic Sequence

Constant difference

Geometric Sequence

Constant ratio

nth Term (aₙ)
—
Sum (Sₙ)
—

Quick Examples

Arithmetic Sequences

An arithmetic sequence has a constant difference between consecutive terms.

aₙ = a₁ + (n−1)d
Sₙ = n(a₁ + aₙ)/2 = n[2a₁ + (n−1)d]/2

Geometric Sequences

A geometric sequence has a constant ratio between consecutive terms.

aₙ = a₁ · r^(n−1)
Sₙ = a₁(rⁿ − 1)/(r − 1) for r ≠ 1

Examples

TypeFirst terms10th termSum of 10
Arithmetic (d=3)2, 5, 8, 11, ...29155
Geometric (r=2)2, 4, 8, 16, ...10242046

What Is a Sequence?

A sequence is an ordered list of numbers where each number is called a term. The position of a term is written as a subscript: a1 is the first term, a2 the second, and an the nth term. The rule that generates the terms is what distinguishes one sequence type from another. A series is what you get when you add the terms of a sequence together.

How to Identify the Sequence Type

Given a few terms, check the gaps first, then the ratios:

TestResultTypeExample
Subtract consecutive termsSame difference every timeArithmetic3, 7, 11, 15 (d = 4)
Divide consecutive termsSame ratio every timeGeometric2, 6, 18, 54 (r = 3)
Neither is constantNo fixed d or rNeither2, 3, 5, 9 (powers of 2 plus 1)

A sequence is arithmetic if the differences repeat; it is geometric if the ratios repeat.

Arithmetic Sequences in Depth

Each term adds a fixed common difference d to the previous one. The nth term and the sum of the first n terms are:

an = a1 + (n − 1)d    Sn = n(a1 + an) / 2 = n[2a1 + (n − 1)d] / 2

Worked example: For 3, 7, 11, 15, … (a1 = 3, d = 4): the 10th term is a10 = 3 + 9(4) = 39, and the sum of the first 10 terms is S10 = 10(6 + 36)/2 = 210. Check by pairing: (3 + 39) + (7 + 35) + … = 10 pairs × 21 = 210 ✓

The sum formula is the famous trick attributed to the young Gauss: pair the first and last terms (a1 + an), note every pair sums to the same value, and multiply by the number of pairs, n/2.

Geometric Sequences in Depth

Each term multiplies the previous one by a fixed common ratio r. The formulas are:

an = a1 · rn−1    Sn = a1(rn − 1) / (r − 1)    (r ≠ 1)

Worked example: For 2, 6, 18, 54, … (a1 = 2, r = 3): the 5th term is a5 = 2 · 34 = 162, and the sum of the first 5 terms is S5 = 2(35 − 1)/2 = 242. Check: 2 + 6 + 18 + 54 + 162 = 242 ✓

Infinite Geometric Series

When |r| < 1, the terms shrink toward zero, and the infinite sum converges to a finite value:

S∞ = a1 / (1 − r)    valid only when |r| < 1

Worked example: 8 + 4 + 2 + 1 + … has a1 = 8 and r = 1/2, so S∞ = 8/(1 − 1/2) = 16. Check with partial sums: after 4 terms the sum is 15, after 6 terms 15.75 — clearly approaching 16. When |r| ≥ 1 the series does not converge (the sum grows without bound or oscillates).

Arithmetic vs. Geometric: Side by Side

FeatureArithmeticGeometric
PatternAdd d each stepMultiply by r each step
nth terma1 + (n − 1)da1 · rn−1
Sum of n termsn(a1 + an)/2a1(rn − 1)/(r − 1)
Growth styleLinear, steadyExponential, accelerating
Graph of termsPoints on a straight linePoints on an exponential curve
Typical useFixed monthly savings, seating rowsCompound interest, population growth

Real-World Applications

  • Savings plans: Depositing a fixed amount each month is an arithmetic sequence; interest compounding on it is geometric.
  • Population growth: A population growing by a fixed percentage each year follows a geometric sequence.
  • Loan balances: A loan shrinking by fixed monthly payments is arithmetic; the interest portion behaves geometrically.
  • Computer science: Halving a search space each step (binary search) is a geometric sequence with r = 1/2.
  • Physics: A bouncing ball's rebound heights form a geometric sequence with r < 1.

Common Mistakes to Avoid

  • Off-by-one in the nth term: The exponent is n − 1, not n. The 1st term uses r0 = 1.
  • Using the sum formula at r = 1: It divides by zero. When r = 1, the sum is simply n · a1.
  • Mixing up d and r: d is added (arithmetic), r is multiplied (geometric) — they are not interchangeable.
  • Applying S∞ when |r| ≥ 1: The infinite sum formula only works when the terms shrink (|r| < 1).
  • Counting terms wrong: The "sum of the first n terms" includes a1 — the 10th term is the last one included when n = 10.

Finding a Missing Difference or Ratio

You do not always know d or r up front — sometimes you know two terms and must work backwards:

  • Arithmetic: If a3 = 11 and a7 = 27, then 4 steps of size d bridge the gap: 4d = 27 − 11 = 16, so d = 4. Then a1 = 11 − 2(4) = 3. Check: a3 = 3 + 2(4) = 11 ✓, a7 = 3 + 6(4) = 27 ✓
  • Geometric: If a2 = 6 and a5 = 48, then 3 multiplications by r bridge the gap: r3 = 48/6 = 8, so r = 2. Then a1 = 6/2 = 3. Check: a2 = 3 × 2 = 6 ✓, a5 = 3 × 24 = 48 ✓

Recursive vs. Explicit Formulas

Every sequence can be described two ways. The recursive form defines each term from the previous one (a1 = 3, an = an−1 + 4); the explicit form gives any term directly (an = 3 + (n − 1)4). The calculator uses the explicit form because it jumps straight to the nth term without computing everything before it. Recursive thinking is useful for understanding, explicit formulas for calculating.

Sigma Notation

Sums are often written compactly with the Greek letter Σ (sigma). The sum of the first n terms of an arithmetic sequence becomes:

Sn = Σk=1n [a1 + (k − 1)d]

Read it as: "add up a1 + (k − 1)d for every integer k from 1 to n." For the sequence 3, 7, 11, … with n = 4: (3) + (7) + (11) + (15) = 36, matching S4 = 4(6 + 12)/2 = 36 ✓

Frequently Asked Questions

What is the difference between a sequence and a series?
A sequence is an ordered list of numbers. A series is the sum of the terms of a sequence. For example, 1, 2, 3, 4, ... is a sequence, while 1 + 2 + 3 + 4 + ... is a series.