1

I was looking to generate an injection from $\mathbb{N^N}$ to $\mathbb{R}$, and this is what i created:
$$ \begin{align*} g: \mathbb{N^N} \hookrightarrow \mathbb{R} \\ f \mapsto p_1^{f(0)}p_2^{f(1)}p_3^{f(2)} \dots \end{align*} $$ Where $p_i$ is the $i$th prime number.
It looks like it creates an injection due to the fundamental theorem of arithmetic, but as it maps to only natural numbers, I can't see why its wrong, because clearly $|\mathbb{N^N|} > |\mathbb{N}|$?

chin123
  • 11

0 Answers0