Question 6Find all positive integers $n$ for which there exists a polynomial $p(x)$ with real coefficients satisfying $$p\left(x^{1998}+\frac1{x^{1998}}\right)=x^n+\frac1{x^n}.$$