Definition:Sequence
From ProofWiki
Contents |
[edit] Informal Definition
A sequence is a set of objects which is listed in a specific order, one after another.
Thus one can identify the elements of a sequence as being the "first", the "second", the "third", ... the "nth", and so on.
[edit] Formal Definition
A sequence is a mapping whose domain is a subset of
.
[edit] Range
The range of a sequence can be elements of a set of any objects.
If the range of a sequence f is S, then the sequence is said to be a sequence of elements of S, or a sequence in S.
[edit] Notation
The notation for a sequence is as follows.
If
is a sequence, then a symbol, for example "a", is chosen to represent elements of this sequence.
Then for each
,
is denoted ak, and f itself is denoted
.
Any expression can be used to denote the domain of f in place of
.
The set A is usually understood to be the set
.
If this is the case, then it is usual to write
as
or even as
if brevity and simplicity improve clarity.
[edit] Terms
The elements of a sequence are known as its terms.
[edit] Sequence of Distinct Terms
A sequence of distinct terms of S is an injection from a subset of
into S.
A sequence
is a sequence of distinct terms iff
for all
such that
.
[edit] Finite Sequence
A finite sequence is a sequence whose domain is finite.
[edit] Length of a Sequence
The length of a finite sequence is the number of terms it contains, or equivalently, the cardinality of its domain.
[edit] Sequence of n Terms
A sequence of n terms is a sequence whose domain has n elements.
[edit] Null Sequence
A null sequence (or empty sequence) is one containing no terms.
Thus it is a mapping from
to S and therefore is null.
[edit] Infinite Sequence
An infinite sequence is a sequence whose domain is infinite.
[edit] Rational Sequence
A rational sequence is a (usually) infinite sequence of rational numbers.
[edit] Notational Variants
Notation varies. Common variants for
are:
-
;
-
(this one is not recommended though, because of the implication that the order of the terms does not matter).

