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
—
Terms
—
First Term
—
Last Term
Sequence
Term Table
| n | a(n) |
|---|
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
- Enter one or more initial terms separated by commas (e.g. "1, 1" for Fibonacci).
- Type the recurrence formula referencing a(n-1), a(n-2), etc. (e.g. "a(n-1) + a(n-2)").
- Set how many terms to generate (up to 100).
- Click Generate — each term is computed from the formula and appended to the sequence.
- 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