Expand the expression $1-\frac{1}{2}(1-\frac{1}{2}(1-\frac{1}{2}))\\ =1-\frac{1}{2}+(\frac{1}{2})^2(1-\frac{1}{2})\\ =1-\frac{1}{2}+(\frac{1}{2})^2-(\frac{1}{2})^3\\$
The expression represents the partial sum $\sum_{n=0}^{3}(-1)^n\cdot(\frac{1}{2})^n\\$
That means the following expression is an infinite alternating geometric series representing $\sum_{n=0}^{\infty}(-1)^n\cdot(\frac{1}{2})^n$
$1-\frac{1}{2}(1-\frac{1}{2}(1-...)))$
Let $x$ represent the sum of the infinite series
$ x =1-\frac{1}{2}(1-\frac{1}{2}(1-...)))$
Then substitute $x $ in for the expression $ 1-\frac{1}{2}(1-...)$ above.
It follows
$x=1-\frac{1}{2}x$
Solving for $x $
$x=\frac{2}{3} $
It is known that by the following $\sum_{n=0}^{\infty}(-1)^n\cdot{r}^n=\frac{1}{1+r}$
From this known fact it also follows $\sum_{n=0}^{\infty}(-1)^n\cdot(\frac{1}{2})^n=\frac{1}{1+\frac{1}{2}}=\frac{2}{3}$