Home / Math Calculators / Number Sequence Calculator

Number Sequence Calculator

Generate number patterns, find any term, and calculate sequence sums. Explore arithmetic, geometric, Fibonacci, square, triangular, and prime sequences.

Sequence settings

Can be positive, negative, or zero.
Generate 1–100 terms for a readable result.
Calculations run in your browser. Very large geometric values may be displayed in scientific notation.

Sequence results

Generated sequence
3, 7, 11, 15, 19, 23, 27, 31, 35, 39
Arithmetic rule: aₙ = a₁ + (n − 1)d
Last generated term39
Sum of terms210
Number of terms10
Pattern typeArithmetic
Start at 3 and add 4 each time. The 10th term is 3 + (10 − 1) × 4 = 39.
Term-by-term table
Term (n)ValueRunning sum
133

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

  1. Choose the type of sequence you want to generate.
  2. Enter the starting term and difference or ratio, where applicable.
  3. Choose how many terms to display, from 1 to 100.
  4. 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.