Skip to main content

Calcu.fit

Number Sequence Calculator: Find the Pattern, Nth Term, and Sum

Use this free number sequence calculator to find the pattern in a list of numbers. Enter the first few terms of your sequence, and the calculator tells you whether it is arithmetic, geometric, Fibonacci-like, or quadratic. It then shows the formula for the nth term, the next terms, and the sum of the first n terms. You can also enter a first term and a common difference or ratio to build a sequence from scratch. No signup needed.

Number sequence calculator

Your sequence

How to Use This Number Sequence Calculator

To find the pattern:

  1. Enter at least 3 or 4 terms of your sequence, separated by commas (for example, 3, 7, 11, 15).
  2. Click Calculate to see the pattern, the formula, and the next terms.

To build a sequence:

  1. Choose the type: arithmetic or geometric.
  2. Enter the first term, the common difference (or ratio), and how many terms you want.
  3. Click Calculate.

To find a specific term or a sum:

  1. Enter the term number n.
  2. Click Calculate to see the nth term and the sum of the first n terms.

What You’ll See in Your Results

  • The type of sequence and the pattern
  • The formula for the nth term
  • The next several terms
  • A specific term, such as the 10th or the 50th
  • The sum of the first n terms
  • A table of the terms, and a graph

What Is a Number Sequence?

A number sequence is an ordered list of numbers that follows a rule. Each number is called a term. The first term is a₁, the second is a₂, and the nth term is aₙ. Finding the rule lets you predict any term and add up many terms without listing them all.

Types of Sequences and Their Formulas

Arithmetic Sequence

You add the same number, the common difference (d), each time.

  • nth term: aₙ = a₁ + (n − 1) × d
  • Sum of the first n terms: Sₙ = n ÷ 2 × (2a₁ + (n − 1) × d), or Sₙ = n ÷ 2 × (a₁ + aₙ)
  • Common difference: d = a₂ − a₁
  • Number of terms: n = (aₙ − a₁) ÷ d + 1

Geometric Sequence

You multiply by the same number, the common ratio (r), each time.

  • nth term: aₙ = a₁ × rⁿ⁻¹
  • Sum of the first n terms: Sₙ = a₁ × (1 − rⁿ) ÷ (1 − r), for r ≠ 1
  • Sum of an infinite series (if −1 < r < 1): S = a₁ ÷ (1 − r)
  • Common ratio: r = a₂ ÷ a₁

Fibonacci Sequence

Each term is the sum of the two terms before it.

  • Rule: Fₙ = Fₙ₋₁ + Fₙ₋₂, starting with 1, 1 (or 0, 1)
  • Sequence: 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, …
  • The ratio of one term to the one before it gets closer to the golden ratio, about 1.618.

Quadratic Sequence

The differences between terms are not constant, but the differences of the differences (the second differences) are.

  • Rule: aₙ = A × n² + B × n + C
  • The second difference equals 2A.

Triangular Numbers

  • Formula: Tₙ = n × (n + 1) ÷ 2
  • Sequence: 1, 3, 6, 10, 15, 21, 28, …

Other Common Sequences

  • Square numbers: n² (1, 4, 9, 16, 25, …)
  • Cube numbers: n³ (1, 8, 27, 64, …)
  • Powers of 2: 2ⁿ (2, 4, 8, 16, 32, …)
  • Harmonic sequence: 1/n (1, 1/2, 1/3, 1/4, …)

How to Find the Pattern

  1. Check the differences. Subtract each term from the next. If the differences are all equal, the sequence is arithmetic.
  2. Check the ratios. Divide each term by the one before it. If the ratios are all equal, the sequence is geometric.
  3. Check the second differences. If the differences are not equal but their differences are, the sequence is quadratic.
  4. Check for the Fibonacci pattern. See if each term is the sum of the two before it.
  5. Look for known patterns, such as squares, cubes, powers, or triangular numbers.

Number Sequence Examples

Example 1: Arithmetic Sequence

The sequence is 3, 7, 11, 15, …

  • Common difference: 7 − 3 = 4
  • nth term: aₙ = 3 + (n − 1) × 4
  • 10th term: 3 + 9 × 4 = 39
  • Sum of the first 10 terms: 10 ÷ 2 × (2 × 3 + 9 × 4) = 5 × 42 = 210

Example 2: Geometric Sequence

The sequence is 2, 6, 18, 54, …

  • Common ratio: 6 ÷ 2 = 3
  • nth term: aₙ = 2 × 3ⁿ⁻¹
  • 8th term: 2 × 3⁷ = 4,374
  • Sum of the first 8 terms: 2 × (3⁸ − 1) ÷ (3 − 1) = 6,560

Example 3: Infinite Geometric Series

The sequence is 8, 4, 2, 1, …

  • Common ratio: 4 ÷ 8 = 0.5
  • Sum of all terms: 8 ÷ (1 − 0.5) = 16

The sum approaches 16 but never goes past it.

Example 4: Fibonacci Sequence

The sequence is 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, …

  • 10th term: 55
  • 20th term: 6,765
  • Ratio of the 20th term to the 19th: 6,765 ÷ 4,181 ≈ 1.618, the golden ratio

Example 5: Quadratic Sequence

