Let $f: [0,1]\rightarrow \mathbb{R}$:
- $f(x)=3x \, \, $ if $0\le x\le \frac{1}{2}$;
- $f(x)=3-3x \, \, $ if $\frac{1}{2}<x\le 1$.
Let a sequence $k_{n+1}=f(k_n)$. Find all possible value of $k_0$ that respect the condition $k_i \in [0,1] \, \, \, \forall i \in \mathbb{N}$.
I've tried to solve the problem drawing the plot and erasing the intervals of initial value that don't respect the condition, but i've noted that i can't find a solution because it behaves like a fractal. All the solution that I've found are $0$ and $3^n \, \, \, n\in {0,-1,-2,...}$, but they aren't unique because for example $0.3$ is a solution as well, and i think that there are more solutions.
There's an hint in the text: work with number in base 3; let $K$ the set of solution, you should find a bijection between $K$ and $\mathbb{R}$. I can't see how to use this suggestion.