Find all solutions. You know that the multiplicative inverse is $2$.
$$17x \equiv 25 (\text{mod } 33)$$
First way of solving it:
Multiply this with $2$: $$34x \equiv 50(\text{mod } 33) $$
This is equivalent to:
$$1x \equiv 17 (\text{mod }33)$$
So solution is $x = 33k+17$ where $k \in \mathbb{Z}$
Second way of solving it:
Multiply this with $2$: $$34x \equiv 50(\text{mod } 33) $$
$$50 \text { mod } 33= 17$$
Thus $x = 17$
My question, are both solutions correct? And if yes, which one would you recommend? The second seems more comfortable for sure.