Home / ⚡ Geometry/ Number Sequence Calculator

Number Sequence Calculator

Print
Find the n-th term, periodic sum, and trends for Arithmetic, Geometric, or Fibonacci number sequences.
Arithmetic
Geometric
Fibonacci
Sequence Results
n-th Term Value (a_n)
97
Sum of First n Terms (S_n) 990
First 10 Terms 2, 7, 12, 17, 22, 27, 32, 37, 42, 47...
Sequence Growth Curve Plot

In mathematics, a sequence is an ordered list of numbers or objects that follow a specific, logical pattern. The individual elements within a sequence are known as terms, and the total count of terms represents its length, which can be finite or infinite. Sequences are fundamental to calculus and analysis, particularly when studying limits, function convergence, and differential equations. When we sum the terms of a sequence, we create a series, which is essential for numerical approximations and engineering modeling.

Our free Number Sequence Calculator is a multi-mode solver. You can compute terms and sum totals for Arithmetic Sequences, Geometric Sequences, and Fibonacci Sequences. Enter your starting variables, common intervals, or desired indices, and our tool generates the sequence expansion instantly.


1. Arithmetic Sequences

An arithmetic sequence is a progression in which the difference between any two successive terms remains completely constant. This fixed interval is called the common difference (f), and it can be positive (tending toward positive infinity) or negative (tending toward negative infinity).

Formulas for Arithmetic Progression

  • nth Term Equation: an = a1 + f × (n - 1) (or more generally an = am + f × (n - m))

    Where a1 is the first term, f is the common difference, and an is the target term at index n.
  • Summation Equation (Sn): Sn = [ n × (a1 + an) ] / 2

    This formula calculates the sum of the first n terms.

Step-by-Step Arithmetic Example

Consider the sequence: 1, 3, 5, 7, 9, 11, 13, … here, the first term (a1) is 1, and the common difference (f) is 2.

Find the 5th term (a5):

a5 = 1 + 2 × (5 - 1) = 1 + 8 = 9

Find the sum of the first 5 terms (S5):

S5 = [ 5 × (1 + 9) ] / 2 = 50 / 2 = 25 (which matches 1 + 3 + 5 + 7 + 9 = 25).


2. Geometric Sequences

A geometric sequence is a progression in which each successive term is found by multiplying the previous term by a fixed, non-zero number known as the common ratio (r). The magnitude of this ratio determines if the sequence grows exponentially or decays toward zero.

Formulas for Geometric Progression

  • nth Term Equation: an = a × r^(n - 1)

    Where a is the scale factor (first term) and r is the common ratio.
  • Summation Equation (Sn): Sn = [ a × (1 - r^n) ] / (1 - r)

    This formula computes the sum of the first n terms.

Step-by-Step Geometric Example

Consider the sequence: 1, 2, 4, 8, 16, 32, 64, 128, … here, the first term (a) is 1, and the common ratio (r) is 2.

Find the 8th term (a8):

a8 = 1 × 2^(8 - 1) = 2^7 = 128

Find the sum of the first 3 terms (S3):

S3 = [ 1 × (1 - 2³) ] / (1 - 2) = -7 / -1 = 7 (which matches 1 + 2 + 4 = 7).


3. The Fibonacci Sequence

The Fibonacci sequence is a recursive progression where each term following the first two is the sum of the two preceding terms. The sequence usually begins with 0 and 1, or 1 and 1.

Mathematically, the recursive relation is defined as:

an = an-1 + an-2 (with seed values a0 = 0 and a1 = 1).

The sequence expands as: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, …

Applications of Fibonacci Numbers

Fibonacci numbers appear frequently throughout nature and computer science:

  • Computer Algorithms: Used in Fibonacci heaps, data sorting, and analyzing the worst-case runtime performance of Euclid’s greatest common divisor (GCD) algorithm.
  • Biology and Phyllotaxis: Dictates the spiral branching of tree limbs, the petal count of flowers, pinecone scales, and the flowering patterns of artichokes.

Evaluate trigonometric properties for angles using our Right Triangle Calculator or solve linear changes with the Slope Calculator.


Frequently Asked Questions (FAQ)

What is a convergent sequence?

A sequence is convergent if its terms approach a single finite value (called the limit) as the index n goes to infinity. For example, the geometric sequence 1, 1/2, 1/4, 1/8… converges to 0. A sequence that does not approach a single finite limit is divergent.

How do you find the common difference in an arithmetic sequence?

To find the common difference (f), simply subtract any term in the arithmetic sequence from the term that immediately follows it: f = an - an-1. For example, in the sequence 5, 8, 11, 14…, the difference is 8 - 5 = 3.

What happens when the common ratio in a geometric sequence is negative?

If the common ratio (r) is negative, the terms of the geometric sequence will alternate signs between positive and negative numbers. For example, with first term 3 and ratio -2, the sequence is 3, -6, 12, -24, 48…

How is the Fibonacci sequence related to the Golden Ratio?

As you progress further along the Fibonacci sequence, the ratio of any two consecutive terms (an / an-1) converges to the Golden Ratio (φ), which is approximately 1.618033. This mathematical limit underlies many structural geometries in nature.