I came across this problem while solving MIT 18.100 assignments. The question is to prove that $2^{\mathbb{N}}$ is uncountable.
I have not taken any formal courses so I do not know if what I did is correct or not. Here is my argument. Every possible set of natural numbers is well-ordered. I define a function $f:2^{\mathbb{N}}\to[0.1,1]$.
The function concatenates the elements of a well-ordered set in a string after a decimal. For example, $f(\{1\})=0.1$.
The function is not bijective but as far as I can tell, it is surjective. Does it imply that the power set $2^{\mathbb{N}}$ is uncountable?
I am not sure if I am not doing something fundamentally wrong. So please point it out if there is anything wrong with my argument. Also, if this approach if essentially incorrect, can you please push me in the right direction?