Sequence Calculator: Arithmetic and Geometric Sequences, Series and Sigma Sums
By FindMySum · Last reviewed
A sequence is an ordered list of numbers that follows a rule. The two most important rules are adding the same number each time (an arithmetic sequence) and multiplying by the same number each time (a geometric sequence). They turn up everywhere: regular savings, loan payments, population growth, the bounce of a ball, the seats in each row of a theatre. This calculator finds any term, the sum of the first n terms, the infinite sum when one exists, the sequence from two known terms, and how many terms it takes to reach a value. It also evaluates sums in sigma notation. The opening example is the arithmetic sequence 3, 7, 11, 15, …
Arithmetic sequences
Each term is the previous one plus a common difference d:
aₙ = a₁ + (n − 1) × d
For 3, 7, 11, 15, … the first term is a₁ = 3 and d = 4, so the 10th term is 3 + 9 × 4 = 39. The recursive form says the same thing step by step: a₁ = 3, aₙ = aₙ₋₁ + 4.
To add the first n terms, pair the first with the last, the second with the second-to-last, and so on; every pair has the same total, so:
Sₙ = n × (a₁ + aₙ) ÷ 2
The first 10 terms add up to 10 × (3 + 39) ÷ 2 = 210. This is the trick attributed to the young Carl Friedrich Gauss, who added 1 to 100 as 50 pairs of 101: 5,050.
A negative difference gives a decreasing sequence (20, 17, 14, …), and a fractional one works just as well (1, 1.5, 2, …). The calculator keeps fractions exact, so 1/3 + 1/3 + 1/3 is exactly 1.
Geometric sequences
Each term is the previous one times a common ratio r:
aₙ = a₁ × rⁿ⁻¹
For 2, 6, 18, 54, … a₁ = 2 and r = 3, so the 6th term is 2 × 3⁵ = 486. Geometric sequences grow (or shrink) very quickly: the 20th term of this one is over 2 billion.
The sum of the first n terms is:
Sₙ = a₁ × (1 − rⁿ) ÷ (1 − r) (and n × a₁ when r = 1)
For the example, S₆ = 2 × (1 − 729) ÷ (1 − 3) = 728. The formula comes from writing the sum, multiplying it by r and subtracting: almost every term cancels.
Infinite geometric series
When the ratio is between −1 and 1, each term is smaller than the last and the sum settles towards a finite limit:
S∞ = a₁ ÷ (1 − r), valid only when |r| < 1
So 1 + 1/2 + 1/4 + 1/8 + … = 1 ÷ (1 − 1/2) = 2. After 10 terms the partial sum is 1023/512 = 1.998; the gap to 2 halves with every further term. With |r| ≥ 1 the terms don't shrink and there is no finite sum; the calculator shows the infinite sum only when it exists.
Finding a sequence from two terms
If you know two terms but not the start, the calculator works backwards.
- Arithmetic: d = (aₖ − aₘ) ÷ (k − m). With a₃ = 10 and a₈ = 25, d = 15 ÷ 5 = 3, and a₁ = 10 − 2 × 3 = 4.
- Geometric: r^(k − m) = aₖ ÷ aₘ, so r is a root. With a₂ = 6 and a₅ = 162, r³ = 27 and r = 3, so a₁ = 2.
When the gap k − m is even, both r and −r fit the two terms; the calculator gives the positive ratio and says so. If the root is not a whole number or simple fraction, values are rounded to 12 significant digits.
How many terms to reach a value
Enter a target and the calculator finds the first term at or beyond it. For 3, 7, 11, … the target 100 is first passed at term 26 (103), since term 25 is 99. For 2, 6, 18, … the target 1,000 is first passed at term 7 (1,458). If the sequence moves away from the target or levels off, it says the value is never reached.
Sigma notation
Σ, the Greek capital sigma, is shorthand for a sum. It has a starting value of a counter k, an ending value, and an expression to add for each k:
Σ from k = 1 to 10 of k² = 1 + 4 + 9 + … + 100 = 385
Choose sigma mode and type the expression using k, for example 2k - 1, k^3 or 1/(k(k + 1)). The calculator adds up to 10,000 terms exactly, lists the first 20 with a running total, and for sums of k, k² and k³ checks the answer against the classic closed forms:
| Sum | Formula |
|---|---|
| 1 + 2 + … + n | n(n + 1)/2 |
| 1² + 2² + … + n² | n(n + 1)(2n + 1)/6 |
| 1³ + 2³ + … + n³ | [n(n + 1)/2]² |
The last one has a surprising consequence: the sum of the first n cubes is the square of the sum of the first n whole numbers.
Where sequences show up
Arithmetic sequences describe anything that changes by a fixed amount: seats per row in a stadium, a straight-line depreciation schedule, a savings jar topped up with the same amount. Geometric sequences describe growth and decay by a fixed percentage: compound interest, inflation, radioactive decay, a ball that bounces to 60% of its previous height. The sum of a geometric series is the heart of the annuity and mortgage formulas used on the finance pages of this site.
More questions
Is compound interest a geometric sequence?
Yes. A balance growing at 5% a year is multiplied by 1.05 each year, so the yearly balances form a geometric sequence with r = 1.05. Saving the same amount every year gives a geometric series, which is where the future-value-of-an-annuity formula comes from.
What is the difference between a sequence and a series?
A sequence is a list of numbers in order (3, 7, 11, 15, …). A series is what you get when you add the terms of a sequence (3 + 7 + 11 + 15 + …). The calculator gives both: the nth term of the sequence and the sum of the first n terms, the nth partial sum of the series.
Can a sequence have a negative or fractional common ratio?
Yes. With r = −2 the terms alternate in sign: 1, −2, 4, −8, … With r = 1/2 they halve each time and shrink towards zero. Any non-zero ratio works; only r = 0 is excluded because every term after the first would be zero.
How many terms does it take for a geometric sequence to pass a value?
Solve a₁rⁿ⁻¹ ≥ target for n using logarithms: n − 1 ≥ log(target/a₁)/log(r), then round up. For 2, 6, 18, … to reach 1,000, log(500)/log(3) = 5.66, so n − 1 = 6 and the 7th term (1,458) is the first above 1,000. Enter a target to have the calculator do this.
What is a telescoping series?
One where most terms cancel when you add them. Because 1/(k(k + 1)) = 1/k − 1/(k + 1), the sum from k = 1 to n is (1 − 1/2) + (1/2 − 1/3) + … = 1 − 1/(n + 1). Try 1/(k(k+1)) in sigma mode: from 1 to 9 it gives exactly 9/10.
Sources
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.