I am studying number theory by my own (I'm not a math major but I'm very interested in this, so I'm sorry I don't know much) and I was wondering if there is a result that says if this next equation has a solution: $$x^a\equiv b \pmod {p^m},$$ with $m, a$ and $b$ given integers, $p$ prime.
I have the feeling this has a solution module $p^m$ if $(a,\phi(p^m))=1$ but I don't know if there is a result for this. Or maybe I'm totally off. If someone has any help, I would appreciate it. The books I'm reading don't have this, or I haven't seen it.