Problem

NT-B1-M04-P013 Criterion for a Linear Congruence

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

Prove that \(ax\equiv b\pmod m\) has a solution if and only if \(\gcd(a,m)\mid b\).