Proposition (sum of roots of unity)

Let $w$ be the $n$-th root of unity $\exp(2\pi i/n)$. Then $$ 1+w+w^2+\ldots + w^{n-1} = 0. $$

Proof