Let $w\neq 1$ and $w^{13} = 1$.
If $a = w+ w^3 + w^4 + w^{-4} + w^{-3} + w^{-1}$ and $b = w^2+ w^5 + w^6 + w^{-6} + w^{-5} + w^{-2}$, then the quadratic equation whose roots are $a$ and $b$ is ... ?
I got $w=\cos(\frac{2\pi}{13})+i\sin(\frac{2\pi}{13})$ And then I found $a$ and $b$ in trigonometric form. But when I multiplied them to get the product of roots it gets very difficult. How to solve it?