Sequence
A function from the natural numbers to a set.
A sequence in a set is a function , where is the natural numbers. One writes for , so the sequence is denoted .
Remarks
Thus a sequence is a function with domain and codomain , and it can be manipulated using standard function constructions such as restriction and composition.
Examples
- The rule defines a sequence of rational numbers.
- The rule for all defines a constant sequence in (the integers).