Math & Education
Number Sequence Calculator (Arithmetic, Geometric, Fibonacci)
Find the next numbers and the rule of a sequence, or work out the nth term and sum of arithmetic and geometric sequences and exact Fibonacci numbers.
How to use
- 1To continue a pattern, choose 'Find the rule' and enter at least 3 terms separated by commas or spaces.
- 2For a known sequence, choose arithmetic, geometric or Fibonacci and enter the first term, difference or ratio and n.
- 3Read the nth term, the sum, the rule and a table of the first terms.
How it's calculated
Arithmetic: aₙ = a₁ + (n − 1)d, Sₙ = n(2a₁ + (n − 1)d) ÷ 2. Geometric: aₙ = a₁rⁿ⁻¹, Sₙ = a₁(1 − rⁿ) ÷ (1 − r), S∞ = a₁ ÷ (1 − r) when |r| < 1. Fibonacci: F(n) = F(n − 1) + F(n − 2), computed exactly by fast doubling.
Frequently asked questions
What patterns can 'Find the rule' detect?
Constant differences (arithmetic), constant ratios (geometric), each term being the sum of the two before (Fibonacci-like), and constant second or third differences (quadratic and cubic, such as square and cube numbers). It tries the simplest first.
Is the answer always the 'right' next number?
Any finite list can be continued in infinitely many ways, so puzzles sometimes intend a different rule. This gives the simplest rule of these types that fits every term you entered.
When does a geometric series have a sum to infinity?
Only when the ratio is between −1 and 1. Then the terms shrink toward zero and the sum approaches a₁ ÷ (1 − r): 1 + ½ + ¼ + … = 2.
Example: 2, 6, 12, 20, 30
The differences are 4, 6, 8, 10, which go up by 2 each time, so the sequence is quadratic. Solving for aₙ = an² + bn + c through the first three terms gives aₙ = n² + n, so the next terms are 42, 56, 72, 90 and 110. These are the 'pronic' numbers, n × (n + 1).
Arithmetic vs geometric
An arithmetic sequence adds the same amount each time (3, 7, 11, 15…), so it grows in a straight line; a geometric one multiplies by the same ratio (3, 6, 12, 24…), so it grows exponentially. The 10th term of 3, 7, 11… is 3 + 9 × 4 = 39, and the first 10 terms add up to 10 × (3 + 39) ÷ 2 = 210.
Fibonacci numbers, exactly
F(100) is 354,224,848,179,261,915,075: 21 digits, more than ordinary floating-point can hold exactly. The calculator uses whole-number arithmetic with the 'fast doubling' identities, so even F(50,000), with 10,450 digits, is exact.
Related tools
- Scientific Calculator
A free online scientific calculator — type any expression with trig, logs, powers, roots, factorials, constants and unit-aware maths.
- Equation Solver (Linear & Quadratic)
Solve linear and quadratic equations in x — typed naturally like 3x + 5 = 2x - 7 or x^2 - 5x + 6 = 0 — with the discriminant, vertex and real or complex roots.
- Linear Inequality Solver
Solve linear inequalities in x like 3x − 5 < 7 or 2(x + 1) ≥ x − 4, flipping the sign correctly, with the answer in inequality and interval notation.
- Triangle Calculator
Solve any triangle from three known values (SSS, SAS or ASA): all sides, angles, area, perimeter and heights, using the law of sines and cosines.
- Average Return Calculator (Arithmetic vs Geometric)
Turn a list of yearly (or monthly) returns into the arithmetic average, the geometric average (annualized return), the total return, volatility and what $10,000 became.
- Crossword Solver (Pattern Search)
Find crossword answers from a letter pattern — like c?t or s__r_ — with an optional set of letters the answer must or must not contain.