How should I approach this question? I was thinking of splitting it up such as as $ mt=b$ and $ax + ny=b$
2026-04-13 16:19:10.1776097150
Suppose that $a \equiv b\mod m$ and that $a \equiv b\mod n $ .Assuming gcd$(m;n) = 1 $ ,prove that $a \equiv b\mod mn$
1k Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
Note that $a\equiv b \mod m \implies\color{#d05}{a = mk+b} \,.$ Since $a\equiv b\mod n$ , we have :
$$mk+b\equiv b\mod n \implies mk \equiv 0\mod n$$
Since gcd$(m,n) =1$ , we conclude that $k \equiv 0\mod n \implies \color{#3ce}{k =nl}\,.$
Putting this in the original equation , we get $$a = mnl + b \implies \boxed{\color{#2d0}{a\equiv b\mod mn}}$$