-1

I am studying for an exam and came upon the problem of solving the linear congruence $10 x = 15 \pmod{45}$. I am stuck as the $10$ and $45$ are not coprime but have the $5$ as a common factor.

  • $ak = bk \pmod n \implies a\equiv b \pmod {\frac n{\gcd(k,n)}}$. So $10x \equiv 15\pmod {45}\implies 2x \equiv 3\pmod 9$ and not $2$ is coprime to $9$ and we can continue. And when in doubt. Just convert to arithmetic. $10x = 15 +45k$ so $x = \frac {15 + 45k}{10} = \frac {3 +9k}{2}$ so $k=2m+1$ is odd so $x = \frac {3 +9(2m+1)}2 = \frac {12+18m}2 = 6+9m$ so $x \equiv 6 \pmod 9$ – fleablood Jan 14 '21 at 21:30

1 Answers1

1

Clue:

$$45|10x-15\iff 9|2x-3$$

J. W. Tanner
  • 60,406