Number Sequence Calculator

Arithmetic Sequence Calculator

definition: an = a1 + f × (n-1)
example: 1, 3, 5, 7, 9 11, 13, ...

the first number
common difference (f)
the nth number to obtain

Geometric Sequence Calculator

definition: an = a × rn-1
example: 1, 2, 4, 8, 16, 32, 64, 128, ...

the first number
common ratio (r)
the nth number to obtain

Fibonacci Sequence Calculator

definition: a0=0; a1=1; an = an-1 + an-2;
example: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, ...

the nth number to obtain

In mathematics, a sequence is an ordered list of objects. Accordingly, a number sequence is an ordered list of numbers that follow a particular pattern. The individual elements in a sequence is often referred to as term, and the number of terms in a sequence is called its length, which can be infinite. In a number sequence, the order of the sequence is important, and depending on the sequence, it is possible for the same terms to appear multiple times. There are many different types of number sequences, three of the most common of which include arithmetic sequences, geometric sequences, and Fibonacci sequences.

Sequences have many applications in various mathematical disciplines due to their properties of convergence. A series is convergent if the sequence converges to some limit, while a sequence that does not converge is divergent. Sequences are used to study functions, spaces, and other mathematical structures. They are particularly useful as a basis for series (essentially describe an operation of adding infinite quantities to a starting quantity), which are generally used in differential equations and the area of mathematics referred to as analysis. There are multiple ways to denote sequences, one of which involves simply listing the sequence in cases where the pattern of the sequence is easily discernible. In cases that have more complex patterns, indexing is usually the preferred notation. Indexing involves writing a general formula that allows the determination of the nth term of a sequence as a function of n.

Arithmetic Sequence

An arithmetic sequence is a number sequence in which the difference between each successive term remains constant. This difference can either be positive or negative, and dependent on the sign will result in terms of the arithmetic sequence tending towards positive or negative infinity. The general form of an arithmetic sequence can be written as:

an = a1 + f × (n-1)
  or more generally
where an refers to the nth
term in the sequence
 an = am + f × (n-m)a1 is the first term
i.e.   a1, a1 + f, a1 + 2f, ...f is the common difference
EX:   1, 3, 5, 7, 9, 11, 13, ...

It is clear in the sequence above that the common difference f, is 2. Using the equation above to calculate the 5th term:

EX:   a5 = a1 + f × (n-1)
a5 = 1 + 2 × (5-1)
a5 = 1 + 8 = 9

Looking back at the listed sequence, it can be seen that the 5th term, a5, found using the equation, matches the listed sequence as expected. It is also commonly desirable, and simple, to compute the sum of an arithmetic sequence using the following formula in combination with the previous formula to find an:

n × (a1 + an)

Using the same number sequence in the previous example, find the sum of the arithmetic sequence through the 5th term:

EX:   1 + 3 + 5 + 7 + 9 = 25
(5 × (1 + 9))/2 = 50/2 = 25

Geometric Sequence

A geometric sequence is a number sequence in which each successive number after the first number is the multiplication of the previous number with a fixed, non-zero number (common ratio). The general form of a geometric sequence can be written as:

 an = a × rn-1where an refers to the nth term in the sequence
i.e.   a, ar, ar2, ar3, ...a is the scale factor and r is the common ratio
EX:   1, 2, 4, 8, 16, 32, 64, 128, ...

In the example above, the common ratio r is 2, and the scale factor a is 1. Using the equation above, calculate the 8th term:

EX:   a8 = a × r8-1
a8 = 1 × 27 = 128

Comparing the value found using the equation to the geometric sequence above confirms that they match. The equation for calculating the sum of a geometric sequence:

a × (1 - rn)
1 - r

Using the same geometric sequence above, find the sum of the geometric sequence through the 3rd term.

EX:   1 + 2 + 4 = 7

1 × (1-23)
1 - 2
 = 7

Fibonacci Sequence

A Fibonacci sequence is a sequence in which every number following the first two is the sum of the two preceding numbers. The first two numbers in a Fibonacci sequence are defined as either 1 and 1, or 0 and 1 depending on the chosen starting point. Fibonacci numbers occur often, as well as unexpectedly within mathematics and are the subject of many studies. They have applications within computer algorithms (such as Euclid's algorithm to compute the greatest common factor), economics, and biological settings including the branching in trees, the flowering of an artichoke, as well as many others. Mathematically, the Fibonacci sequence is written as:

 an = an-1 + an-2where an refers to the nth term in the sequence
EX:   0, 1, 1, 2, 3, 5, 8, 13, 21, ...a0 = 0; a1 = 1
Financial Fitness & Health Math Other