[Math] The set of all functions from integers to a finite set is uncountable

cardinalselementary-set-theory

Show that the set of functions from positive integers to the set $\{0,1,2,3,4,5,6,7,8,9\}$ is uncountable.

I suspect I should use the diagonalisation argument but I'm not sure how to approach it.

Best Answer

Following a comment above: if one is allowed to use the fact that the set of all subsets of $\mathbb{N}$, $\mathcal{P}(\mathbb{N})$, is uncountable, then it is enough to observe that the set of functions from $\mathbb{N}$ to $\{0,1,2,3,4,5,6,7,8,9\}$ contains the set $\{0,1\}^{\mathbb{N}}$ of functions from $\mathbb{N}$ to $\{0,1\}$ (via an injection). And there is a clear bijection between $\mathcal{P}(\mathbb{N})$ and $\{0,1\}^{\mathbb{N}}$.