Sequence

A **sequence** is a word meaning "a set of related events, movements or items that follow each other in a particular order".

It is used in mathematics and other disciplines. In ordinary use, it means a series of events, one following another. In maths, a sequence is made up of several things put together, one after the other. The order that the things are in matters. For example, both (Blue, Red, Yellow) and (Yellow, Blue, Red) are sequences, but they are not the same. Sequences made up of numbers are also called **progressions**.

There are two kinds of sequences. One kind is finite sequences, which have an end. For example, (1, 2, 3, 4, 5) is a finite sequence. The other kind is infinite sequences, which means that they keep going and never end. An example of a sequence that is infinite is the sequence of all even numbers, bigger than 0. This sequence never ends: it starts with 2, 4, 6, and so on, and one can always keep on naming even numbers.

If a sequence is finite, it is easy to say what it is: one can simply write down all the things in the sequence. This does not work for an infinite sequence. So another way to write down a sequence is to write a rule for finding the thing in any place one wants. The rule should tell us how to get the thing in the _n_-th place, where _n_ can be any natural number. This means that a sequence is really a special kind of function with natural numbers as its domain. We sometimes write a sequence as , where  stands for the _n_-th term of the sequence.

For example, the rule could be that the thing in the _n_-th place is the number 2×_n_ (2 times n). This tells us what the whole sequence is, even though it never ends. The first number is 2×1, which is 2. The second number is 2×2, or 4. If we want to know what the 100-th number is, we can simply calculate 2×100 and get 200. No matter which thing in the sequence we want, the rule can tell us what it is.

### Arithmetic progressions (AP)

In an arithmetic progression, the difference between a term and the term before it is always a constant.

Example:

9 - 4 = 5, 14 - 9 = 5, 19 - 14 = 5, 24 - 19 = 5, and so on.

So if one takes the first term as _a_ and the constant difference as _D_, then the general formula for arithmetic sequence is , where _n_ is the number of term.

### Geometric progressions (GP)

In a geometric progression, the ratio between a term and the term before it is always constant.

Example:

6/3 = 2, 12/6 = 2, 24/12 = 2, 48/24 = 2, and so on.

So if one takes _a_ to be the first term and _r_ to be the ratio, then the general formula for geometric progression is , where _n_ is the number of term.

### Harmonic Progressions (HP)

In a harmonic progression, the difference between the reciprocal of a term and the reciprocal of the term before it is a constant.

Example:

, and so on.

## Series

A series is the sum of all the terms of a sequence.

The general formula for calculating the sum of arithmetic sequence is

That of a geometric sequence is , if the sequence is infinite, and, if it is finite.

Here, _a_ is the first term, _d_ is the common difference in arithmetic sequence, _r_ is the ratio in geometric sequence and _n_ is the number of term.

## Related pages

- Cauchy sequence
- Limit of a sequence
- Series