Question: Give an example to show that Law D is not always true if $r$ is not relatively prime to $s$.
Law D: If $r \perp s$, then $a \equiv b$ (modulo $rs$) if and only if $a \equiv b$ (module $r$) and $a \equiv b$ (modulo $s$).
Where $r, s, a, b$ are integers.
Suppose you have chosen numbers for $r$ and $s$, now let's say $a = krs + c$, for some integer $k$ and $c$.
Now we know $a \equiv c$ (modulo $rs$).
As $krs$ is multiple of $r$ and $s$ both, which implies
$a \equiv c$ (modulo $r$) and $a \equiv c$ (modulo $s$)
What I am doing wrong ?