Number Sequence Solver

Paste your sequence — arithmetic, geometric, Fibonacci-like, squares, or cubes detected, with the next 3 terms and the formula.

At least 3 numbers, separated by commas — decimals are fine.

How to use the number sequence solver

  1. Type at least 3 numbers separated by commas — the more terms, the more certain the pattern.
  2. Press Solve sequence — the tool tests arithmetic, geometric, Fibonacci-like, square, and cube patterns in order.
  3. Read the result — pattern name, the nth-term formula, and the next 3 terms.
  4. Try the classics — 2, 5, 8, 11 (arithmetic), 3, 6, 12, 24 (geometric), 1, 1, 2, 3, 5 (Fibonacci), 1, 4, 9, 16 (squares).

Frequently asked questions

How do you find the pattern in a number sequence?

Check the gaps first: a constant difference means arithmetic, a constant ratio means geometric. If neither fits, test whether each term is the sum of the two before it (Fibonacci-like), or whether the terms are perfect squares or cubes.

What is the nth-term formula for an arithmetic sequence?

aₙ = a₁ + (n−1)d, where a₁ is the first term and d is the common difference. For 2, 5, 8, …: aₙ = 2 + (n−1)·3.

What is the nth-term formula for a geometric sequence?

aₙ = a₁·rⁿ⁻¹, where r is the common ratio. For 3, 6, 12, …: aₙ = 3·2ⁿ⁻¹.

What counts as a Fibonacci-like sequence?

Any sequence where each term is the sum of the previous two — it does not have to start 1, 1. So 2, 3, 5, 8, 13 counts, following Fₙ = Fₙ₋₁ + Fₙ₋₂.

What if no pattern is found?

The tool says so honestly. Many real sequences (the primes, for example) do not match these five common patterns — “no common pattern found” is a real answer, not an error.

More from the codex