Number Sequence Calculator
Generate number patterns, find any term, and calculate sequence sums. Explore arithmetic, geometric, Fibonacci, square, triangular, and prime sequences.
Sequence settings
Sequence results
| Term (n) | Value | Running sum |
|---|---|---|
| 1 | 3 | 3 |
What is a number sequence?
A number sequence is an ordered list of numbers that follows a rule. This calculator generates common patterns and reports the terms, the final value, and the sum of the generated terms.
Sequence formulas
- Arithmetic: aₙ = a₁ + (n − 1)d, where d is the common difference.
- Geometric: aₙ = a₁ × rⁿ⁻¹, where r is the common ratio.
- Fibonacci-style: each term after the first two equals the sum of the previous two terms.
- Square numbers: 1, 4, 9, 16, 25, …
- Triangular numbers: 1, 3, 6, 10, 15, …
- Prime numbers: 2, 3, 5, 7, 11, …
How to use this calculator
- Choose the type of sequence you want to generate.
- Enter the starting term and difference or ratio, where applicable.
- Choose how many terms to display, from 1 to 100.
- Select Generate sequence to see the terms, formula, sum, and running totals.
Frequently asked questions
What is the difference between arithmetic and geometric sequences?
An arithmetic sequence adds the same difference to each term. A geometric sequence multiplies each term by the same ratio.
Can I use negative or decimal values?
Yes. Arithmetic sequences support negative and decimal starting values and differences. Geometric sequences also support decimal or negative ratios.
How is the sum calculated?
The calculator adds all generated terms and shows a running total for each row. For very large geometric values, floating-point precision can affect the last digits.
Can I generate a custom Fibonacci sequence?
Yes. Select Fibonacci-style and enter both the first and second terms. Each following term is the sum of the two before it.
Why is the sequence limited to 100 terms?
The display limit keeps the results and table easy to read on desktop and mobile devices.