If $m$ and $a$ are co-prime positive integers then show that $ax \equiv b \pmod m$ has a solution, and any two solutions differ by a multiple of m.
I begun by using the definition of co-prime integers, s.t $au + mv = 1$. But I have no idea what to do next.
Hint: Reducing $au+mv=1$ modulo $m$ gives us $$au \equiv 1 \mod m$$ Thus, $u$ is a solution to $ax \equiv 1 \mod m$. How can you modify this to give you a solution to $ax\equiv b \mod m$?