Is there a way, in general, to tell whether the $n^{th}$ root of a integer is rational?
More explicitly, is it possible to elegantly determine whether the result of $k^{1/n}$ is rational for $k,n \in \mathbb{Z}$?
Obviously, one could attempt to factor $k$ into various rationals to the $n^{th}$ power, but it seems there must be a more elegant solution, right? If there isn't, I'd appreciate any explanation why this is impossible.
The $n$-root of an integer $N$ is rational iff $N$ is an $n$-th power.
There is a fast algorithm for testing this that does not rely on factoring:
Testing whether an integer is a perfect power is an important first step in the AKS primality test.