MultiConvers

Number Sequence Calculator

Generate the nth term and the sum of the first n terms from a rule: add a constant (arithmetic) or multiply by a constant (geometric). This is a sequence, not a statistical summary of pasted data.

How to use

  1. Choose Arithmetic for a common difference d, or Geometric for a common ratio r.
  2. Enter the first term a₁ and either d or r, depending on the kind.
  3. Enter the term number n as a positive integer — the position you want, not a count of leftover values.
  4. Read aₙ as the headline and the sum of the first n terms in the details. Do not paste an observed list here.

How it works

A sequence is a machine that emits the next term from a rule. You do not paste 2, 5, 8, 11 and ask for a mean. You say “start at 2, add 3 each time, give me the 5th term” and the machine returns 14, with the sum of those five terms equal to 40. That is the opposite of the statistics calculator, which only looks backward at numbers you already collected. If you already have the finished list and you want centre or spread, leave this page.

Arithmetic sequences add a constant d. The nth term is aₙ = a₁ + (n − 1)d. The sum of the first n terms is n/2 times (first + last), which is the same as n/2 × (2a₁ + (n − 1)d). Seats numbered 4, 7, 10, … or a savings plan that tucks away the same extra amount each month are arithmetic. d can be negative — a countdown that subtracts 5 still belongs here.

Geometric sequences multiply by a constant r. The nth term is aₙ = a₁ rⁿ⁻¹. 3, 6, 12, … has r = 2; the 4th term is 24. The sum is n × a₁ when r = 1 (every term equals the first). Otherwise Sₙ = a₁(rⁿ − 1)/(r − 1). Compounding a quantity by the same factor, or a shrinking half-life style series with |r| < 1, is geometric. r can be negative, which alternates sign.

n must be a positive integer. There is no “term number 2.5” and no zeroth term on this page. Huge n or a violent |r| can overflow; the calculator rejects Infinity instead of printing it. The geometric-sum formula shown in the details assumes the r ≠ 1 identity; when r is exactly 1 the implementation switches to n × a₁ so you still get a finite sum.

Nothing here estimates a mean, a standard deviation or a sample size. Those tools describe or plan data. This one only walks a declared arithmetic or geometric rule to a named position and totals the terms along the way.

Formula

Arithmetic: aₙ = a + (n − 1)d,  Sₙ = n/2 × (2a + (n − 1)d)
Geometric: aₙ = a rⁿ⁻¹,  Sₙ = a(rⁿ − 1)/(r − 1)  (r ≠ 1)

Worked examples

  • Arithmetic 2, 5, 8, …

    a = 2, d = 3, n = 5 → a₅ = 14, S₅ = 40

  • Geometric 3, 6, 12, …

    a = 3, r = 2, n = 4 → a₄ = 24

Useful notes

  • This is not a list-of-numbers summary. Paste a finished list into the statistics calculator.
  • n must be a positive integer. Overflow is rejected instead of Infinity.
  • When the geometric ratio is exactly 1, the sum of n terms is n × a₁.

FAQ

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

Add the common difference (n − 1) times: aₙ = a₁ + (n − 1)d.

How do I find the nth term of a geometric sequence?

Multiply the first term by r to the power n − 1.

What if the ratio is 1?

Every term equals the first term. The sum of n terms is n × a₁.

Can I paste 2, 5, 8, 11 and get the next term?

No. Type the first term and the common difference or ratio. This page does not infer a rule from a pasted list, and it does not compute a mean or a standard deviation.

Does the result include the sum as well as the nth term?

Yes. The headline is aₙ. The details include the sum of the first n terms for both arithmetic and geometric sequences.

Related tools

See all Statistics tools.