Problem

NT-B1-M08-P013 Compatibility Criterion

#13 Grade 9 Grade 10 ★★★☆☆ Level 3 of 5

Prove that \(x\equiv a\pmod m\), \(x\equiv b\pmod n\) has a solution if and only if \(a\equiv b\pmod{\gcd(m,n)}\).