Let $f(x) = x^n - a$ be a polynomial with integer coefficients, when does $ f (x) $ have rational solutions? Is there a necessary and sufficient condition?
I understand this is equivalent to asking for integer solutions.
This is beacuse if $\frac{p}{q}$ is rational solution with $ gcd(p,q) =1$ then $ q \vert ( p^n - q^n a =0)$ and $q \vert q^n a$
So $q\vert (p^n -q^n a + q^n a = p^n)$. Moreover, since $p$ and $q$ are coprime, $q=1$.