Number Sequence Calculator
Generate terms, find the n-th term, and calculate series sums for arithmetic (common difference) and geometric (common ratio) sequences.
All formulas and computation matrices for this calculator execute directly in your browser with zero latency. Enter your parameters to see instant results.
Who Uses This Calculation & Why Accuracy Matters
Students, software engineers, mathematicians, test preparation candidates, and financial analysts use this number sequence calculator to identify sequence patterns (Arithmetic, Geometric, Fibonacci, Quadratic), determine explicit and recursive formulas, and calculate the n-th term and partial series sums (S_n).
An asset management accountant modeling a $40,000 industrial machine depreciating by a fixed $3,500 every year (arithmetic sequence: a₁ = 36,500, d = -3,500).
A microbiologist tracking bacteria splitting every 30 minutes (geometric sequence: 1, 2, 4, 8, 16... with common ratio r = 2).
An architect designing a theater with 20 seats in row 1 and each successive row adding 4 more seats, with 25 total rows.
Primary Mathematical Sequence Types & Structural Formulas
Characteristics, progression rules, and formulas across primary sequence families.
| Sequence Family | Defining Characteristic | N-th Term Explicit Formula (a_n) | Sum of First n Terms (S_n) | Example Sequence |
|---|---|---|---|---|
| Arithmetic Progression (AP) | Constant difference added: d = a_{k+1} - a_k | a_n = a₁ + (n - 1) × d | S_n = (n / 2) × (a₁ + a_n) | 3, 7, 11, 15, 19... (d = +4) |
| Geometric Progression (GP) | Constant ratio multiplied: r = a_{k+1} / a_k | a_n = a₁ × r^(n - 1) | S_n = a₁ × (1 - rⁿ) / (1 - r) [r ≠ 1] | 2, 6, 18, 54, 162... (r = 3) |
| Infinite Geometric Series | Geometric progression with |r| < 1 | Converges to 0 as n -> ∞ | S_∞ = a₁ / (1 - r) [Convergent sum] | 1/2, 1/4, 1/8, 1/16... (Sum = 1.0) |
| Fibonacci Sequence | Each term is sum of preceding two: F_n = F_{n-1} + F_{n-2} | Binet's: [φⁿ - (-φ)⁻ⁿ] / √5 | S_n = F_{n+2} - 1 | 0, 1, 1, 2, 3, 5, 8, 13, 21, 34... |
| Triangular Numbers | Number of dots in equilateral triangle grid | T_n = n(n + 1) / 2 | n(n + 1)(n + 2) / 6 | 1, 3, 6, 10, 15, 21, 28... |
| Quadratic Sequence | Second differences are constant (2a) | a_n = an² + bn + c | Polynomial summation formulas | 2, 6, 12, 20, 30... (Diffs: 4, 6, 8, 10) |
* φ (Golden Ratio) = (1 + √5) / 2 ≈ 1.6180339887...
Arithmetic, Geometric & Fibonacci Progression Equations
Arithmetic sequences increase by constant addition. Geometric sequences grow by constant multiplication. The Fibonacci sequence follows second-order linear recurrence.
The starting value of the sequence.
Constant difference between consecutive arithmetic terms.
Constant multiplier between consecutive geometric terms.
Positive integer position (1, 2, 3...).
Step-by-Step Worked Examples with Real Numbers
Worked Example 1: Finding the 50th Term and Sum of an Arithmetic Sequence
Constant difference is +6.
The 50th term is 299.
Sum of first 50 terms is 7,600.
Worked Example 2: Sum of an Infinite Geometric Series
Since |r| < 1, the infinite series converges.
The infinite sum converges exactly to 16.
Assumptions, Edge Cases & Common Calculation Mistakes
ℹ Underlying Algorithm Assumptions
- Term indices are positive integers n ∈ {1, 2, 3...}.
- Geometric ratio r ≠ 1 (if r = 1, all terms are identical and S_n = n × a₁).
- Infinite geometric series sums exist if and only if |r| < 1.
⚠ 3 Common Mistakes to Avoid
- Using the infinite geometric series formula when |r| ≥ 1, producing absurd results (e.g., 1 + 2 + 4 + 8... does NOT equal 1 / (1 - 2) = -1; it diverges to infinity).
- Off-by-one errors in term indices: the exponent in geometric sequences is n - 1, not n.
- Confusing an arithmetic sequence (linear growth) with a geometric sequence (exponential growth).