Suppose ka = kb (mod n). Prove that if gcd (k, n) = 1, then a = b (mod n).?

2009-03-19 4:33 pm
Suppose ka = kb (mod n). Prove that if gcd (k, n) = 1, then a = b (mod n).

THANKS

回答 (1)

2009-03-19 6:59 pm
✔ 最佳答案
Notation: I'm using
≡ for "is congruent to" and
| for "divides."

If ka ≡ kb (mod n), then for some positive integers i, j, and r,
ka = in + r and
kb = jn + r

Therefore,
ka - kb = in + r - (jn + r)
k (a - b) = (i - j)n

So n | k(a-b)

Therefore, if gcd(k,n) = 1,
n | (a-b) and
a ≡ b (mod n)


收錄日期: 2021-05-01 12:09:15
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20090319083354AAb3pI6

檢視 Wayback Machine 備份