Recursive Sequence Calculator

Enter initial terms and a recurrence relation to generate as many sequence terms as you need.

Define the Sequence

Comma-separated. Provide as many as your formula looks back.

Use a(n-1), a(n-2), … and operators +, -, *, /, ^

3100

Define a recurrence and click Generate Sequence

Copied!

Summary

Enter initial terms and a recurrence relation to generate as many sequence terms as you need.

How it works

  1. Enter one or more initial terms separated by commas (e.g. "1, 1" for Fibonacci).
  2. Type the recurrence formula referencing a(n-1), a(n-2), etc. (e.g. "a(n-1) + a(n-2)").
  3. Set how many terms to generate (up to 100).
  4. Click Generate — each term is computed from the formula and appended to the sequence.
  5. Copy the result or view the full table with index and value columns.

Use cases

  • Generate Fibonacci, Lucas, or Padovan numbers for number-theory study.
  • Explore diverging vs. converging sequences by changing the recurrence multiplier.
  • Compute arithmetic and geometric progressions without a spreadsheet.
  • Verify hand-computed recursive homework answers quickly.
  • Test custom difference equations for discrete dynamical-systems coursework.
  • Produce lookup tables for programming challenges (e.g. dynamic programming seeds).

Frequently Asked Questions

Last updated: 2026-06-13 · Reviewed by Nham Vu