Number Sequence Calculator

Find the nth term, sum of n terms, and list terms of arithmetic, geometric, Fibonacci, and custom sequences.

Sequence Type

Formulas
nth termaₙ = a₁ + (n−1)d
Sum of n termsSₙ = n/2 · (2a₁ + (n−1)d)
Or equivalentlySₙ = n/2 · (a₁ + aₙ)

Results

Term 10
29
a₁ + (n−1)d
Sum of 10 Terms
155
Sₙ
First term (a₁)2
Common difference (d)3
Term 10 (aₙ)29
Sum of 10 terms155
First 10 Terms
1: 22: 53: 84: 115: 146: 177: 208: 239: 2610: 29
Common Sequences
NamePatternFirst terms
Arithmetica, a+d, a+2d, …2, 5, 8, 11, …
Geometrica, ar, ar², …3, 6, 12, 24, …
FibonacciF(n−1)+F(n−2)1, 1, 2, 3, 5, 8, …
Square numbersn²1, 4, 9, 16, 25, …
Cube numbersn³1, 8, 27, 64, 125, …
Triangularn(n+1)/21, 3, 6, 10, 15, …
Prime numbers—2, 3, 5, 7, 11, 13, …

A schedule starts at 2 and climbs by 3 each step, and someone needs the 10th entry. Writing a1 + n × d gives 32; the right term is a1 + (n − 1) × d = 29, because the first term has not had a step added yet. Carry the slip into the sum and the 10-term total goes from 155 to 170. This calculator uses the (n − 1) form, so the first term is exactly a1, and keeps the same bookkeeping for geometric and Fibonacci sequences.

A ten-term sequence, line by line

Start with the defaults: first term 2, common difference 3, nth term at n = 10, sum of the first 10 terms. The listed sequence reads 2, 5, 8, 11, 14, 17, 20, 23, 26, 29.

The nth term formula is aₙ = a₁ + (n − 1) × d. At n = 10 that is 2 + 9 × 3 = 29, which matches the last entry in the list.

For the sum, the page uses Sₙ = n ÷ 2 × (2a₁ + (n − 1) × d), which here is 5 × (4 + 27) = 155. The same answer comes from averaging the first and last terms, (2 + 29) ÷ 2 = 15.5, and multiplying by 10 terms.

Geometric sequences multiply instead of add: aₙ = a₁ × r^(n−1) and Sₙ = a₁ × (1 − rⁿ) ÷ (1 − r). With first term 2 and ratio 3, term 10 is 2 × 3⁹ = 39,366 and the first ten terms add to 59,048. When the ratio is between -1 and 1, an infinite sum a₁ ÷ (1 − r) is shown as well: for a₁ = 1 and r = 0.5, ten terms give 1.998046875 and the infinite sum is 2.

Fibonacci starts 1, 1 and adds the previous two terms, so F(10) = 55 and the first ten add to 143. Displayed values keep 12 significant digits, so F(70) = 190,392,490,709,135 appears as 190,392,490,709,000.

How to Use This Calculator

  1. Pick a tab: Arithmetic, Geometric, Fibonacci or Custom.
  2. For arithmetic or geometric, enter the first term (a₁) and the common difference or common ratio.
  3. Fill the two n boxes separately: one for the nth term and one for the sum of the first n terms. They do not have to match.
  4. Set how many terms to list, from 1 to 50. An empty or invalid value falls back to 10.
  5. On the Custom tab, type your own numbers separated by commas or spaces and read whether they form an arithmetic or geometric pattern.

Frequently Asked Questions

Why are the nth term and the sum in separate boxes?

So you can compare different points, such as the value at term 12 against the running total through term 20, without retyping everything.

What does the Custom tab say for 1, 4, 9, 16?

It reports an unknown type, because the differences (3, 5, 7) and ratios (4, 2.25, 1.78) are not constant. It does not detect squares or predict a next term. Any list of exactly two numbers is labelled arithmetic.

Can I trust the sum when the ratio is -1?

No. For a ratio of -1 the page applies the ratio-of-1 shortcut and returns a₁ × n, while the true sum alternates between a₁ and 0. Work that case out by hand.

Does Fibonacci here start at 0 or 1?

It starts 1, 1, so F(1) = 1. Texts that start 0, 1, 1 give the same values for every term from F(1) onward, so F(10) = 55 either way.