Number Sequence Calculator
Find the nth term and sum of arithmetic or geometric sequences. Shows the formula, pattern, and full working for any sequence.
Enter your values above to see the results.
Tips & Notes
- ✓Identify type: check differences (arithmetic) or ratios (geometric). Constant difference → arithmetic.
- ✓Arithmetic nth term: start + (n−1)×difference. 100th term of 3,7,11...: 3+99×4=399.
- ✓Sum of 1+2+3...+n = n(n+1)/2. Sum of 1+3+5...+(2n−1) = n². Classic results.
- ✓Geometric sum shortcut: double all terms minus first. For 1+2+4+8: 2(1+2+4+8)−1=31.
- ✓Test geometric: if a₂/a₁ = a₃/a₂ = a₄/a₃ = r, it is geometric with ratio r.
Common Mistakes
- ✗Arithmetic vs geometric confusion: 2,4,8,16 is geometric (ratio 2), not arithmetic (differences vary).
- ✗Off-by-one in nth term: 10th term of 3,7,11... is a₁+9d=3+36=39, not 3+10×4=43.
- ✗Geometric sum formula: denominator is (1−r), not (r−1). Check sign carefully.
- ✗Infinite geometric sum only converges for |r|<1. 1+2+4+8... diverges.
- ✗Assuming a pattern with only 2-3 terms — need at least 3-4 terms to identify type confidently.
Number Sequence Calculator Overview
A number sequence is an ordered list of numbers following a definable pattern. Identifying the type of sequence — and its governing rule — allows prediction of any term, calculation of the sum of any number of terms, and detection of underlying mathematical structure. From simple counting numbers (1,2,3,4...) to complex recursive sequences like Fibonacci, sequences are the discrete counterpart to continuous functions and appear throughout finance (payment schedules), physics (quantum energy levels), and computer science (algorithm analysis).
Arithmetic Sequence — each term increases by a constant difference d:
aₙ = a₁ + (n−1)d
EX: 3, 7, 11, 15, 19... → d=4, a₁=3 → a₁₀ = 3+9×4 = 39 | Sum of first 10 = 10/2×(3+39) = 210Geometric Sequence — each term multiplied by constant ratio r:
aₙ = a₁ × r^(n−1)
EX: 2, 6, 18, 54... → r=3, a₁=2 → a₇ = 2×3⁶ = 1,458 | Sum S₅ = 2×(1−3⁵)/(1−3) = 242Infinite geometric series — converges to a finite sum only when |r| < 1:
EX: 1+0.5+0.25+... = 1/(1−0.5) = 2 | EX: 0.333... = (1/3)/(1−1/10) ... = 1/3 exactlyIdentifying sequence type: - Constant differences → Arithmetic (linear growth) - Constant ratios → Geometric (exponential growth or decay) - Constant second differences → Quadratic (polynomial growth) - Each term = sum of two previous → Fibonacci-type (exponential with φ base) Sum formulas:
Arithmetic: Sₙ = n/2 × (2a₁+(n−1)d) | Sum 1 to 100: n=100, a₁=1, d=1 → 100/2×(2+99) = 5,050
Geometric: Sₙ = a₁×(1−rⁿ)/(1−r) | 1+2+4+8+16+32 (a₁=1,r=2,n=6): (1−64)/(1−2) = 63Recognizing which type of sequence you are dealing with determines the entire solution approach. Arithmetic sequences (constant difference) and geometric sequences (constant ratio) have closed-form formulas for any term and any sum. Fibonacci and other recursive sequences require knowing multiple previous terms. When a sequence is neither arithmetic nor geometric, look for a difference sequence: compute differences between consecutive terms — if those differences are constant, the original is arithmetic of degree 2, solvable with quadratic formulas. Sequences appear throughout applied mathematics in ways that are not always obvious. Loan amortization creates an arithmetic structure in payment counts. Population growth at a constant percentage rate is geometric. Algorithm efficiency classes — O(n), O(n²), O(2ⁿ) — correspond to arithmetic, polynomial, and geometric sequences in computational cost. Recognizing the sequence type behind a real-world problem reduces it to a standard formula rather than requiring case-by-case numerical computation.