Skip to content
FiftyCalc Free calculators for all 50 states

Nth Term Calculator

Test cases replayed : 6 of 6 match · Methodology · No outside source listed

Enter the first four terms of a sequence and the position n you want. The calculator tests whether the terms follow an arithmetic, geometric or quadratic rule, writes the formula and gives the nth term.

Result

Sample figures

General term (explicit formula)—

Value of the nth term aₙ —

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Nth Term Calculator

First term a₁: enter a number. Prefilled example: 3.

Second term a₂: enter a number. Prefilled example: 7.

Third term a₃: enter a number. Prefilled example: 11.

Fourth term a₄: enter a number. Prefilled example: 15.

Position n: enter 1 or more. Prefilled example: 10.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. First term a₁: enter a number.
  2. Second term a₂: enter a number.
  3. Third term a₃: enter a number.
  4. Fourth term a₄: enter a number.
  5. Position n: enter 1 or more.
  6. Read the result: General term (explicit formula); the panel also shows Value of the nth term aₙ.

How this calculator works

Arithmetic: constant first differences d = a₂ − a₁, so aₙ = a₁ + (n − 1)d. Geometric: constant ratio r = a₂ ÷ a₁, so aₙ = a₁ × r^(n − 1). Quadratic: constant second differences, so aₙ = an² + bn + c with a = half the second difference, b = (a₂ − a₁) − 3a and c = a₁ − a − b.

The rules are tested in that order on all four terms (a constant sequence counts as arithmetic). The fourth term confirms the rule found from the first three; equality is tested to a tolerance of one billionth, relative to the size of the numbers compared when they exceed 1.

Four terms cannot prove a pattern: other rules can fit the same terms. The formula shown is the simplest of the three families that fits them.

Worked example

First term a₁3
Second term a₂7
Third term a₃11
Fourth term a₄15
Position n10
General term (explicit formula)Arithmetic: aₙ = 3 + (n − 1) × 4
Value of the nth term aₙ39

Frequently asked questions

What is the nth term of 3, 7, 11, 15?

The difference is always 4, so aₙ = 3 + (n − 1) × 4 = 4n − 1, and the 10th term is 39.

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

Halve the constant second difference to get a, then b = (a₂ − a₁) − 3a and c = a₁ − a − b. For 2, 5, 10, 17 the second difference is 2, so a = 1, b = 0, c = 1 and aₙ = n² + 1.

Why does it say no rule fits?

The four terms are not arithmetic, geometric or quadratic, for example a cubic sequence like 1, 8, 27, 64.

Related calculators