Skip to content

Number Sequence Calculator

This number sequence calculator finds any term in an arithmetic, geometric or Fibonacci sequence, along with the sum of the terms. Pick the sequence type, enter the first term and the rule, then choose the term number.

Sequence type

Added to each term to get the next one.

Whole number from 1 to 1,000.

Term 10 of the arithmetic sequence

29

aₙ = a₁ + (n − 1) × d = 2 + 9 × 3 = 29.

Sum of the first n terms
155
Next term (n + 1)
32
Common difference (d)
3
First 10 terms
TermValue
12
25
38
411
514
617
720
823
926
1029

How to use this calculator

  1. 1 Choose the sequence type: arithmetic, geometric or Fibonacci.
  2. 2 Enter the first term and the rule. For arithmetic, that is the common difference. For geometric, it is the common ratio. Fibonacci needs no rule.
  3. 3 Enter the term number n, a whole number from 1 to 1,000.
  4. 4 Read the term, the sum of the first n terms and the first ten terms in the table.

What is a number sequence?

A number sequence is a list of numbers that follows a rule. Each number in the list is called a term. The first term is written a₁, the second a₂, and so on. The term number n tells you its position in the list.

Some sequences add the same amount each time, and others multiply by the same amount. Others, like the Fibonacci sequence, add the two terms before. The rule is what lets you jump straight to a far term without writing out the whole list.

For example, the list 2, 5, 8, 11, 14 adds 3 each time. The fifth term is 14, and the rule predicts that the 100th term is 299.

Arithmetic and geometric sequences

In an arithmetic sequence, the difference between neighbouring terms stays the same. This difference is the common difference, d. To find term n, start at a₁ and add d a total of n − 1 times.

In a geometric sequence, each term is the previous term times a fixed ratio, r. Growth at a steady percentage each period is geometric. For example, a ratio of 1.05 means 5% growth per step. A ratio between −1 and 1 makes the terms shrink towards zero. To work out a power such as rⁿ, the exponent calculator does the arithmetic.

Adding up the terms is also easy with a formula. An arithmetic sum is n ÷ 2 × (2a₁ + (n − 1)d). A story often told about the mathematician Carl Friedrich Gauss says that, as a schoolboy, he added the numbers 1 to 100 this way and got 5,050.

Key formulas for the two common sequence types
TypeTerm nSum of first n terms
Arithmetica₁ + (n − 1) × dn ÷ 2 × (2a₁ + (n − 1) × d)
Geometrica₁ × rⁿ⁻¹a₁ × (1 − rⁿ) ÷ (1 − r), when r ≠ 1

The Fibonacci sequence

The Fibonacci sequence starts with 1 and 1. Each later term is the sum of the two before it, so the list runs 1, 1, 2, 3, 5, 8, 13 and onwards. The sequence is named after Leonardo of Pisa, also called Fibonacci, who wrote about it in his book Liber Abaci in 1202.

The sequence grows quickly. Its tenth term is 55, and its fiftieth term is 12,586,269,025. The ratio of one term to the one before settles near 1.618, which is the golden ratio. You can check this with the calculator’s ratio line.

Fibonacci numbers appear in some plant growth patterns, but they are not a law of nature. Treat them as an interesting pattern, rather than a rule that every natural shape follows.

Tips for working with sequences

Sequence problems are simple once you name the parts. These habits prevent most errors:

  • Find the first term and the rule. Write them down before you use the formula.
  • Count n − 1 steps, not n. The first term needs no step, so the term n is reached after n − 1 steps.
  • Check the first few terms. Write out two or three terms by hand to confirm the rule.
  • Use the average for a quick sum. For an arithmetic sequence, the sum equals the number of terms times the average of the first and last terms. The average calculator can help with that step.
  • Solve for n with logs. If you know a geometric term and need n, use the log calculator.

The formula

Arithmetic sequence

aₙ = a₁ + (n − 1) × d, Sₙ = n ÷ 2 × (2a₁ + (n − 1) × d)

a₁
the first term
d
the common difference
Sₙ
the sum of the first n terms

Geometric sequence

aₙ = a₁ × rⁿ⁻¹, Sₙ = a₁ × (1 − rⁿ) ÷ (1 − r), infinite sum = a₁ ÷ (1 − r) when |r| < 1

r
the common ratio, the number each term is multiplied by

Fibonacci sequence

F(n) = F(n − 1) + F(n − 2), with F(1) = 1 and F(2) = 1

F(n)
the nth Fibonacci number

Worked example

An arithmetic sequence that starts at 2 and adds 3 each time, for n = 10

  1. 1.Rule: aₙ = 2 + (n − 1) × 3.
  2. 2.Term 10: a₁₀ = 2 + 9 × 3 = 29.
  3. 3.Sum of the first 10 terms: 10 ÷ 2 × (2 × 2 + 9 × 3) = 5 × 31 = 155.

The 10th term is 29, and the first ten terms add up to 155.

Frequently asked questions

How do I find the nth term of a sequence?

For an arithmetic sequence, use a₁ + (n − 1) × d. For a geometric sequence, use a₁ × rⁿ⁻¹. For Fibonacci, add the two terms before n. The calculator applies these rules for you.

What is the difference between arithmetic and geometric?

An arithmetic sequence adds the same amount each time. A geometric sequence multiplies by the same amount each time. For example, 2, 4, 8, 16 is geometric with a ratio of 2.

Why does the geometric infinite sum only work for small ratios?

The terms must shrink for the sum to settle at a finite value. That happens when the ratio is between −1 and 1. Otherwise, the terms grow or stay the same size, so the sum has no limit.

Why does the Fibonacci sequence start with 1, 1?

This is the common convention for the sequence. Some lists start with 0, 1, which shifts every number along by one position. Check which convention a problem uses.

What is the largest term number this calculator accepts?

Term numbers from 1 to 1,000 are accepted. Very large results show in scientific notation, and geometric sequences may show an error if the numbers are too large.

Sources

Last reviewed by the GridCalculators team.