Let $g : \mathbb{R} \rightarrow \mathbb{R}$ be defined by $ g(x) = \left\{ \begin{array}{ll} 3x & \mbox{if } x \leq\frac{1}{2} \\ 3-3x & \mbox{if } x>\frac{1}{2} \end{array} \right. $
Show that the set $\Gamma=\{x\in[0,1] \mid g^n(x)\in[0,1] \forall n\}$ is the Cantor middle-thirds set.
I have been attempting to solve this sixth problem from chapter 8 of A First Course in Discrete Dynamical Systems. It is quite easy to see that if $x>1$ or $x<0$ the orbit diverges to $-\infty$. The only approach I have been able to come up with is that therefore any element of $\Gamma$ has to be in $[0,1]=C_0$ of the Cantor Set. If I can then prove through induction that if I assume that all $x\in\Gamma$ are in $C_n$ implies that $x\in C_{n+1}$ it seems I would have enough from there to finish a proof. However I have not been getting anywhere with this. Would anyone be so kind to give me any pointers or help me understand the question better?