Solve for $x $ : $$327x+208\equiv0 \mod 601$$
What I tried: I tried to find the modular inverse of $x$ first, so that I would be able to multiply the equation with it, but no luck so far.
Solve for $x $ : $$327x+208\equiv0 \mod 601$$
What I tried: I tried to find the modular inverse of $x$ first, so that I would be able to multiply the equation with it, but no luck so far.
Use the Euclidean algorithm to determine the multiplicative inverse of $327$. We see $$ 601 = 1\cdot 601 + 0 \cdot 327 \\ 327 = 0\cdot 601 + 1 \cdot 327 \\ 274 = 1\cdot 601 + -1 \cdot 327 \\ 53 = -1\cdot 601 + 2 \cdot 327 \\ 9 = 6\cdot 601 + -11 \cdot 327 \\ -1 = -37 \cdot 601 + 68 \cdot 327 \\ 1 = 37 \cdot 601 + -68 \cdot 327. $$ Thus $327^{-1}\equiv -68 \equiv 533 \mod 601$. Now it is simple, rewrite the equation $$ 327 x \equiv - 208 \mod 601. $$ Multiply by the inverse of $327$ this results in $$ x \equiv -208\cdot 533 \equiv 321 \mod 601. $$