I used Euclid's theorem $a=bq +r$.
$n^a -1 = ((n^b)^q )n^r -1$
I don't know how to move forward.
Asked
Active
Viewed 420 times
0

Hans
- 9,804

Dhia Othmani
- 81
-
1Recommended intermediate step: show that $n^i-1\mid n^j-1\iff i\mid j$. – Arthur Oct 02 '17 at 20:21
-
See the list of most voted elementary number questions. You will find this question there with any answers – Vidyanshu Mishra Oct 02 '17 at 20:36
-
I will try that – Dhia Othmani Oct 02 '17 at 20:37
-
can I delete the post to avoid duplication – Dhia Othmani Oct 02 '17 at 20:47
1 Answers
0
By symmetry, we can assume $b\geq a$. Now observe that
$n^b-1=n^{b-a}(n^a-1)+n^{b-a}-1$. So
$gcd(n^b-1,n^a-1)=gcd(n^{b-a}(n^a-1)+n^{b-a}-1,n^a-1)=gcd(n^{b-a}-1,n^a-1)$
Go on this way, we find that the exponential ends up with $gcd(a,b)$ by Euclidean algorithm.

包殿斌
- 81