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
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
GCF Calculator
Find the Greatest Common Factor of two or more numbers using the Euclidean algorithm.
LCM Calculator
Find the Least Common Multiple of two or more numbers with prime factorization method.
Factor Calculator
Find all factors, factor pairs, and determine if a number is prime or composite.
Prime Factorization Calculator
Break down any number into its prime factors with a visual factor tree.
Standard Deviation Calculator
Calculate standard deviation, variance, and other statistical measures for data sets.
Compound Interest Calculator
Project investment growth with compound interest over any time period.
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
- Check for arithmetic pattern: differences are 10, 30, 90, 270 (not constant). Not arithmetic.
- Check for geometric pattern: ratios are 15/5=3, 45/15=3, 135/45=3, 405/135=3 (constant!). Geometric with r=3.
- Formula: a(n) = 5 x 3^(n-1)
- 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
- Khan Academy — Sequences and Series: khanacademy.org
- Math is Fun — Number Sequences: mathsisfun.com
- Purplemath — Sequences and Series: purplemath.com
Disclaimer: This calculator is for informational and educational purposes only. Results are estimates and may not reflect exact values.
Last updated: November 3, 2026