Number Sequence Calculator
Arithmetic Sequence Calculator
definition: an = a1 + f × (n-1)
example: 1, 3, 5, 7, 9, 11, 13, ...
Geometric Sequence Calculator
definition: an = a × rn-1
example: 1, 2, 4, 8, 16, 32, 64, 128, ...
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, ...
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 are often referred to as terms, 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 descriptions of 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 depending 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 an = am + f × (n-m)
i.e. a1, a1 + f, a1 + 2f, ... where an refers to the nth term in the sequence, a1 is the first term, and f is the common difference.
EX: 1, 3, 5, 7, 9, 11, 13, ... — the common difference f is 2. Using the equation above to calculate the 5th term: a5 = 1 + 2 × (5-1) = 1 + 8 = 9, which 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)2
Using the same number sequence in the previous example, find the sum of the arithmetic sequence through the 5th term: 1 + 3 + 5 + 7 + 9 = 25, and (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-1
i.e. a, ar, ar2, ar3, ... where an refers to the nth term in the sequence, a is the scale factor, and r is the common ratio.
EX: 1, 2, 4, 8, 16, 32, 64, 128, ... — the common ratio r is 2, and the scale factor a is 1. Using the equation above, the 8th term: a8 = 1 × 27 = 128, which confirms the value in the listed sequence. The equation for calculating the sum of a geometric sequence:
a × (1 − rn)1 − r
Using the same geometric sequence above, find the sum through the 3rd term: 1 + 2 + 4 = 7, and 1 × (1−23)1 − 2 = −7−1 = 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-2 where a0 = 0; a1 = 1
EX: 0, 1, 1, 2, 3, 5, 8, 13, 21, ...
Frequently Asked Questions
How do you find the nth term of an arithmetic sequence?
Use an = a1 + f × (n − 1), where a1 is the first term and f is the common difference. The sum of the first n terms is n × (a1 + an) / 2.
How do you find the nth term and sum of a geometric sequence?
The nth term is an = a × rn−1, where a is the first term and r is the common ratio. The sum of the first n terms is a × (1 − rn) / (1 − r). If |r| < 1, the infinite series converges to a / (1 − r).
What is the Fibonacci sequence?
A sequence in which every number after the first two is the sum of the two preceding numbers, starting from 0 and 1: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, ...