•   Wikis

# sequence: Wikis

Note: Many of our articles have direct quotes from sources you can cite, within the Wikipedia article! This article doesn't yet, but we're working on it! See more info or our list of citable articles.

# Encyclopedia

In mathematics, a sequence is an ordered list of objects (or events). Like a set, it contains members (also called elements or terms), and the number of terms (possibly infinite) is called the length of the sequence. Unlike a set, order matters, and the exact same elements can appear multiple times at different positions in the sequence.

For example, (C, R, Y) is a sequence of letters that differs from (Y, C, R), as the ordering matters. Sequences can be finite, as in this example, or infinite, such as the sequence of all even positive integers (2, 4, 6,...). Finite sequences are sometimes known as strings or words, and infinite sequences as streams. The empty sequence () is included in most notions of sequence, but may be excluded depending on the context.

## Examples and notation

There are various and quite different notions of sequences in mathematics, some of which (e.g., exact sequence) are not covered by the notations introduced below.

A sequence may be denoted (a1, a2, ...). For shortness, the notation (an) is also used.

A more formal definition of a finite sequence with terms in a set S is a function from {1, 2, ..., n} to S for some n ≥ 0. An infinite sequence in S is a function from {1, 2, ...} (the set of natural numbers without 0) to S.

Sequences may also start from 0, so the first term in the sequence is then a0.

A sequence of a fixed-length n is also called an n-tuple. Finite sequences include the empty sequence ( ) that has no elements.

A function from all integers into a set is sometimes called a bi-infinite sequence, since it may be thought of as a sequence indexed by negative integers grafted onto a sequence indexed by positive integers.

## Types and properties of sequences

A subsequence of a given sequence is a sequence formed from the given sequence by deleting some of the elements without disturbing the relative positions of the remaining elements.

If the terms of the sequence are a subset of an ordered set, then a monotonically increasing sequence is one for which each term is greater than or equal to the term before it; if each term is strictly greater than the one preceding it, the sequence is called strictly monotonically increasing. A monotonically decreasing sequence is defined similarly. Any sequence fulfilling the monotonicity property is called monotonic or monotone. This is a special case of the more general notion of monotonic function.

The terms non-decreasing and non-increasing are used in order to avoid any possible confusion with strictly increasing and strictly decreasing, respectively.

If the terms of a sequence are integers, then the sequence is an integer sequence. If the terms of a sequence are polynomials, then the sequence is a polynomial sequence.

If S is endowed with a topology, then it becomes possible to consider convergence of an infinite sequence in S. Such considerations involve the concept of the limit of a sequence.

If A is a set, the free monoid over A (denoted A*) is a monoid containing all the finite sequences (or strings) of zero or more elements drawn from A, with the binary operation of concatenation. The free semigroup A+ is the subsemigroup of A* containing all elements except the empty sequence.

## Sequences in analysis

In analysis, when talking about sequences, one will generally consider sequences of the form

$\left(x_1, x_2, x_3, \dots\right)\,$ or $\left(x_0, x_1, x_2, \dots\right)\,$

which is to say, infinite sequences of elements indexed by natural numbers.

It may be convenient to have the sequence start with an index different from 1 or 0. For example, the sequence defined by xn = 1/log(n) would be defined only for n ≥ 2. When talking about such infinite sequences, it is usually sufficient (and does not change much for most considerations) to assume that the members of the sequence are defined at least for all indices large enough, that is, greater than some given N.

The most elementary type of sequences are numerical ones, that is, sequences of real or complex numbers. This type can be generalized to sequences of elements of some vector space. In analysis, the vector spaces considered are often function spaces. Even more generally, one can study sequences with elements in some topological space.

## Series

The sum of terms of a sequence is a series. More precisely, if (x1, x2, x3, ...) is a sequence, one may consider the sequence of partial sums (S1, S2, S3, ...), with

$S_n=x_1+x_2+\dots + x_n=\sum\limits_\left\{i=1\right\}^\left\{n\right\}x_i.$

Formally, this pair of sequences comprises the series with the terms x1, x2, x3, ..., which is denoted as

$\sum\limits_\left\{i=1\right\}^\left\{\infty\right\}x_i.$

If the sequence of partial sums is convergent, one also uses the infinite sum notation for its limit. For more details, see series.

## Infinite sequences in theoretical computer science

Infinite sequences of digits (or characters) drawn from a finite alphabet are of particular interest in theoretical computer science. They are often referred to simply as sequences or streams, as opposed to finite strings. Infinite binary sequences, for instance, are infinite sequences of bits (characters drawn from the alphabet {0,1}). The set C = {0, 1} of all infinite, binary sequences is sometimes called the Cantor space.

