Let $a$ and $b$ be nonnegative integers. prove that $\gcd(2^a-1,2^b-1)=2^{\gcd(a,b)}-1.$
So far I have tried using Linear Diophantine Equations, the GCD With Remainder theorem (replacing one input into the gcd with the remainder of the bigger term divided by the smaller term), and writing $d=gcd(a,b)$, let $a=ds, b=dr$, but I am still stuck.
Thanks.