$E$ is nowhere dense 
Let $E$ be the set of all $x\in [0.4,0.777\dots]$ whose decimal expansion contains only digits $4$ and $7$. How can we show that $E$ is nowhere dense in $[0.4,0.777\dots]$? That is, there is no interval $(a,b)$ in $E$.

My Try: $E$  does not contain intervals of the form $(0.4\dots41,0.4\dots3)$ and $(0.4\dots48,0.4\dots444)$ etc. But I can't find some 'form' of intervals that are not in $E$, such that every interval that lies in $[0.4,0.777\dots]$ lies in one of those intervals.

Suppose $(a,b)\subset E$. Pick $x\in(a,b)$. Then its decimal expansion only contains $4$'s and $7$'s If it contains infinitely many $4$'s, there's always one of them which you can replace by a $5$ without leavinf $(a,b)$, which is impossible, since $(a,b)\subset E$. And if it has infinitely many $7$'s, you can always replace one of them by a $6$ without leaving $(a,b)$.