An infinite binary sequence can represent a formal language (a set of strings) by setting the n th bit of the sequence to 1 if and only if the n th string (in shortlex order) is in the language. Therefore, the study of complexity classes, which are sets of languages, may be regarded as studying sets of infinite sequences.

An infinite sequence drawn from the alphabet {0, 1, ..., b−1} may also represent a real number expressed in the base-b positional number system. This equivalence is often used to bring the techniques of real analysis to bear on complexity classes.

## Sequences as vectors

Sequences over a field may also be viewed as vectors in a vector space. Specifically, the set of F-valued sequences (where F is a field) is a function space (in fact, a product space) of F-valued functions over the set of natural numbers.

In particular, the term sequence space usually refers to a linear subspace of the set of all possible infinite sequences with elements in $\mathbb\left\{C\right\}$.

## Doubly-infinite sequences

Normally, the term infinite sequence refers to a sequence which is infinite in one direction, and finite in the other -- the sequence has a first element, but no final element (a singly-infinite sequence). A doubly-infinite sequence is infinite in both directions -- it has neither a first nor a final element. Singly-infinite sequences are functions from the natural numbers (N) to some set, whereas doubly-infinite sequences are functions from the integers (Z) to some set.

One can interpret singly infinite sequences as elements of the semigroup ring of the natural numbers $R\left[\N\right]$, and doubly infinite sequences as elements of the group ring of the integers $R\left[\Z\right]$. This perspective is used in the Cauchy product of sequences.

## Ordinal-indexed sequence

An ordinal-indexed sequence is a generalization of a sequence. If α is a limit ordinal and X is a set, an α-indexed sequence of elements of X is a function from α to X. In this terminology an ω-indexed sequence is an ordinary sequence.

## Sequences and automata

Automata or finite state machines can typically thought of as directed graphs, with edges labeled using some specific alphabet Σ. Most familiar types of automata transition from state to state by reading input letters from Σ, following edges with matching labels; the ordered input for such an automaton forms a sequence called a word (or input word). The sequence of states encountered by the automaton when processing a word is called a run. A nondeterministic automaton may have unlabeled or duplicate out-edges for any state, giving more than one successor for some input letter. This is typically thought of as producing multiple possible runs for a given word, each being a sequence of single states, rather than producing a single run that is a sequence of sets of states; however, 'run' is occasionally used to mean the latter.

# Wiktionary

Up to date as of January 15, 2010

## English

Wikipedia has an article on:

Wikipedia

### Etymology

< Middle English sequence < Old French sequence (a sequence of cards, answering verses) < Late Latin sequentia (a following) < Latin following < sequi (to follow); see sequent.

### Pronunciation

• IPA: /ˈsikwəns/, /ˈsikwɛns/
• help, file

### Noun

 Singular sequence Plural sequences

sequence (plural sequences)

1. A set of things next to each other in a set order; a series
2. A series of musical phrases where a theme or melody is repeated, with some change each time, such as in pitch or length (example: opening of Beethoven's Fifth Symphony).
3. A musical composition used in some Catholic Masses between the readings. The most famous sequence is the Dies Irae (Day of Wrath) formerly used in funeral services.
4. (mathematics) An ordered list of objects.
5. (now rare) A subsequent event; a consequence or result.
• 1891, Mary Noailles Murfree, In the "Stranger People's" Country, Nebraska 2005, pp. 12-13:
he found no words to convey the impressions he had received; then he gave way to the anger always the sequence of the antagonism of opinion between them.

#### Translations

The translations below need to be checked and inserted above into the appropriate translation tables, removing any numbers. Numbers do not necessarily match those in definitions. See instructions at Help:How to check translations.

### Verb

 Infinitive to sequence Third person singular sequences Simple past sequenced Past participle sequenced Present participle sequencing

to sequence (third-person singular simple present sequences, present participle sequencing, simple past and past participle sequenced)

1. (transitive) to arrange in an order
2. (transitive) to determine the order of things, especially of amino acids in a protein, or of bases in a nucleic acid

• sequence in Webster’s Revised Unabridged Dictionary, G. & C. Merriam, 1913
• sequence in The Century Dictionary, The Century Co., New York, 1911

# Simple English

A sequence is a concept in ordinary language which was later adopted in mathematics. In ordinary language 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: (Blue, Red, Yellow) is a sequence, and (Yellow, Blue, Red) is a sequence, but they are not the same.

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. Sequences can also be infinite, which means 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 you can always keep on naming even numbers.

If a sequence is finite, it is easy to say what it is: you can just 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 you want. The rule should tell us how to get the thing in the n-th place, if n can be any number. If you know what a function is, this means that a sequence is a kind of function.

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 the 100-th number, it's 2×100, or 200. No matter which thing in the sequence we want, the rule can tell us what it is.