Home Math Number Sequence Calculator

Number Sequence Calculator

Arithmetic and geometric sequences: the nth term and the sum of the first n terms.

Advertisement

How it works

Choose arithmetic if each term adds a fixed difference, or geometric if each term multiplies by a fixed ratio. Enter the first term, the difference or ratio, and how many terms. The nth term and the running sum both come from closed formulas, so even huge n is instant.

Advertisement

Formula

Arithmetic: an = a1 + (n - 1) x d, sum = n x (a1 + an) / 2.
Geometric: an = a1 x r^(n-1), sum = a1 x (r^n - 1) / (r - 1) for r other than 1.

Example

Example in plain words. Arithmetic, first term 3, difference 2, ten terms.

The tenth term is 21 and the ten terms sum to 120.

Geometric, first term 2, ratio 3, six terms: the sixth is 486 and the sum is 728.

Frequently asked questions

How do I tell the two apart?

Subtract consecutive terms: if the difference is constant, it is arithmetic. Divide them instead: if the ratio is constant, it is geometric. If neither holds, the sequence needs a different rule.

What if the ratio is 1?

Then every term equals the first term and the sum is just n times it. The geometric formula divides by (r - 1), so the calculator refuses that single case instead of dividing by zero.

Advertisement

Related calculators

Percentage Calculator

Find a percent of a number, what percent one number is of another, and percent change, all at once.

Fraction Calculator

Add, subtract, multiply and divide fractions, with the answer simplified.

Scientific Calculator

Online scientific calculator with trig, logs, powers, roots, factorial and degree or radian mode.

Quadratic Formula Calculator

Solve ax² + bx + c = 0, with the discriminant and the vertex.