Skip to content

Sequence Calculator

Arithmetic and geometric sequences: nth term, sum of n terms, infinite geometric series, d or r from two terms, and sigma-notation sums with exact fractions.

Calculator Details

Term 10 (aₙ):39See results ↓

Arithmetic (add the same difference), geometric (multiply by the same ratio) or a sigma-notation sum

The first term and the difference or ratio, or any two terms

A number, decimal or fraction such as 1/2

Added to each term to get the next

Find the nth term and the sum of the first n terms

How many terms until the sequence reaches this value

Your Results

Term 10 (aₙ): 39

Term 10 (aₙ)

39

aₙ = 3 + (n − 1) × 4

Sum of the first 10 terms

210

Exact

Common difference d

4

First term a₁ = 3

The arithmetic sequence starting at 3 with difference 4 has term 10 = 39, and the first 10 terms add up to 210.

Compare scenarios

Save these inputs as a scenario, change them, and compare the results side by side.

Loading, available in a moment

The first 10 terms

The first 10 terms

Detailed Breakdown

Terms and partial sums (first 20)
nTermRunning sum
133
2710
31121
41536
51955
62378
727105
831136
935171
1039210

How This Calculator Works

How it's calculated

Arithmetic: aₙ = a₁ + (n − 1)d and Sₙ = n(a₁ + aₙ)/2. Geometric: aₙ = a₁rⁿ⁻¹, Sₙ = a₁(1 − rⁿ)/(1 − r), and S∞ = a₁/(1 − r) when |r| < 1. Sigma notation adds the expression for each whole k between the limits; Σk, Σk² and Σk³ also have closed forms.

aₙ = 3 + (n − 1) × 4
a₁ = 3, aₙ = aₙ₋₁ + 4
a10 = 39; S10 = 210

Frequently Asked Questions

What is the difference between an arithmetic and a geometric sequence?

An arithmetic sequence adds the same amount each time (3, 7, 11, 15… adds 4); a geometric sequence multiplies by the same amount (2, 6, 18, 54… multiplies by 3). Arithmetic sequences grow in a straight line; geometric ones grow or shrink exponentially.

How do I find the nth term of an arithmetic sequence?

Use aₙ = a₁ + (n − 1)d. For 3, 7, 11, … the first term is 3 and the difference is 4, so the 10th term is 3 + 9 × 4 = 39.

How do I find the sum of an arithmetic series?

Multiply the number of terms by the average of the first and last: Sₙ = n(a₁ + aₙ)/2. The first 10 terms of 3, 7, 11, … add up to 10 × (3 + 39)/2 = 210. Gauss is said to have used the same idea as a schoolboy to add 1 to 100 instantly: 100 × 101/2 = 5050.

What is the formula for a geometric series?

Sₙ = a₁(1 − rⁿ)/(1 − r) for r ≠ 1, and n × a₁ when r = 1. For 2, 6, 18, … the first 6 terms add up to 2(1 − 3⁶)/(1 − 3) = 728.

When does an infinite geometric series have a sum?

Only when the ratio is between −1 and 1. Then the terms shrink fast enough that the total approaches a₁/(1 − r): 1 + 1/2 + 1/4 + 1/8 + … = 2. With |r| ≥ 1 the terms do not shrink and the sum grows without limit (or swings back and forth).

How do I find the sequence from two terms?

Choose "Any two terms". For an arithmetic sequence, d = (aₖ − aₘ)/(k − m): if a₃ = 10 and a₈ = 25, d = 15/5 = 3 and a₁ = 4. For a geometric one, r is the (k − m)th root of aₖ/aₘ: if a₂ = 6 and a₅ = 162, r³ = 27, so r = 3 and a₁ = 2.

How do I read sigma notation?

Σ (the Greek capital sigma) means "add up". Σ from k = 1 to 10 of k² means 1² + 2² + … + 10² = 385. The number under Σ is where k starts, the number on top is where it stops, and the expression on the right is what you add for each k.

