I am familiar with finding solution to $ax=b$ in $\mathbb{Z_m}$ , but how could I know whether there is more than 1 solution?
For example solving $83x=2$ in $\mathbb{Z_{321}}$ I have found $x=205$ but is there anymore? like in $2x=4$ where we get $x=2$ or $x=5$ in $\mathbb{Z_6}$. Thanks