*notation \(\displaystyle |\) is divisibility
*notation \(\displaystyle \equiv\) is congruent
Problem: Show that if \(\displaystyle a^k \equiv b^k(mod\,m)\) and \(\displaystyle a^{k+1} \equiv b^{k+1} (mod \, m)\), where a, b, k, and m are integers with k > 0 and m > 0 such that gcd(a,m) = 1, then \(\displaystyle a \equiv b (mod \, m).\)
I really don't know how to approach this problem. I think I need to somehow come to the conclusion that either
\(\displaystyle (a^k - b^k) | (a - b)\) or \(\displaystyle (a^{k+1} - b^{k+1}) | (a - b)\),
and because \(\displaystyle m | (a^k - b^k)\) and \(\displaystyle m | (a^{k+1} - b^{k+1})\)
that way I would be able to say that \(\displaystyle m | (a - b)\),
therefore \(\displaystyle a \equiv b (mod \, m)\).
but I don't know how to get to the conclusion that either \(\displaystyle (a^k - b^k) | (a - b)\) or \(\displaystyle (a^{k+1} - b^{k+1}) | (a - b)\).
Thanks for any help, and if need be, I will try to clarify my question
*notation \(\displaystyle \equiv\) is congruent
Problem: Show that if \(\displaystyle a^k \equiv b^k(mod\,m)\) and \(\displaystyle a^{k+1} \equiv b^{k+1} (mod \, m)\), where a, b, k, and m are integers with k > 0 and m > 0 such that gcd(a,m) = 1, then \(\displaystyle a \equiv b (mod \, m).\)
I really don't know how to approach this problem. I think I need to somehow come to the conclusion that either
\(\displaystyle (a^k - b^k) | (a - b)\) or \(\displaystyle (a^{k+1} - b^{k+1}) | (a - b)\),
and because \(\displaystyle m | (a^k - b^k)\) and \(\displaystyle m | (a^{k+1} - b^{k+1})\)
that way I would be able to say that \(\displaystyle m | (a - b)\),
therefore \(\displaystyle a \equiv b (mod \, m)\).
but I don't know how to get to the conclusion that either \(\displaystyle (a^k - b^k) | (a - b)\) or \(\displaystyle (a^{k+1} - b^{k+1}) | (a - b)\).
Thanks for any help, and if need be, I will try to clarify my question