Basically I need a good hint how to solve the problem.I have solved it partly.
$gcd(2^a-1,2^b-1)=2^{gcd(a,b)}-1$.
I have reached till:
$gcd(2^a-1,2^b-1)=gcd(2^{a-b}-1,2^b-1)$
How to proceed from here.
Please give detailed answer if you are using special manipulation or property please do explain how do you use it in this problem to solve it.
Thanks.
First consider the case when $(a,b)=1$. By Bezout theorem, there exists $u,v>0$ such that $au-bv=1$. Let $\gcd (2^a-1,2^b-1)=t$, then $t|2^{au}-1$, or $2^{bv+1}\equiv 1\pmod t$, or $2\equiv 1 \pmod t$, then $t=1$.
If $\gcd(a,b)=d>1$, then $\gcd \left(\frac{a}{d},\frac{b}{d}\right)=1$ and just apply the above case.
Hint to continue your solution: Just consider Euclide's way to compute the GCD.