Is there a fast way to determinate if $\sqrt{e^x}$ is an integer if the only thing you know is that $e^x$ is an integer
I use $e$ as mathematical constant $e$, but you can change it if it helps to solve the problem.
At this moment I just comput $e^{\frac{x}{2}}$ and check if it's an integer.