Number Sequence Calculator

Identify sequence patterns, generate next terms, and calculate nth terms for arithmetic, geometric, Fibonacci, and other sequences.

For learning and homework help — verify critical calculations independently.

Reviewed by CalculatorDrive Math Editorial Board · Last updated

Calculator

Enter at least 2 numbers from the sequence

How many next terms to generate (1-20)

Enter position to calculate specific term

Enter a sequence of numbers to identify the pattern, generate next terms, and calculate specific terms.

The short answer

Arithmetic sequences add a constant amount each step (2, 5, 8, 11... adds 3 every time); geometric sequences multiply by a constant ratio (3, 6, 12, 24... doubles every time). Once you know which type a sequence is and its starting value, a formula gives you any term — the 100th, the 1000th — without listing everything in between.

Key takeaways

  • Arithmetic sequences have a constant difference between consecutive terms; geometric sequences have a constant ratio.
  • The nth-term formulas let you jump straight to any position — aₙ = a₁ + (n−1)d for arithmetic, aₙ = a₁ × r^(n−1) for geometric — without generating every term first.
  • Not every sequence is arithmetic or geometric — Fibonacci-style sequences build each term from the previous ones instead of a constant difference or ratio.
  • A sum formula exists for both sequence types, so you can total the first n terms without adding them one by one.

Recognizing the pattern type

Pattern Test Example
ArithmeticConsecutive differences are constant2, 5, 8, 11 (d=3)
GeometricConsecutive ratios are constant3, 6, 12, 24 (r=2)
Fibonacci-styleEach term = sum of previous terms1, 1, 2, 3, 5, 8

The nth-term and sum formulas

Type nth term Sum of first n terms
Arithmeticaₙ = a₁ + (n−1)dSₙ = n/2 × (a₁+aₙ)
Geometricaₙ = a₁ × r^(n−1)Sₙ = a₁(rⁿ−1)/(r−1)

Worked example: sum of an arithmetic sequence

Find the sum of the first 10 terms of 2, 5, 8, 11... (a₁ = 2, d = 3).

a₁₀ = 2 + (10−1) × 3 = 29

S₁₀ = 10/2 × (2 + 29) = 5 × 31 = 155

The sum formula only needs the first term, the last term, and the count — no need to add all 10 numbers by hand to check the total.

Common mistakes to avoid

  • Assuming a pattern is arithmetic after checking just one pair of terms — confirm every consecutive difference matches before concluding.
  • Using the arithmetic sum formula on a geometric sequence, or vice versa — the two formulas aren't interchangeable.
  • Forgetting the geometric sum formula breaks down when r = 1 — every term is identical, so the sum is simply n × a₁, not a division by zero.
  • Treating a recursive sequence like Fibonacci as if it had a simple closed-form nth-term formula — it doesn't, without more advanced identities.

Frequently Asked Questions

What is a number sequence?

A sequence is an ordered list of numbers following a pattern. Each term has a position n, and a rule maps n to the term value.

What is the difference between arithmetic and geometric sequences?

Arithmetic sequences add a constant difference each step: 2, 5, 8, 11 (d = 3). Geometric sequences multiply by a constant ratio: 3, 6, 12, 24 (r = 2).

What is the nth term formula?

For arithmetic: aₙ = a₁ + (n−1)d. For geometric: aₙ = a₁ × r^(n−1). These let you find any term without listing all prior ones.

What are famous sequences like Fibonacci?

Fibonacci starts 1, 1, 2, 3, 5, 8 — each term is the sum of the two before it. It models growth patterns in nature and computer algorithms.

How do I use this number sequence calculator?

Enter known terms or rule parameters, choose sequence type, and click Calculate to see the next terms, nth term, and pattern description.

How do you find the sum of an arithmetic sequence?

Use Sₙ = n/2 × (a₁ + aₙ), where a₁ is the first term and aₙ is the nth term. For the first 10 terms of 2, 5, 8, 11... (a₁ = 2, d = 3), the 10th term is 29, so the sum is 10/2 × (2 + 29) = 155.

More math calculators