Take an odd prime $q$.
Take an odd integer $m$ with $\gcd(m, q) = 1$.
Consider $a$ in $[0, 2q - 1]$ with $am \equiv b \bmod 2q$ where $b$ is odd.
Is $a$ always odd?
Take an odd prime $q$.
Take an odd integer $m$ with $\gcd(m, q) = 1$.
Consider $a$ in $[0, 2q - 1]$ with $am \equiv b \bmod 2q$ where $b$ is odd.
Is $a$ always odd?
Yes, it is, and this has nothing to do with $m$ being coprime with $q$, nor with the range of $a$: we have $$am=b+2kq\quad\text{for some }k\in\mathbf Z$$ so, reducing mod. $2$, we obtain $$a\cdot 1=a\equiv 1 \mod 2.$$