I solved the following exercise:
Let $\{r_1,r_2,r_3,\dots \}$ be an enumeration of the rational numbers and for each $n \in \mathbb N$ let $\varepsilon_n = 1/2^n$. Define $O = \bigcup_{n=1}^\infty V_{\varepsilon_n}(r_n)$ and let $F=O^c$.
(a) Argue that $F$ is closed and nonempty consisting only of irrational numbers.
(b) Does $F$ contain any nonempty open intervals? Is $F$ totally disconnected?
However I am now stuck with (c):
(c) Is it possible to know whether $F$ is perfect? If not, can we modify this construction to produce a nonempty perfect set of irrational numbers?
I tried and I can't do it but I would really like to know the answer. Of course it is not possible to know that $F$ is perfect because it might contain isolated points but can there be a perfect set of irrational numbers?