Associate to each sequence $a=\{\alpha_n\},$ in which $\alpha_n$ is $0$ or $2$, the real number $$x(a)=\sum \limits_{n=1}^{\infty}\frac{\alpha_n}{3^n}.$$ Prove that the set of all $x(a)$ is precisely the Cantor set.
We know that $\frac{1}{3}\in C$ but also $\frac{1}{3}=\sum \limits_{n=2}^{\infty}\frac{2}{3^n}$ and $\frac{1}{3}=\frac{1}{3}+\sum \limits_{n=2}^{\infty}\frac{0}{3^n}$. And we have some ambiguity.
Can we also add condition that $\alpha_j=1$ for some $j$?
Can anyone explain this moment to me?
As has been stated in the comments, the fact that some members of the Cantor set have a second ternary representation which includes 1 is immaterial to the result you are trying to prove. It states that as long as the number has at least one representation without 1s, it is in the Cantor set.
To prove it, assume that $E_n$ consists of all numbers whose ternary expansions consist only of 0 or 2 up to the $n$th trit (I may be off by one, I don't know exactly how Rudin defines his symbols). Then note that $E_{n+1}$ throws out every number whose $n+1$st trit is 1.