Math & ScienceThree types

Number Sequence Calculator

Three sequence types that cover most of what school and finance actually use. The nth term and the sum are both given in closed form, so you do not have to count your way there.

The Sequence

The step field means difference for arithmetic and ratio for geometric.

Add this (arithmetic) or multiply by it (geometric)
NTH TERM
48 (term 10)
Sum of the first n terms255
Formula for the nth termaₙ = 3 + (n − 1) × 5
Sum formula usedSₙ = n/2 × (a₁ + aₙ) = 10/2 × (3 + 48)
Converges to (infinite sum)diverges — arithmetic series have no finite infinite sum
Ratio of consecutive terms2.6667 (not constant for arithmetic)
Term 10 is 48 and the first 10 terms add to 255. The formula uses (n − 1) because the first term has had the difference applied zero times — writing n instead shifts the whole sequence by one place, which is the classic error here. The sum is n times the average of the first and last term, the pairing trick attributed to Gauss.

Arithmetic: adding the same thing

An arithmetic sequence adds a constant difference each step, so the nth term is an = a1 + (n-1)d. Note the n minus one: the first term has had the difference applied zero times, and off-by-one here is the most common error in the topic. The sum of the first n terms is n times the average of the first and last, which is the trick Gauss is supposed to have used as a schoolboy to add the numbers one to a hundred in seconds — pair them from the outside in and every pair totals 101.

Geometric: multiplying by the same thing

A geometric sequence multiplies by a constant ratio, giving an = a1rn-1. This is the mathematics of compound interest, population growth and radioactive decay, and it behaves very differently depending on the ratio. With r greater than one the terms grow without bound; with r between minus one and one they shrink toward zero and the infinite sum converges to a1/(1-r); with r negative the terms alternate in sign. That convergence result is why an infinitely repeating decimal has a finite value.

Fibonacci: adding the two before

Each term is the sum of the previous two. It is neither arithmetic nor geometric, but the ratio of consecutive terms converges quickly to the golden ratio, about 1.6180 — by the tenth term it is already accurate to three decimal places. The sequence appears in phyllotaxis, in the branching of some plants and in the analysis of certain algorithms, though it is also attributed to far more natural phenomena than it actually explains.

Why closed forms matter

You could always generate terms one at a time until you reach the one you want, and for the tenth term that is fine. For the ten-thousandth it is not, and for a symbolic argument it is useless. A closed form gives the answer in one step and, more importantly, makes the structure visible: seeing rn-1 in the geometric formula tells you immediately that the growth is exponential in n, which no amount of listing terms would make obvious.

Where these show up in money

A fixed annual deposit is an arithmetic progression of contributions; the balance under compound interest is geometric. Annuity formulas are just the sum of a geometric series rearranged, which is why the same expression with r as one plus the interest rate appears in loan and pension mathematics. Recognizing the series underneath makes those formulas something you can reconstruct rather than memorise.

Frequently Asked Questions

Why is the nth term formula n minus 1?
Because the first term has had the difference or ratio applied zero times. Using n instead of n minus 1 shifts the whole sequence by one place, which is the most common mistake in the topic.
When does an infinite geometric series have a finite sum?
When the absolute value of the ratio is less than one. The terms shrink fast enough that the total converges to the first term divided by one minus the ratio.
Why does the Fibonacci ratio approach 1.618?
The golden ratio is the positive solution of x squared equals x plus one, which is exactly the relationship between consecutive Fibonacci terms as they grow. Convergence is fast — three decimal places by the tenth term.
Can the common difference be negative?
Yes. A negative difference gives a decreasing arithmetic sequence, and a negative ratio gives a geometric sequence whose terms alternate in sign.
Where these numbers come from

Sources

Official publications only. Links open the original document in a new tab.