Number Sequence / Pattern Solver

Detect arithmetic, geometric, quadratic, or Fibonacci patterns in any sequence and predict the next terms.

Detecting Patterns in Numerical Sequences

Identifying sequence patterns relies on analyzing differences between successive terms. If differences are constant, it is arithmetic; if ratios are constant, it is geometric; if second differences are constant, it is a quadratic polynomial.

Closed-Form Sequence Formulas

Arithmetic: aₙ = a₁ + (n − 1)d

Geometric: aₙ = a₁ × r^(n − 1)

Quadratic: aₙ = An² + Bn + C (where 2A = constant 2nd difference)

Step-by-Step Worked Examples

Example: 3, 7, 11, 15, 19

First differences are constantly +4. Formula: aₙ = 3 + 4(n − 1) = 4n − 1. Next terms: 23, 27, 31.

Frequently Asked Questions

What is the method of finite differences?

It is a mathematical technique where you calculate differences between successive terms repeatedly until you reach a constant row, revealing the degree of the generating polynomial.