prove that polynomial has root of unity

99 Views Asked by At

Prove that $ f=x^n\pm x^m\pm1 $ is either irreducible over rationals or has a root which is a of unity. I tried to see what if $x=|r|e^{i\phi}$ but I have no proper result.