Let $\eta:2^\omega\to 2^\omega$ be such that:
If $x \neq$ all 1's and $n$ is least such that $x_n=0$, then $\eta(x)=y$ where $$y_i=\begin{cases}x_i &\text{for } i>n\\ 1-x_i&\text{for }i\leq n.\end{cases}$$
I am interested in starting with the particular $x$ defined below. I believe this point corresponds to the number $1/4$ in the middle-thirds Cantor set $C\subseteq [0,1]$. Because $\sum_{k=1}^\infty \frac{2}{9^k}=1/4$.
\begin{align}x=&0101010101...\\ \eta(x)=&1101010101...\\ \eta^2(x)=&0011010101...\\ \eta^3(x)=&1011010101...\\ \eta^4(x)=&0111010101... \end{align}
QUESTION: Can you give a formula (closed form or recursive) for $\eta^n(x)$?
It's obvious that all the numbers will correspond to fractions in $C$, which might make for a nice equation(?). It's also true that you will never get the same number twice.
Here are the first few numbers:
$\frac{1}{4}$
$\frac{11}{12}$
$\frac{11}{108}$
$\frac{83}{108}$
$\frac{35}{108}$
$\frac{107}{108}$
$\frac{11}{972}$
...
maybe a pattern?
Applying $\eta$ to $y = 0000\dots$ instead would correspond to counting in binary, but backwards: \begin{align} y &= 0000\dots \\ \eta(y) &= 1000\dots \\ \eta^2(y) &= 0100\dots \\ \eta^3(y) &= 1100\dots \\ \eta^4(y) &= 0010\dots \end{align} This is closely related to sequence A030109 in the OEIS, and won't have a nice closed formula; you could write down the recurrence \begin{align} \eta^{2n}(y) &= \frac13 \eta^n(y), \\ \eta^{2n+1}(y) &= \frac13 \eta^n(y) + \frac23. \end{align}
When we start with $x$ instead of $y$, there's a trailing infinite sequence of $\dots1010101\dots$ that periodically throws us off. So the sequence $\eta^n(x)$ can be naturally broken up into block of length $4^k$ for $k=0, 1, 2, \dots$: in each of these blocks, we are copying $\eta(y)$ on the first $2k$ bits, followed by $110101\dots$.
More precisely, when $n = 1 + 4 + 4^2 + \cdots + 4^{k-1} + j$, for $1 \le j \le 4^k$, we have \begin{align} \eta^n(x) &= \eta^{j-1}(y) + \frac{2}{3^{2k+1}} + \sum_{i=k+1}^\infty \frac{2}{3^{2i}} \\ &= \eta^{j-1}(y) + \frac{11}{4 \cdot 3^{2k+1}}. \end{align} For example: