I know $|\mathbb{N^{N}}| = |\mathbb{R}|$ , but I just cant find an injection from $|\mathbb{N^{N}}|$ to $|\mathbb{R}|$...
I tried to use this one: Given $\ f:\mathbb{N} \to \mathbb{N}$, define $F: F(f) = 2^{f(0)}3^{f(1)}... = \prod_{i=1}^{\infty}p_{i}^{f(i-1)}$ then by the prime factorization theorem, $F$ is injective..
But my professor said this function is not well defined since I may get $\infty$.
And he said I can consider this one: $F(f) = f(0) + \frac{1}{f(1)+\frac{1}{f(2)+...}}$
But what if $f(n) = 0 \ for\ all \ n \in \mathbb{N}?$
And can someone give me more injections form $\mathbb{N^{N}}$ to $\mathbb{R}$ ?