Suppose $a$ is a complex number such that $$a^2+a+\frac 1a +\frac 1{a^2} +1 =0$$ If $m$ is a positive integer find value of $$a^{2m}+a^m+\frac 1{a^m} + \frac 1{a^{2m}}$$
Setting $a=|a|e^{i\theta}$ we get $$2|a| \cos \theta + 2 |a|^2 \cos 2\theta+1=0$$ I could not get anything from this. Any ideas? Thanks.