Are there shortcuts for sums of powers?

Yes: 1 + 2 + … + n = n(n + 1)/2, 1² + 2² + … + n² = n(n + 1)(2n + 1)/6 and 1³ + 2³ + … + n³ = [n(n + 1)/2]². The calculator uses them as a check when your expression is k, k^2 or k^3 and the sum starts at 1 or later.

Arithmetic and geometric sequence formulas from OpenStax Precalculus 2e (chapter 9) and power-sum closed forms from the NIST Digital Library of Mathematical Functions (§24.4), computed with exact fractions wherever the inputs allow; a ratio that is an irrational root (from two terms) is rounded to 12 significant digits. Sigma sums take up to 10,000 terms of an expression in k using + − × ÷, whole-number powers and brackets. Not included: harmonic, Fibonacci-type and other recursive sequences (see the Fibonacci calculator), convergence tests for general infinite series, products (Π notation), and functions such as sin or log inside a sum.

Sequence Calculator: Arithmetic and Geometric Sequences, Series and Sigma Sums

By FindMySum · Last reviewed

A sequence is an ordered list of numbers that follows a rule. The two most important rules are adding the same number each time (an arithmetic sequence) and multiplying by the same number each time (a geometric sequence). They turn up everywhere: regular savings, loan payments, population growth, the bounce of a ball, the seats in each row of a theatre. This calculator finds any term, the sum of the first n terms, the infinite sum when one exists, the sequence from two known terms, and how many terms it takes to reach a value. It also evaluates sums in sigma notation. The opening example is the arithmetic sequence 3, 7, 11, 15, …

Arithmetic sequences

Each term is the previous one plus a common difference d:

aₙ = a₁ + (n − 1) × d

For 3, 7, 11, 15, … the first term is a₁ = 3 and d = 4, so the 10th term is 3 + 9 × 4 = 39. The recursive form says the same thing step by step: a₁ = 3, aₙ = aₙ₋₁ + 4.

To add the first n terms, pair the first with the last, the second with the second-to-last, and so on; every pair has the same total, so:

Sₙ = n × (a₁ + aₙ) ÷ 2

The first 10 terms add up to 10 × (3 + 39) ÷ 2 = 210. This is the trick attributed to the young Carl Friedrich Gauss, who added 1 to 100 as 50 pairs of 101: 5,050.

A negative difference gives a decreasing sequence (20, 17, 14, …), and a fractional one works just as well (1, 1.5, 2, …). The calculator keeps fractions exact, so 1/3 + 1/3 + 1/3 is exactly 1.

Geometric sequences

Each term is the previous one times a common ratio r:

aₙ = a₁ × rⁿ⁻¹

For 2, 6, 18, 54, … a₁ = 2 and r = 3, so the 6th term is 2 × 3⁵ = 486. Geometric sequences grow (or shrink) very quickly: the 20th term of this one is over 2 billion.

The sum of the first n terms is:

Sₙ = a₁ × (1 − rⁿ) ÷ (1 − r) (and n × a₁ when r = 1)

For the example, S₆ = 2 × (1 − 729) ÷ (1 − 3) = 728. The formula comes from writing the sum, multiplying it by r and subtracting: almost every term cancels.

Infinite geometric series

When the ratio is between −1 and 1, each term is smaller than the last and the sum settles towards a finite limit:

S∞ = a₁ ÷ (1 − r), valid only when |r| < 1

So 1 + 1/2 + 1/4 + 1/8 + … = 1 ÷ (1 − 1/2) = 2. After 10 terms the partial sum is 1023/512 = 1.998; the gap to 2 halves with every further term. With |r| ≥ 1 the terms don't shrink and there is no finite sum; the calculator shows the infinite sum only when it exists.

Finding a sequence from two terms

