Sequence Calculator

Stuck on a number sequence like 3, 7, 11, 15, … and need the 100th term or the sum of the first 50 terms? Maybe you’ve got a custom recurrence and want to avoid manual calculations. A sequence calculator gives you the answer in seconds.

A sequence is an ordered list of numbers following a specific rule. Our sequence calculator is a free online tool that finds missing terms, any particular term (the n‑th term), or the sum of a series for several common types–and can even infer the rule from a few given numbers.

Simply provide the first few terms of your sequence, choose the type (arithmetic, geometric, Fibonacci, or custom), and the calculator instantly displays the result you need.

Sequence Type Choose the pattern or auto-detect from given terms
Arithmetic Parameters
Each term = previous + d. Example: 5, 9, 13, 17, … → d = 4
Find Which term to find: 1 = first, 2 = second, …

What Can You Do with a Sequence Calculator?

The tool works with numerical patterns of all kinds. After you enter the initial values, it handles three main tasks:

  • Compute the n‑th term – get any term in the sequence without writing out all preceding ones. For example, find the 50th term of 5, 9, 13, 17, … in a single step.
  • Calculate the sum of the first n terms – add up an arithmetic or geometric progression, even if it’s hundreds of terms long.
  • Generate the next terms – supply the first two or three numbers, and the calculator continues the sequence by applying the detected rule.
  • Identify the rule – with an auto‑detect option, it checks differences and ratios to tell whether you’re dealing with a linear, exponential, or Fibonacci‑like progression.

No matter if you’re verifying homework, analyzing a series for a project, or just curious about a pattern, the sequence calculator eliminates arithmetic mistakes and saves time.

Types of Sequences You Can Compute

The calculator covers the most frequently used sequences.

Arithmetic sequence – each term increases by a constant difference d. Example: 2, 7, 12, 17, … (d = 5). You need at least two terms to define it.

Geometric sequence – each term is multiplied by a constant ratio r. Example: 3, 6, 12, 24, … (r = 2). For infinite geometric series where |r| < 1, the tool also returns the sum to infinity.

Fibonacci sequence and Lucas variations – a recurrence where each new term equals the sum of the two previous ones. Starting with 1,1 gives the classic Fibonacci series; change the initial pair to obtain Lucas numbers or custom sequences.

Square, cube, and triangular numbers – predefined rules such as , , and n(n+1)/2 are built in. Just set the type and the calculator generates the sequence.

Custom recurrences – you can define your own rule, e.g., a_n = 2*a_{n-1} + 1. Enter the first term(s) and the recurrence relation, and the tool computes as many terms as required.

Formulas the Sequence Calculator Uses

Understanding what happens behind the scenes helps you trust the results.

Sequence typen‑th term formulaSum of first n terms
Arithmeticaₙ = a₁ + (n–1)dSₙ = n/2 (2a₁ + (n–1)d)
Geometricaₙ = a₁ · rⁿ⁻¹Sₙ = a₁ (1 – rⁿ)/(1–r) (r≠1)
Fibonacciaₙ = aₙ₋₁ + aₙ₋₂Not a simple closed form; the calculator sums iteratively
Triangularaₙ = n(n+1)/2Sₙ = n(n+1)(n+2)/6

For an arithmetic progression, the difference d is found directly from any two consecutive terms. For a geometric progression, the ratio r is the quotient of a term and its predecessor. The infinite geometric sum S = a₁/(1–r) is applied automatically when you request an “infinite” calculation and |r| < 1.

Worked Examples

Example 1 – Arithmetic term and sum
Sequence: 5, 9, 13, 17, … (d = 4).
Find the 30th term: a₃₀ = 5 + (29)×4 = 121.
Sum of the first 30 terms: S₃₀ = 30/2 × (5 + 121) = 15 × 126 = 1,890.

Example 2 – Geometric sum to infinity
Sequence: 8, 4, 2, 1, … (r = 0.5).
Infinite sum: S = 8/(1 – 0.5) = 8/0.5 = 16.

Example 3 – Fibonacci-like custom series
Start with 2, 2. The rule: next term = sum of previous two.
Sequence: 2, 2, 4, 6, 10, 16, 26, …
The 10th term, computed step by step, is 178. The calculator does this without iteration on your side.

In each case, entering the first few terms and selecting the appropriate type delivers the result immediately.

Whether you’re preparing for a math exam, checking a formula, or exploring number patterns, the sequence calculator turns tedious manual work into a quick, error‑free process. There’s no download or sign‑up–just open the page and compute.

Frequently Asked Questions

What is the formula for an arithmetic sequence?
An arithmetic sequence has a constant difference d between terms. The nth term is a_n = a_1 + (n-1)d, and the sum of the first n terms is S_n = n/2 (a_1 + a_n) or n/2 (2a_1 + (n-1)d). Our calculator applies these formulas automatically.
Can the sequence calculator detect the pattern from given numbers?
Yes, if you enter the first few terms and select “Auto-detect” or a specific type, the tool analyzes the differences or ratios to identify whether the sequence is arithmetic, geometric, or follows another common rule. For custom patterns, you can define your own recurrence.
How do I calculate the sum of an infinite geometric series?
For a geometric sequence with first term a₁ and common ratio r (|r| < 1), the infinite sum is S = a₁/(1 - r). Enter the starting term and ratio in the sequence calculator, choose geometric type, and set n to a very large value or select the infinite sum option to get the result.
Does the calculator support Fibonacci-like sequences?
Absolutely. You can enter the first two terms (default 1,1) and the tool recognizes the recurrence a_n = a_{n-1} + a_{n-2}. It will then compute any term of the Fibonacci sequence or a Lucas-like variant if you provide different starting numbers.
What types of sequences can I compute besides arithmetic and geometric?
The calculator handles square numbers (n²), cubes (n³), triangular numbers, and user-defined recurrences. Simply choose “Custom” and enter the rule, for example a_n = a_{n-1} * 2 + 1, and the tool will generate the sequence accordingly.
  1. Nth Term Calculator
  2. Discriminant Calculator | Solve Quadratic Equations Instantly
  3. Exponential Function Calculator - Free Online Tool
  4. Polynomial Calculator: Evaluate, Solve & Simplify Polynomials Online
  5. Free Online Equation Solver - Linear, Quadratic & More
  6. Find X Calculator