I know the standard injection is to consider the binary expansion of a number in the interval, but I was wondering if it is possible to create an injection using a decimal expansion.
To that effect first denote the decimal expansion of a $r\in (0,1)$ as $r=0.d_1d_2d_3d_4\dots$. Choose the decimal expansion of all $x\in (0,1)$ as above except that $\forall n\in \mathbb{N} \exists m>n$ such that $d_m\in \{0,1,2,3,4,5,6,7,8\}$. (This does not exclude any element in the interval).
Now consider the function $f:(0,1)\to p(\mathbb{N})$ where $f(x)=\{2^{d_1},3^{d_2},5^{d_3},\dots,p_i^{d_i},\dots\}$. I believe that Euclid's theorem and the fundamental theorem of arithmetic ensure that $f$ is an injection, but I would like some confirmation.
:-)
I know the feeling! $\endgroup$ – Brian M. Scott Apr 5 '16 at 21:20