I am having trouble proving this question. Can anyone help me out?
Asked
Active
Viewed 334 times
-1
-
It says dividing by $2^b -$1 – Kath Feb 17 '19 at 11:48
-
u can start by dividend = divisor*quotient + remainder – ShiS Feb 17 '19 at 12:19
-
Possible duplicate of How to prove $\gcd(a^m-b^m,a^n-b^n) = a^{\gcd(m,n)} - b^{\gcd(m,n)} $? – lab bhattacharjee Feb 17 '19 at 12:25
2 Answers
1
Let $b\equiv r\bmod a$. This implies $a \mid b-r$ and $r<a$. So $2^a-1\mid 2^{b-r}-1$ and hence $2^a-1\mid(2^{b}-1)-(2^r-1)$. Now observe $2^r-1<2^a-1$ and hence the remainder is $2^r-1$.
-
How do you get from $2^(b-r) -$1 to ($2^b - $1) - ($2^r - $1). These are not the same right? – Kath Feb 17 '19 at 13:14
-
1
-