[example: Where Sequences Fail to Detect Compactness]
Consider the product space $X = \{0, 1\}^{[0,1]}$, where each factor $\{0, 1\}$ carries the discrete topology and the index set is the uncountable interval $[0, 1]$. Elements of $X$ are functions $f: [0, 1] \to \{0, 1\}$, and convergence in the [product topology](/page/Product%20Topology) means pointwise convergence: $f_n \to f$ if and only if $f_n(t) \to f(t)$ for every $t \in [0, 1]$. By [Tychonoff's theorem](/theorems/953), $X$ is [compact](/page/Compact%20Space) (it is a product of compact spaces).
However, $X$ is *not* sequentially compact. For each $n \in \mathbb{N}$, write $n$ in binary as $n = \sum_{k=0}^\infty b_k(n) \, 2^k$ (where $b_k(n) \in \{0,1\}$ and only finitely many digits are nonzero), and define $f_n: [0, 1] \to \{0, 1\}$ by
\begin{align*}
f_n(t) = b_k(n) \quad \text{where } t \in [k \cdot 2^{-N}, (k+1) \cdot 2^{-N})
\end{align*}
for an appropriate dyadic decomposition (more precisely, define $f_n$ to encode the binary digits of $n$ across the coordinates). A cleaner construction uses the following observation: since $|[0,1]| = \mathfrak{c} = |2^{\mathbb{N}}|$, there exists a bijection $\varphi: [0,1] \to 2^{\mathbb{N}}$, where $2^{\mathbb{N}}$ denotes the set of all subsets of $\mathbb{N}$. Define $f_n: [0,1] \to \{0,1\}$ by $f_n(t) = \mathbb{1}_{\{n \in \varphi(t)\}}$, so $f_n(t) = 1$ if $n$ belongs to the subset $\varphi(t)$, and $f_n(t) = 0$ otherwise.
We claim no subsequence of $\{f_n\}$ converges pointwise. Suppose for contradiction that $\{f_{n_j}\}_{j=1}^\infty$ converges pointwise to some $f: [0, 1] \to \{0, 1\}$. Since each $f_{n_j}(t) \in \{0, 1\}$ and the limit $f(t)$ must also lie in $\{0, 1\}$, convergence at $t$ means $f_{n_j}(t)$ is eventually constant: either eventually $1$ or eventually $0$. Define the set $A = \{n_j : j \text{ is odd}\} \subset \mathbb{N}$. Since $\varphi$ is a bijection from $[0,1]$ onto $2^{\mathbb{N}}$, there exists $t_0 \in [0,1]$ with $\varphi(t_0) = A$. Then $f_{n_j}(t_0) = \mathbb{1}_{\{n_j \in A\}}$, which equals $1$ when $j$ is odd and $0$ when $j$ is even. The sequence $\{f_{n_j}(t_0)\}$ alternates between $0$ and $1$ and does not converge --- contradicting the assumption that $\{f_{n_j}\}$ converges pointwise at every $t$.
This space is compact (by Tychonoff) but not sequentially compact. The open-cover definition detects compactness; sequences do not.
[/example]