Proof (sum of roots of unity)
Note that $1,w,w^2,w^3,\ldots, w^{n-1}$ are all the solutions to the polynomial equation $$ z^n - 1 = 0, $$ the sum of roots $$ 1 + w + w^2 + \ldots + w^{n-1} $$ equals the $z^{n-1}$ coefficient, which is 0.
Note that $1,w,w^2,w^3,\ldots, w^{n-1}$ are all the solutions to the polynomial equation $$ z^n - 1 = 0, $$ the sum of roots $$ 1 + w + w^2 + \ldots + w^{n-1} $$ equals the $z^{n-1}$ coefficient, which is 0.