If you know two terms but not the start, the calculator works backwards.

  • Arithmetic: d = (aₖ − aₘ) ÷ (k − m). With a₃ = 10 and a₈ = 25, d = 15 ÷ 5 = 3, and a₁ = 10 − 2 × 3 = 4.
  • Geometric: r^(k − m) = aₖ ÷ aₘ, so r is a root. With a₂ = 6 and a₅ = 162, r³ = 27 and r = 3, so a₁ = 2.

When the gap k − m is even, both r and −r fit the two terms; the calculator gives the positive ratio and says so. If the root is not a whole number or simple fraction, values are rounded to 12 significant digits.

How many terms to reach a value

Enter a target and the calculator finds the first term at or beyond it. For 3, 7, 11, … the target 100 is first passed at term 26 (103), since term 25 is 99. For 2, 6, 18, … the target 1,000 is first passed at term 7 (1,458). If the sequence moves away from the target or levels off, it says the value is never reached.

Sigma notation

Σ, the Greek capital sigma, is shorthand for a sum. It has a starting value of a counter k, an ending value, and an expression to add for each k:

Σ from k = 1 to 10 of k² = 1 + 4 + 9 + … + 100 = 385

Choose sigma mode and type the expression using k, for example 2k - 1, k^3 or 1/(k(k + 1)). The calculator adds up to 10,000 terms exactly, lists the first 20 with a running total, and for sums of k, k² and k³ checks the answer against the classic closed forms:

SumFormula
1 + 2 + … + nn(n + 1)/2
1² + 2² + … + n²n(n + 1)(2n + 1)/6
1³ + 2³ + … + n³[n(n + 1)/2]²

The last one has a surprising consequence: the sum of the first n cubes is the square of the sum of the first n whole numbers.

Where sequences show up

Arithmetic sequences describe anything that changes by a fixed amount: seats per row in a stadium, a straight-line depreciation schedule, a savings jar topped up with the same amount. Geometric sequences describe growth and decay by a fixed percentage: compound interest, inflation, radioactive decay, a ball that bounces to 60% of its previous height. The sum of a geometric series is the heart of the annuity and mortgage formulas used on the finance pages of this site.

More questions

Is compound interest a geometric sequence?

Yes. A balance growing at 5% a year is multiplied by 1.05 each year, so the yearly balances form a geometric sequence with r = 1.05. Saving the same amount every year gives a geometric series, which is where the future-value-of-an-annuity formula comes from.

What is the difference between a sequence and a series?

A sequence is a list of numbers in order (3, 7, 11, 15, …). A series is what you get when you add the terms of a sequence (3 + 7 + 11 + 15 + …). The calculator gives both: the nth term of the sequence and the sum of the first n terms, the nth partial sum of the series.

Can a sequence have a negative or fractional common ratio?

Yes. With r = −2 the terms alternate in sign: 1, −2, 4, −8, … With r = 1/2 they halve each time and shrink towards zero. Any non-zero ratio works; only r = 0 is excluded because every term after the first would be zero.

How many terms does it take for a geometric sequence to pass a value?

Solve a₁rⁿ⁻¹ ≥ target for n using logarithms: n − 1 ≥ log(target/a₁)/log(r), then round up. For 2, 6, 18, … to reach 1,000, log(500)/log(3) = 5.66, so n − 1 = 6 and the 7th term (1,458) is the first above 1,000. Enter a target to have the calculator do this.

What is a telescoping series?

One where most terms cancel when you add them. Because 1/(k(k + 1)) = 1/k − 1/(k + 1), the sum from k = 1 to n is (1 − 1/2) + (1/2 − 1/3) + … = 1 − 1/(n + 1). Try 1/(k(k+1)) in sigma mode: from 1 to 9 it gives exactly 9/10.

Sources

This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.

Spotted a wrong result or a bug? Report a problem

May we count your visits with Invoker Analytics? It keeps a random visitor number in your browser. Your calculator inputs are never sent. Privacy policy