Skip to content
Embed

Paste this on your site. The attribution link is required and is what makes embedding free.

Number Sequence Calculator — Free Online Sequence Analyzer

Analyze number sequences to detect patterns, predict next terms, and find formulas.

Enter at least 3 numbers

Sequence Analysis

arithmetic Sequence

Pattern

Common difference: 3

Formula

a(n) = 2 + 3(n-1)

Next 5 Terms

17.0000, 20.0000, 23.0000, 26.0000, 29.0000

Sequence Types Reference Table

Sequence Type Example Pattern Formula
Arithmetic (d=3) 2, 5, 8, 11, 14 +3 each term a(n) = 2 + 3(n-1)
Arithmetic (d=-5) 100, 95, 90, 85 -5 each term a(n) = 100 - 5(n-1)
Geometric (r=2) 3, 6, 12, 24, 48 x2 each term a(n) = 3 x 2^(n-1)
Geometric (r=0.5) 64, 32, 16, 8, 4 x0.5 each term a(n) = 64 x 0.5^(n-1)
Fibonacci 0, 1, 1, 2, 3, 5, 8 sum of prev 2 a(n) = a(n-1) + a(n-2)
Lucas Numbers 2, 1, 3, 4, 7, 11 sum of prev 2 L(n) = L(n-1) + L(n-2)

Related Calculators

About this calculator

Sequence Formulas

Arithmetic Sequence (nth term)

a(n) = a(1) + d(n - 1)

Geometric Sequence (nth term)

a(n) = a(1) x r^(n - 1)

Fibonacci Recurrence

a(n) = a(n-1) + a(n-2), with a(0) = 0, a(1) = 1

Arithmetic Series Sum

S(n) = n/2 x (a(1) + a(n)) = n/2 x (2a(1) + (n-1)d)

Geometric Series Sum

S(n) = a(1) x (1 - r^n) / (1 - r), where r != 1

Variables Explained

  • a(n): The nth term of the sequence, where n starts at 1 (or sometimes 0 for Fibonacci).
  • a(1): The first term of the sequence, which serves as the starting point for both formulas.
  • d: The common difference in an arithmetic sequence — the constant value added to get each next term.
  • r: The common ratio in a geometric sequence — the constant multiplier applied to get each next term.
  • S(n): The sum of the first n terms of the sequence (the partial sum or series).

Step-by-Step Example

Analyze the sequence: 5, 15, 45, 135, 405

  1. Check for arithmetic pattern: differences are 10, 30, 90, 270 (not constant). Not arithmetic.
  2. Check for geometric pattern: ratios are 15/5=3, 45/15=3, 135/45=3, 405/135=3 (constant!). Geometric with r=3.
  3. Formula: a(n) = 5 x 3^(n-1)
  4. Predict next terms: 405 x 3 = 1,215; 1,215 x 3 = 3,645; 3,645 x 3 = 10,935

The sequence is geometric with first term 5 and common ratio 3. Each term is exactly 3 times the previous one. The sum of the 5 given terms is 5 + 15 + 45 + 135 + 405 = 605, which can be verified with the formula: 5 x (1 - 3^5) / (1 - 3) = 5 x (-242) / (-2) = 605.

Sources

Disclaimer: This calculator is for informational and educational purposes only. Results are estimates and may not reflect exact values.

Last updated: November 3, 2026