Let $\{z_k^0\}_{k=1}^n$ be $n$ points in the complex plane and consider the following iteration: $$z_k^{m+1}=\frac 1 2 (z_k^m +z_{k+1}^m)$$ for $k=1,2,3,\ldots,n-1$.
$$z_k^{m+1}=\frac 1 2 (z_n^m+z_1^m)$$ for $k=n$.
Show that $\lim_{m \rightarrow \infty} z_k^m = \frac 1 n \sum_{j=1}^n z_j^0$.
I tried to iterate the iteration but I can't see the magic in there; besides, when I iterated, I got the coefficients like $\frac 1 {2^n}$, rather than $\frac 1 n$.
Thanks.