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. Each of 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, 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.
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:
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|
(5 × (1 + 9))/2 = 50/2 = 25
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||where 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:
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:
Using the same geometric sequence above, find the sum of the geometric sequence through the 3rd term.
EX: 1 + 2 + 4 = 7
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 an refers to the nth term in the sequence|
|EX:||0, 1, 1, 2, 3, 5, 8, 13, 21, ...||a0 = 0; a1 = 1|