I would like a to ask a question about the solution on Problem 2.17 from "Priniciples of Mathematical Analysis" by Walter Rudin. The solution is in the manual by Roger Cooke.
The question is as follows: Let E be the set of all $y \ \epsilon \ [0,1]$ whose decimal expansion contains only the digits 4 and 7. Is E compact?
For this purpose the solution shows that E is closed (as it is obviously bounded). It shows that the complement of E ($E^c = [0,1] \setminus E$) is open by proving that every point of $E^c$ is an interior point. The condition to prove this is in the end $$ |x-y| \ge \frac{1}{9*10^{n}}$$ where $x \ \epsilon \ E$ , $y \ \epsilon \ E^c$ and $n$ the first digit in $x$ which contains a number different from 4 or 7.
From this, the proof concludes that every point of $E^c$ is an interior point. It is this very last step which I do not understand. To show that x is an interior point - in my thinking - we have to show that there exists a neighbourhood arround x which contains only points that are $ \epsilon \ E^c$ as well. But the above displayed condition does not guarantee this. Since it depends on $n$, I can always find a $y \ \epsilon \ E$ which is closer to x by choosing a y which differs from x in the n+1-th digit for the first time (instead of th n-th digit). So how can x be an interior point?
It should read that $n$ is the first digit in $y$ that is different from $4$ or $7$ (after all the $y$ is the one in the complement of $E$). Thus $n$ doesn't vary with $x$ and for a given $y\in E^c$, all $x\in E$ are greater than a certain distance away.