Let $p$ be a prime, $a$ and integer such that $(a,p)=1$ and $n$ a positive integer $(n,p-1)=1$. Prove that $x^n\equiv a$ mod $p$ has a unique solution.
So I know $n$ is odd since $p-1$ is even.
So I thought since $a$ is in the reduced residue system, then if $g$ is a primitive root, that $g^n\not\equiv 1$, so $(g^n,p)=1$ and I believe it's unique since the only other solution possible should be $-g$ but since $n$ is odd, $-g^n\equiv -a$. But I'm not sure that I can assume a primitive root exists.