Arithmetic and Geometric Sequences, Explained
A sequence is a list of numbers written in a definite order and built by a definite rule. Two rules dominate school mathematics: add the same amount every time (an arithmetic sequence) or multiply by the same amount every time (a geometric sequence). This sequence calculator builds either kind from just two ingredients — the first term and the difference or ratio — and returns the generated terms, the nth-term formula that describes the whole list at once, and the sum of the terms, with every substitution shown so the method is as visible as the answer.
The Formulas, Symbol by Symbol
Four symbols run everything. a₁ is the first term. n is a term's position (1st, 2nd, 3rd, …), and aₙ — read "a sub n" — is the term sitting in that position. In an arithmetic sequence, d is the common difference added at each step, and the nth term is aₙ = a₁ + (n − 1)d: you start at a₁ and take n − 1 jumps of size d, because the first term needs no jump at all. In a geometric sequence, r is the common ratio multiplied at each step, and aₙ = a₁ × r^(n−1) for the same reason — the exponent counts jumps, and there are n − 1 of them. The sums have their own pair: Sₙ = n/2 × (2a₁ + (n − 1)d) for arithmetic, Sₙ = a₁ × (rⁿ − 1) ÷ (r − 1) for geometric (with the special case r = 1, where Sₙ = n × a₁).
How to Use This Calculator
- Choose the type — Arithmetic or Geometric — with the tabs.
- Enter the first term a₁ and then the common difference d (arithmetic) or common ratio r (geometric). The defaults, a₁ = 2 and d = 3, generate 2, 5, 8, 11, …
- Set how many terms to generate (2 to 30).
- Read the panel: the terms in order, the nth-term formula, the sum of the terms shown, and the two substitution steps that produced the formula and the sum.
- Working the other way? If you have a list of terms and want its rule, use the nth term calculator instead — it detects the pattern for you.
Worked Example 1: Arithmetic, a₁ = 2, d = 3
- Generate: start at 2 and keep adding 3: 2, 5, 8, 11, 14, 17, 20, 23.
- Formula: aₙ = 2 + (n − 1) × 3, which expands and simplifies to aₙ = 3n − 1. Check it against the list: n = 1 gives 2, n = 4 gives 11. ✓
- Sum of the first 8: S₈ = 8/2 × (2 × 2 + 7 × 3) = 4 × 25 = 100 — and adding the list by hand (2 + 5 + 8 + 11 + 14 + 17 + 20 + 23) confirms 100.
Worked Example 2: Geometric, a₁ = 3, r = 2
Start at 3 and keep doubling: 3, 6, 12, 24, 48, 96. The formula is aₙ = 3 × 2^(n−1) — test n = 6: 3 × 2^5 = 3 × 32 = 96, matching the list. The sum of the first 6 terms is S₆ = 3 × (2^6 − 1) ÷ (2 − 1) = 3 × 63 = 189, again matching a hand total of 3 + 6 + 12 + 24 + 48 + 96. Notice how much faster the geometric list pulls away from the arithmetic one: multiplication compounds, addition does not.
Where Sequences Show Up
Arithmetic sequences model anything that changes by a fixed amount: a savings plan adding $50 a month, a taxi fare rising per kilometre, the total seats in rows that each hold 4 more than the row before. Geometric sequences model change by a fixed percentage: compound interest (r = 1.05 for 5% growth), population growth, radioactive decay (r = 0.5 per half-life) and the spread of a rumour. Recognising which of the two rules a situation follows is most of the modelling work — the formulas then do the rest.
Three Mistakes to Watch For
First, the off-by-one error: writing aₙ = a₁ + nd instead of a₁ + (n − 1)d, which shifts every term one place and fails the n = 1 check — always test your formula against the first term. Second, feeding a geometric pattern into arithmetic formulas (or vice versa): check differences and ratios before choosing. Third, dividing by zero in the geometric sum when r = 1: with ratio 1 every term is a₁, so the sum is just n × a₁, as the calculator handles automatically.
Go deeper with the geometric sequence formulas reference, or test whether an infinite series settles down with the series convergence calculator.