GCD & LCMmedium
0:00.0

Which condition is sufficient for gcd(an1,am1)=agcd(n,m)1\text{gcd}(a^n-1, a^m-1) = a^{\text{gcd}(n, m)} - 1?