How to use the Number Sequence Calculator
Choose arithmetic or geometric, enter the first term, the common difference or ratio and the number of terms, then press Calculate.
Read more: How to Use the Number Sequence Calculator: Steps and a Worked Example
Arithmetic sequence formulas
The nth term is aₙ = a₁ + (n − 1)d and the sum of n terms is Sₙ = n(a₁ + aₙ) ÷ 2. For 3, 7, 11, …, the 10th term is 3 + 9 × 4 = 39 and the sum is 10 × (3 + 39) ÷ 2 = 210.
Geometric sequence formulas
The nth term is aₙ = a₁ × r^(n − 1) and the sum is Sₙ = a₁(1 − rⁿ) ÷ (1 − r) for r ≠ 1. For 2, 6, 18, …, the 5th term is 2 × 3⁴ = 162.
Spotting the type
If the differences between terms are the same, the sequence is arithmetic. If the ratios between terms are the same, it is geometric. Compound interest and population growth are geometric.
The formula
Arithmetic: aₙ = a₁ + (n − 1)d, Sₙ = n(a₁ + aₙ) ÷ 2. Geometric: aₙ = a₁ × r^(n−1), Sₙ = a₁(1 − rⁿ) ÷ (1 − r).
Examples
- With the default values
Term 10: 39 Sum of 10 terms: 210 First terms: 3, 7, 11, 15, 19, 23, 27, 31, 35, 39
- With first term set to 6
Term 10: 42 Sum of 10 terms: 240 First terms: 6, 10, 14, 18, 22, 26, 30, 34, 38, 42
Limitations and assumptions
n can be up to 100,000; the list shows the first 20 terms.
Frequently asked questions
What is the common difference?
The amount added each step: in 5, 8, 11 it is 3.
What if the ratio is 1?
Every term equals the first, and the sum is a₁ × n.
Can the difference or ratio be negative?
Yes. A negative ratio makes the terms alternate in sign.