notice that $\displaystyle w^3-1=0$
expand $\displaystyle 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.
Last edited by mr fantastic; Jan 4th 2010 at 01:29 PM.
Reason: Added latex tag