Arithmetic, Geometric, Fibonacci & Pattern Finder
Last reviewed: April 2026
A number sequence calculator identifies the pattern in a series of numbers and computes the next terms. It recognizes arithmetic, geometric, Fibonacci-type, and polynomial sequences, and provides the explicit formula or recursive definition when possible.
A number sequence is an ordered list of numbers following a pattern. The three most common types are arithmetic (constant difference between terms, like 2, 5, 8, 11…), geometric (constant ratio between terms, like 3, 6, 12, 24…), and Fibonacci (each term is the sum of the two preceding terms: 1, 1, 2, 3, 5, 8…). This calculator generates terms and finds sums for any sequence type.
For an arithmetic sequence: the nth term = a₁ + (n−1)d, where d is the common difference. The sum of n terms = n(a₁ + aₙ)/2. For geometric: the nth term = a₁ × r^(n−1), where r is the common ratio. The sum = a₁(1 − rⁿ)/(1 − r). These formulas are essential in finance (compound interest is a geometric sequence) and physics (uniformly accelerated motion is arithmetic). See our Statistics Calculator for analyzing data sets.
| Sequence | Pattern | First 6 Terms | Formula |
|---|---|---|---|
| Arithmetic | Constant difference | 2, 5, 8, 11, 14, 17 | aₙ = a₁ + (n-1)d |
| Geometric | Constant ratio | 3, 6, 12, 24, 48, 96 | aₙ = a₁ × rⁿ⁻¹ |
| Fibonacci | Sum of prior two | 1, 1, 2, 3, 5, 8 | Fₙ = Fₙ₋₁ + Fₙ₋₂ |
| Triangular | Sum of 1 to n | 1, 3, 6, 10, 15, 21 | Tₙ = n(n+1)/2 |
| Square | Perfect squares | 1, 4, 9, 16, 25, 36 | n² |
A number sequence is an ordered list of numbers following a specific rule or pattern. Identifying the pattern allows you to predict future terms, find missing values, and understand the mathematical relationship governing the sequence. The two most fundamental sequence types are arithmetic (constant difference between consecutive terms) and geometric (constant ratio between consecutive terms). An arithmetic sequence like 3, 7, 11, 15, 19 has a common difference of 4, while a geometric sequence like 2, 6, 18, 54, 162 has a common ratio of 3. More complex sequences include polynomial sequences (differences of differences are constant), recursive sequences (each term depends on previous terms, like Fibonacci), and sequences defined by explicit formulas. For related mathematical concepts, see our Graphing Calculator and Equation Solver.
| Sequence Type | nth Term Formula | Example | Sum Formula |
|---|---|---|---|
| Arithmetic | aₙ = a₁ + (n-1)d | 2, 5, 8, 11, 14... | Sₙ = n(a₁ + aₙ)/2 |
| Geometric | aₙ = a₁ × r^(n-1) | 3, 6, 12, 24, 48... | Sₙ = a₁(1-rⁿ)/(1-r) |
| Fibonacci | aₙ = aₙ₋₁ + aₙ₋₂ | 1, 1, 2, 3, 5, 8, 13... | No simple closed form |
| Triangular numbers | aₙ = n(n+1)/2 | 1, 3, 6, 10, 15, 21... | Sₙ = n(n+1)(n+2)/6 |
| Square numbers | aₙ = n² | 1, 4, 9, 16, 25, 36... | Sₙ = n(n+1)(2n+1)/6 |
| Harmonic | aₙ = 1/n | 1, ½, ⅓, ¼, ⅕... | Diverges (no finite sum) |
Arithmetic sequences appear everywhere in daily life: counting by twos (2, 4, 6, 8...), calendar dates at regular intervals, equal payment schedules, and evenly spaced mile markers. The sequence is fully defined by two parameters: the first term (a₁) and the common difference (d). The nth term is aₙ = a₁ + (n-1)d, and the sum of the first n terms is Sₙ = n × (a₁ + aₙ) / 2 = n × (2a₁ + (n-1)d) / 2. This sum formula, attributed to young Carl Friedrich Gauss who reportedly discovered it at age 7 when asked to sum the integers from 1 to 100, shows that the sum grows quadratically — doubling the number of terms more than doubles the sum.
Arithmetic sequences model linear growth and depreciation. A car losing $2,500 in value each year follows an arithmetic sequence of values. Fixed-payment loan amortization creates an arithmetic sequence of declining interest payments (and correspondingly increasing principal payments). Temperature scales are arithmetic — the Celsius and Fahrenheit scales are related by a linear transformation where equal Celsius increments produce equal Fahrenheit increments. Arithmetic means (averages) and arithmetic progressions are fundamental to statistics, economics, and engineering. The arithmetic mean of a sequence is always the average of the first and last terms — a useful shortcut for summing any arithmetic series. For financial calculations involving regular payments, see our Savings Calculator and Compound Growth Calculator.
Geometric sequences model exponential growth and decay — phenomena that start slowly but accelerate dramatically. Compound interest follows a geometric sequence: $1,000 growing at 5% annually produces the sequence $1,000, $1,050, $1,102.50, $1,157.63, $1,215.51... Population growth, viral spread, radioactive decay, and technology adoption all follow geometric patterns. The key insight is that geometric growth eventually overwhelms any arithmetic (linear) growth, no matter how large the linear rate — this is why compounding is so powerful over long time horizons and why exponential processes (like pandemic spread) quickly exceed intuitive expectations.
The sum of an infinite geometric series with ratio |r| < 1 converges to S = a₁ / (1-r). This seemingly abstract formula has profound practical applications: it explains why a bouncing ball eventually stops (each bounce reaches a fixed fraction of the previous height, and the sum of all bounce heights is finite), determines the present value of a perpetuity in finance (infinite stream of payments), and appears in electrical engineering (signal attenuation through repeated reflections). For |r| ≥ 1, the sum diverges (grows without bound), which models runaway processes — population explosions, nuclear chain reactions, and viral phenomena that continue accelerating until constrained by external limits. Explore exponential concepts with our Radioactive Decay Calculator and Scientific Notation Calculator.
The Fibonacci sequence (1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144...) is defined recursively: each term is the sum of the two preceding terms. Despite its simple definition, the sequence appears throughout nature: the number of petals on flowers frequently follows Fibonacci numbers (lilies have 3, roses have 5, delphiniums have 8, marigolds have 13), sunflower seed spirals follow Fibonacci patterns, and nautilus shell growth approximates logarithmic spirals related to the Fibonacci sequence. The ratio of consecutive Fibonacci numbers converges to the golden ratio φ = (1 + √5) / 2 ≈ 1.6180339887..., an irrational number with unique mathematical properties that appears in art, architecture, financial analysis (Fibonacci retracement levels in trading), and algorithm design (Fibonacci heaps, Fibonacci search).
Identifying sequence patterns is a fundamental skill tested in standardized exams (SAT, GRE, GMAT, IQ tests) and used daily in programming (loops, algorithms, data structures). The method of finite differences — computing successive differences between terms — reveals the sequence type: constant first differences indicate arithmetic, constant second differences indicate quadratic, and constant ratios indicate geometric. For complex sequences, look for combinations of familiar patterns (e.g., alternating signs, interleaved sequences, or terms defined by multiple operations). Practice with increasingly complex patterns builds the pattern recognition ability that underlies mathematical reasoning. For related mathematical tools, see our Factorial Calculator, GCD & LCM Calculator, and Mixed Number Calculator.
Sequences are fundamental to computer science — arrays (ordered collections of data) are essentially sequences, and algorithms for searching, sorting, and processing data operate on sequences. Big-O notation describes how algorithm performance scales as sequence length grows: O(n) algorithms (linear search) process each element once, O(n log n) algorithms (merge sort) are the most efficient comparison-based sorts, and O(n²) algorithms (bubble sort) become impractical for large datasets. Understanding sequence behavior helps programmers predict performance — an O(n²) algorithm processing 1,000 elements runs in 1 million operations, but processing 1,000,000 elements requires 1 trillion operations, making it 1,000,000 times slower. Recursive algorithms often model sequence relationships directly, with Fibonacci computation being the classic example demonstrating how naive recursion (exponential time) compares to dynamic programming (linear time). Explore binary number sequences with our Binary Calculator.
See also: Proportion Calculator · Equation Solver · Scientific Notation Calculator · Prime Number Checker · Weighted GPA Calculator
→ Arithmetic sequences have a constant difference between consecutive terms. 3, 7, 11, 15, 19... has a common difference of 4. The nth term is a_n = 3 + (n−1)×4 = 4n − 1. The sum of n terms is n(a₁ + aₙ)/2. These sequences model linear growth like regular savings deposits or evenly spaced appointments.
→ Geometric sequences have a constant ratio between consecutive terms. 2, 6, 18, 54... has a common ratio of 3. The nth term is a_n = 2 × 3^(n−1). Geometric sequences model compound growth (interest, population), exponential decay, and many natural phenomena. Our Compound Interest Calculator is essentially a geometric sequence tool.
→ The Fibonacci sequence (1,1,2,3,5,8,13...) appears surprisingly often in nature. Each term is the sum of the previous two. The ratio of consecutive Fibonacci numbers converges to the golden ratio (φ ≈ 1.618). Spiral patterns in sunflowers, pinecones, and shells follow Fibonacci numbers. It's also used in algorithm analysis and financial trading.
→ If simple patterns don't fit, look for polynomial patterns. The sequence 1, 4, 9, 16, 25 isn't arithmetic or geometric — it's quadratic (n²). Take successive differences: 3, 5, 7, 9 (arithmetic). Constant second differences indicate a quadratic formula. Constant third differences indicate cubic. This "method of differences" identifies polynomial sequences systematically. Try our Probability Calculator for counting sequences.
See also: Compound Interest Calculator · Probability Calculator · Factorial Calculator · Permutation & Combination