Number Sequence Calculator

Math

Works out the nth term of arithmetic and geometric sequences and the sum of the first n terms. Enter a few terms and it finds the rule and predicts the next ones.

Sequencenth termSum of first n terms
Arithmetic (difference d)a₁ + (n - 1) × dn × (a₁ + aₙ) ÷ 2
Geometric (ratio r)a₁ × rⁿ⁻¹a₁ × (rⁿ - 1) ÷ (r - 1)

3, 7, 11, 15... (d = 4): the 20th term is 3 + 19 × 4 = 79, and the first 20 terms add up to 820.
2, 6, 18, 54... (r = 3): the 8th term is 2 × 3⁷ = 4,374.

A geometric sequence with |r| < 1 has an infinite sum: a₁ ÷ (1 - r). For example 1 + 1/2 + 1/4 + ... = 2.

Results are for information only. For tax, salary, loan or health decisions, check official sources or ask a professional.

All Math tools