I have been working through Charles Pinter's book on abstract algebra and have come into some confusion with one of the problems.
It is stated as follows:
Suppose $m$ has a primitive root, and let $n$ be relatively prime to $\phi(m)$ $(n>0)$.
Prove that if a is relatively prime (coprime) to $m$, then $x^n\equiv a(mod \ m)$ has a solution.
My proof attempt is then as follows:
Since $gcd(n,\phi(m))=1$, there are some $s,t \in \mathbb{Z}$ such that $s n + t \phi(m) = 1$.
We then have that $$a = a^1 = a^{s n + t \phi(m)} = a^{s n}a^{t \phi(m)} = (a^s)^n(a^{\phi(m)})^t\equiv(a^s)^n(mod \ m)$$
Since, by Euler's thoerem and the fact that $gcd(a,m)=1$, we have that $a^{\phi(m)}\equiv1(mod \ m)$ and so $(a^{\phi(m)})^t\equiv1^t\equiv1(mod \ m)$.
Thus, it seems that $a^s$ is a valid solution.
My confusion arises from the fact that I have nowhere used that m has a primitive root. Have I made a mistake, or is the result still true without that assumption?