Number Sequence Calculator Pattern Finder

    Number Sequence Calculator

    Calculate arithmetic, geometric, and Fibonacci sequences with step-by-step solutions and visualizations
    Arithmetic
    Geometric
    Fibonacci

    Sequence Calculators

    Choose a sequence type and enter your parameters

    A number sequence is an ordered list of numbers following a rule. This calculator identifies the pattern in a sequence, finds the nth term, and generates any number of additional terms. It handles arithmetic sequences (constant difference), geometric sequences (constant ratio), Fibonacci-type sequences, and polynomial sequences. Understanding how to identify and extend sequences is fundamental to mathematics, from algebra through calculus and combinatorics.

    Types of Number Sequences

    The first step in analyzing any sequence is identifying its type. Check for a constant difference (arithmetic), then a constant ratio (geometric), then look at differences between terms. If the differences themselves form a pattern, you likely have a polynomial sequence. If none of these apply, check for recursive patterns like Fibonacci.

    TypePatternExamplenth Term Formula
    ArithmeticConstant difference (d)3, 7, 11, 15... (+4)aₙ = a₁ + (n-1)d
    GeometricConstant ratio (r)2, 6, 18, 54... (×3)aₙ = a₁ × rⁿ⁻¹
    Fibonacci-typeSum of previous two1, 1, 2, 3, 5, 8, 13...aₙ = aₙ₋₁ + aₙ₋₂
    Square numbers1, 4, 9, 16, 25...aₙ = n²
    Cube numbers1, 8, 27, 64, 125...aₙ = n³
    Triangular numbersn(n+1)/21, 3, 6, 10, 15...aₙ = n(n+1)/2
    Powers of 22ⁿ2, 4, 8, 16, 32...aₙ = 2ⁿ

    Formulas for Common Sequences

    Arithmetic and geometric sequences have closed-form formulas that let you jump directly to any term without calculating all previous terms. The sum formulas (series) are equally useful in finance (annuities), physics (wave superposition), and computer science (algorithm analysis).

    Arithmetic: aₙ = a₁ + (n-1)d (d = common difference) Geometric: aₙ = a₁ × rⁿ⁻¹ (r = common ratio) Arithmetic Sum: Sₙ = n/2 × (a₁ + aₙ) = n/2 × [2a₁ + (n-1)d] Geometric Sum (finite): Sₙ = a₁ × (1-rⁿ)/(1-r) Geometric Sum (infinite, |r|<1): S∞ = a₁ / (1-r)

    Example: Arithmetic sequence 3,7,11... Find 20th term and sum of 20 terms. d=4. a₂₀ = 3+(20-1)×4 = 79. S₂₀ = 20/2 × (3+79) = 10 × 82 = 820.

    Identifying Patterns: Step-by-Step Method

    When given an unfamiliar sequence, use this systematic approach. Taking successive differences reveals the underlying polynomial degree.

    Given sequence: 2, 7, 14, 23, 34... Step 1 — First differences: 5, 7, 9, 11... (not constant → not arithmetic) Step 2 — Second differences: 2, 2, 2... (constant → quadratic sequence) Step 3 — Since 2nd diff = 2, leading term is (2/2!)n² = n² Step 4 — Fit: n²: 1, 4, 9, 16, 25... subtract from sequence: 1, 3, 5, 7, 9 (arithmetic, +2) Step 5 — Linear term: 2n - 1 Final formula: aₙ = n² + 2n - 1

    The degree of the polynomial equals the position of the first constant difference. 1st differences constant → linear. 2nd differences constant → quadratic. 3rd constant → cubic.

    Sequences in Real-World Applications

    Number sequences are not just abstract mathematics — they model real phenomena in finance, biology, computer science, and physics.

    ApplicationSequence TypeExample
    Compound interest growthGeometricBalance doubles with fixed-period compounding
    Loan amortizationArithmetic (payments) + Geometric (balance)Equal payments, declining interest
    Population growthGeometric (exponential)Bacteria doubling every 20 minutes
    Drug concentration in bloodGeometric (decay)Half-life: concentration halves each period
    Fibonacci in natureFibonacciSunflower spirals, nautilus shell
    Binary countingPowers of 21, 2, 4, 8, 16... (bit positions)

    Frequently Asked Questions

    How do I find the formula for a sequence?

    Step 1: Check if differences are constant — if yes, it is arithmetic with d = that constant. Step 2: If not, check if ratios are constant — if yes, geometric with r = that ratio. Step 3: If neither, take differences between consecutive terms. If those second differences are constant, you have a quadratic sequence. Step 4: Continue taking differences until you find a constant — the number of steps to reach a constant is the polynomial degree. For sequences like 1, 4, 9, 16: these are perfect squares (n²), so aₙ = n².

    What is the Fibonacci sequence and where does it appear in nature?

    Fibonacci sequence: 1, 1, 2, 3, 5, 8, 13, 21, 34, 55... Each term is the sum of the previous two. It appears in the spiral arrangement of sunflower seeds, pine cone scales, petal counts of many flowers (typically 3, 5, 8, or 13 petals), branching patterns of trees, and the spiral of nautilus shells. The ratio of consecutive Fibonacci terms approaches the golden ratio φ ≈ 1.618, explaining its aesthetic appeal. In mathematics, Fibonacci numbers appear in Pascal's Triangle (along the shallow diagonals) and in combinatorics problems about climbing stairs.

    What is an infinite geometric series and when does it converge?

    An infinite geometric series converges to a finite sum only when |r| < 1 (the ratio is between -1 and 1). The sum formula is S∞ = a₁ / (1-r). Example: 1 + 1/2 + 1/4 + 1/8 + ... (r = 0.5) converges to 1/(1-0.5) = 2. This models scenarios like repeated drug doses reaching a steady-state concentration or the total path length of a bouncing ball. When |r| ≥ 1, the series diverges — the sum grows without bound.

    What is Pascal's Triangle?

    Pascal's Triangle is a triangular array where each entry is the sum of the two entries directly above it. Row n contains the binomial coefficients C(n,0), C(n,1), ..., C(n,n) for the expansion of (a+b)ⁿ. It contains many embedded sequences: diagonal 1 is natural numbers, diagonal 2 is triangular numbers, row sums are powers of 2 (1, 2, 4, 8, 16...), and the shallow diagonals sum to Fibonacci numbers. It also contains information about probability distributions — the entries in row n are proportional to the binomial distribution B(n, 0.5).

    How are arithmetic sequences used in real life?

    Arithmetic sequences appear whenever a quantity increases by a fixed amount each period. Examples: saving a fixed amount each month ($100, $200, $300...); seats in a theater where each row has 2 more seats than the row before; simple interest (interest is the same each period); taxi fares (flat rate + fixed cost per mile); depreciation using the straight-line method (asset value decreases by the same amount each year). The sum formula gives the total of all terms — useful for calculating total savings after n months or total revenue from staged pricing.