I am reading the following exercise:
Find all solutions to the congruence $3x \equiv 5 \mod m $ when $m$ equals $2$
The solution states:
Since $3 \equiv 5 \equiv 1 \mod 2$ the congruence is equivalent to $x \equiv 1 \mod 2$. There is one solution which is $x \equiv 1 \mod 2$
The problem I have is I don't really understand the specific steps taken to find the solution.
I understand that:
$3x \equiv (3 \mod m)\cdot (x \mod m)$, I also know that $3x - 5$ is a multiple of $m$ but I am not sure what (other) rules exactly were used to form the solution.
I mean what rule was used to directly do $3 \equiv 5$ and ignore $x$?
Could someone please break down the exact steps the solution is using to reach the conclusion of one solution?
Update:
I read the links and comments and I came up with the following steps.
$3x \equiv 5 \mod2 \Leftrightarrow 3x - 5 = 2k\space$ for some $k$
$3x - 5 = 2k \Leftrightarrow 2x + x - 5 = 2k \Leftrightarrow x - 5 = 2k - 2x \Leftrightarrow x - 5 = 2(k - x) \Leftrightarrow x - 5 = 2j\space $ for some $j$
Hence:
$x - 5 = 2j \implies x \equiv 5 (\mod 2) \implies x \equiv 1(\mod 2)$