Prove that if $n$ and $m$ are coprime then $2^n-1$ and $2^m-1$ respectively are coprime too

100 Views Asked by At

How to prove that if $n$ and $m$ are coprime then $2^n-1$ and $2^m-1$ are coprime too? I tried with Bezout's identity without results.

Thanks

1

There are 1 best solutions below

0
On

Show that $\gcd(2^n-1, 2^m-1) = 2^{\gcd(m, n)} - 1 = 2^1-1= 1$.