Problem: Prove that $\aleph_0^c=2^c$
My attempt: $\aleph_0^c=\aleph_0^{2^{\aleph_0}}=\aleph_0^{\aleph_1}=\aleph_2$
Then $2^{2^{\aleph_0}}=2^{\aleph_1}=\aleph_2$, so $\aleph_0^c=2^c$.
But my intuition is telling me I may have made a mistake or an assumption that I can't make. Did I mess up? Or is this a valid proof?
Obviously $2^c \le \aleph_0^c$. For the other direction, it may be helpful to consider $2^c$ to be the (cardinality of the) set of functions $f\colon \mathbb{R} \rightarrow \{0,1\}$, and similarly $\aleph_0^c$ to be the cardinality of the set of functions $f \colon \mathbb{R} \rightarrow \mathbb{N}$. Try and contruct a surjection from the former into the latter (hint: use binary expansions).