Problem

NT-B1-M04-P021 Compatibility Criterion for Two Congruences

#21 Grade 9 Grade 10 ★★★★☆ Level 4 of 5

Prove: the system \(x\equiv r\pmod m\), \(x\equiv s\pmod n\) has a solution if and only if \(r\equiv s\pmod{\gcd(m,n)}\).