The sequence is 2, 5, 10, 17, 26, …

  • First differences: 3, 5, 7, 9
  • Second differences: 2, 2, 2, so A = 2 ÷ 2 = 1
  • Rule: aₙ = n² + 1
  • 10th term: 10² + 1 = 101

Example 6: Triangular Numbers

The sequence is 1, 3, 6, 10, 15, …

  • Rule: Tₙ = n × (n + 1) ÷ 2
  • 20th term: 20 × 21 ÷ 2 = 210

Example 7: Find the Missing Terms

The sequence is 5, __, __, 20, and it is arithmetic.

  • The difference between the 1st and 4th terms is 15 over 3 steps, so d = 5.
  • The sequence is 5, 10, 15, 20.

Example 8: How Many Terms?

How many terms are in 4, 9, 14, …, 99?

  • n = (99 − 4) ÷ 5 + 1 = 20 terms

Example 9: Sum of 1 to 100

The sequence is 1, 2, 3, …, 100.

  • Sum: 100 ÷ 2 × (1 + 100) = 5,050

Example 10: Weekly Savings

You save $50 in week 1 and add $10 more each week.

  • Week 52: 50 + 51 × 10 = $560
  • Total after 52 weeks: 52 ÷ 2 × (2 × 50 + 51 × 10) = 26 × 610 = $15,860

Example 11: Compound Growth

$1,000 grows at 5% a year. The yearly balances form a geometric sequence with ratio 1.05.

  • After 10 years: 1,000 × 1.05¹⁰ = $1,628.89

Example 12: Doubling Sequence

The sequence is 1, 2, 4, 8, 16, 32, 64, 128.

  • Sum of the 8 terms: 1 × (2⁸ − 1) ÷ (2 − 1) = 255

Example 13: A Negative Ratio

The sequence is 3, −6, 12, −24, …

  • Common ratio: −2
  • 6th term: 3 × (−2)⁵ = −96

A negative ratio makes the signs alternate.

Arithmetic vs. Geometric Sequences

 ArithmeticGeometric
RuleAdd the same numberMultiply by the same number
Constant valueCommon difference dCommon ratio r
GrowthLinear (a straight line)Exponential (a curve)
nth terma₁ + (n − 1)da₁ × rⁿ⁻¹
Example5, 8, 11, 145, 10, 20, 40
Real-life examplesSaving a fixed amount each weekInterest, population growth

One Pattern, Many Answers

A short list of numbers can fit more than one rule. For example, 1, 2, 4, … could continue as 8, 16 (doubling), or as 7, 11 (adding 1, then 2, then 3 more each time). The calculator shows the simplest pattern that fits your numbers. Give it more terms for a more reliable answer, and check that the result makes sense for your problem.

Tips for Working with Sequences

  • Enter at least 4 terms for a reliable pattern. Three terms may fit several rules.
  • Use commas to separate terms. You can use decimals and negative numbers.
  • Check the common difference or ratio against every pair of terms, not only the first two.
  • For a long sum, use the sum formula instead of adding term by term.
  • For an infinite geometric series, the ratio must be between −1 and 1, or the sum does not settle on a number.
  • For a word problem, write down a₁, the difference or ratio, and what you are asked to find.
  • Check your answer by listing the first few terms.

Number Sequence Calculator vs. Other Tools

  • Arithmetic Sequence Calculator: arithmetic sequences in more detail.
  • Geometric Sequence Calculator: geometric sequences in more detail.
  • Fibonacci Calculator: Fibonacci numbers and the golden ratio.
  • Scientific Calculator: general math and functions.
  • Percentage Calculator: percent change and basic percentage math.
  • Compound Interest Calculator: growth of money over time.

Frequently Asked Questions (FAQ)

What is a number sequence?

 An ordered list of numbers that follows a rule. Each number is a term.

Check the differences between terms (arithmetic), the ratios between terms (geometric), the second differences (quadratic), and whether each term is the sum of the previous two (Fibonacci).

aₙ = a₁ + (n − 1) × d. For 3, 7, 11, 15, the 10th term is 3 + 9 × 4 = 39.

aₙ = a₁ × rⁿ⁻¹. For 2, 6, 18, 54, the 8th term is 2 × 3⁷ = 4,374.

Sₙ = n ÷ 2 × (2a₁ + (n − 1) × d). The sum of 1 to 100 is 100 ÷ 2 × (1 + 100) = 5,050.

Sₙ = a₁ × (1 − rⁿ) ÷ (1 − r). For 2, 6, 18, … with 8 terms, the sum is 6,560.

When the common ratio is between −1 and 1. The sum is a₁ ÷ (1 − r). For 8, 4, 2, …, the sum is 16.

A sequence where each term is the sum of the two terms before it: 1, 1, 2, 3, 5, 8, 13, and so on.

Find the rule, then apply it to the last term. For 3, 7, 11, 15, add 4 to get 19.

Yes. A short list can fit more than one pattern. More terms make the answer more reliable.

A sequence whose second differences are constant. The nth term has an n² part, such as n² + 1.

Yes. It is free, with no registration and no limits.

It uses exact formulas. For a list of numbers it finds the simplest matching pattern, so check that it fits your problem.

Disclaimer

This calculator is for general informational and educational purposes only. Results are based on the numbers you enter, and a short list of numbers can fit more than one pattern. Check that the answer makes sense for your problem.