I'm self-studying Rudin's Principles of Mathematical Analysis, and making an attempt to prove the theorems in the book myself before reading how they're done. I'm stuck on Theorem 2.43:
Let $P$ be a nonempty perfect set in $\mathbb{R}^{k}$. Then $P$ is uncountable.
I think I understand what perfect means (that a set is made entirely up of and contains all its limit points), and I understand that I need to show that no bijection exists between the set of elements of $P$ and the positive integers. I considered trying to find a surjection from the set of points in $P$ to the set of all integer sequences or the set of all sequences made up of 0 and 1, as well as from $P$ to some subset of the real number line, but I can't figure out how to go about actually proving the result I need. Maybe there's a connection to compact sets I'm missing? Any small hints would be appreciated (I still am hoping to have some of the fun of finding an answer).