$$ x\equiv 2 \mod 20 $$ $$ x\equiv 7 \mod 15 $$
setting $a \equiv b \mod n$ how would you approach this as the two $n$ values are not coprime?
I've broken down the $ 7\bmod15 $ into $x\equiv 7\mod3$ and $x\equiv 7\mod5$ so could treat it as simultaneous with three equations but I didn't know where to go from here?
Hint:
Breaking also the congruence modulo $20$ leads to this system of congruences with pairwise coprime moduli: \begin{cases} x\equiv7\equiv 1\mod 3,\\ x\equiv 2\mod 4, \\ x\equiv 7\equiv 2\mod 5. \end{cases} Solve the first two congruences to obtain a congruence modulo $12$ and group the latter with the congruence modulo $5$.