# Complex Numbers and power series

notice that $w^3-1=0$
expand $e^z,e^{wz},e^{w^2z}$ to power series, and then simplify the sum,you will find that a lot of terms are eliminated.