And also that: $\gcd(p^m-1,p^n-1)=p^{\gcd(m,n)}-1$.
For the love of a God I don't see how to show these two identities.
And also that: $\gcd(p^m-1,p^n-1)=p^{\gcd(m,n)}-1$.
For the love of a God I don't see how to show these two identities.
For the first part, you can prove by induction. Assume that $p^n-1$ divides $p^{kn}-1$. Now, you can easily show that $p^n$ divides $p^{(k+1)n}-1$. Note that $p^{(k+1)n}-1 = p^{(k+1)n} -p^{kn} + p^{kn}-1$. The induction is on $k$, of course. I'm sure you can prove the base case of $k=1$, by yourself. :)