[motivation]
## Motivation
### Why Sequences?
The natural numbers $1, 2, 3, \ldots$ are the simplest infinite set, and a sequence is the simplest way to organise infinitely many objects: line them up and index them by $\mathbb{N}$. This indexing provides an *order* — there is a first term, a second term, a hundredth term — and this order is what makes convergence possible. A set $\{1/n : n \in \mathbb{N}\}$ contains points near $0$, but it is the *sequence* $1, 1/2, 1/3, \ldots$ that converges to $0$, because the ordering tells us that the terms get closer to $0$ as the index grows.
### Sequences as the Bridge to the Infinite
Analysis is the mathematics of the infinite — infinite sums, infinite products, limits of infinite processes. But every concrete computation involves only finitely many steps. Sequences bridge this gap: an infinite process is encoded as a sequence of finite approximations, and the [limit](/page/Limit) of the sequence (if it exists) is the result of the infinite process. The decimal expansion $3.14159\ldots$ is the sequence of finite decimals $3, 3.1, 3.14, 3.141, \ldots$ converging to $\pi$. The exponential function $e^x$ is the limit of the sequence of partial sums $\sum_{k=0}^n x^k/k!$. The solution to an ODE is the limit of the Picard iterates.
### Sequences vs. Nets and Filters
In [metric spaces](/page/Metric%20Space), sequences suffice to characterise all topological properties: a set is [closed](/page/Closed%20Set) if and only if it is closed under sequential limits, a function is [continuous](/page/Continuous) if and only if it preserves sequential limits, and compactness is equivalent to sequential compactness. In general [topological spaces](/page/Topology), sequences are insufficient — the correct generalisations are *nets* (sequences indexed by directed sets) and *filters*. This page focuses on sequences; the generalisations are discussed on the [Topology](/page/Topology) page.
[/motivation]