I am trying to construct an example of a perfect set that contains no rational.
I see in other places a construction that involves an enueration of rationals, but I thought that construction was a bit more involved than what I have (even though they bascially amount to the same idea).
My idea is to intersect the Cantor set with $\mathbf{R}\setminus\mathbf{Q}$. We know that there is a bijection from the Cantor set to the sequences of 0 and 1 by dividing every digit in the ternary expansion by 2 (or by following the path of the point in the Cantor set as being in the left or the right). Every time 2 points share the first $n$-digits in the corresponding sequences they are within $3^{-n}$ distance close, so given a point in the Cantor set and $\epsilon<3^{-n}$, by picking an irrational point in the Cantor set whose corresponding sequences share the first $n$ entries, we are done.
The only tricky part is how to actually choose such an irrational point, but that can be easily arranged by choosing any non-periodic sequence.
Is it accurate (minus the general lack of detail, of course)?
Thank you in advance!