Number Pattern Finder
Enter a comma-separated list of numbers to detect the pattern, predict the next 5 terms, and get the nth-term formula.
What Are Number Patterns?
A number pattern is any sequence of numbers governed by a consistent rule. Recognising patterns is a core skill in mathematics — it underpins algebra, calculus, and even data science. When you spot the rule, you can predict every future term and write a compact formula that describes the entire infinite sequence.
Patterns appear everywhere: the way bacteria populations double, the way distances between branches on a fern are proportional, or the way musical notes relate to each other. This tool automatically checks your sequence against the most common mathematical patterns so you get an instant identification.
Types of Number Sequences
The most important families of sequences you will encounter are:
Arithmetic Sequences
Each term is obtained by adding a fixed number called the common difference (d) to the previous term. Example: 5, 10, 15, 20 has d = 5. The nth term is a + (n − 1)d. These sequences model uniform growth such as saving a fixed amount of money each month.
Geometric Sequences
Each term is multiplied by a fixed number called the common ratio (r). Example: 2, 6, 18, 54 has r = 3. The nth term is a × r^(n − 1). These describe exponential growth (compound interest, population growth) and exponential decay (radioactive half-life).
Fibonacci-Like Sequences
Each term is the sum of the two terms before it. The classic Fibonacci sequence is 1, 1, 2, 3, 5, 8, 13, 21... The ratio of successive terms converges to the golden ratio φ ≈ 1.618. Fibonacci patterns appear in flower petal counts, spiral shells, and galaxy arms.
Figurate Numbers
Square numbers (1, 4, 9, 16, 25…) represent dots arranged in squares; the nth term is n². Triangular numbers (1, 3, 6, 10, 15…) represent dots in triangular arrays; the nth term is n(n+1)/2. Cube numbers (1, 8, 27, 64…) extend the concept to three dimensions; nth term is n³.
How to Find a Pattern — Step-by-Step
- Calculate first differences — subtract each term from the next. If all differences are equal, it's arithmetic.
- Calculate ratios — divide each term by the previous. If all ratios are equal, it's geometric.
- Check for Fibonacci rule — does term 3 = term 1 + term 2, and so on for every subsequent term?
- Check figurate formulas — do the numbers fit n², n³, or n(n+1)/2?
- Calculate second differences — if second differences are constant, the sequence follows a quadratic formula.
- Look for prime numbers — if all terms are prime, it may be a sub-sequence of primes.
Common Number Patterns
| Pattern Type | Example | nth Term | Key Property |
|---|---|---|---|
| Arithmetic | 3, 7, 11, 15 | a+(n−1)d | Constant difference d |
| Geometric | 2, 6, 18, 54 | a·r^(n−1) | Constant ratio r |
| Square numbers | 1, 4, 9, 16, 25 | n² | Perfect squares |
| Cube numbers | 1, 8, 27, 64 | n³ | Perfect cubes |
| Triangular | 1, 3, 6, 10, 15 | n(n+1)/2 | Triangular dot arrays |
| Fibonacci | 1, 1, 2, 3, 5, 8 | T(n−1)+T(n−2) | Sum of two prior terms |
| Powers of 2 | 1, 2, 4, 8, 16 | 2^(n−1) | Doubling sequence |