Solve Ax ≡ B mod C w/ Bezout's Identity

  • Context: High School 
  • Thread starter Thread starter TMO
  • Start date Start date
  • Tags Tags
    Turning
TMO
Messages
45
Reaction score
1
This is a very obvious question, but I am having trouble concentrating. Let ax ≡ b mod c and let gcd(a, c) | b. How do I convert this equation into Bezout's identity so that I can use the extended Euclidean algorithm?
 
TMO said:
This is a very obvious question, but I am having trouble concentrating. Let ax ≡ b mod c and let gcd(a, c) | b. How do I convert this equation into Bezout's identity so that I can use the extended Euclidean algorithm?
You can divide by ##\operatorname{gcd}(a,b)## all three numbers to get ##a'x \equiv b' \operatorname{mod} c'## with now ##\operatorname{gcd}(a',b')=1## and use the Euclidean division to find ##1=na'+mb'##.

But somehow I'm not sure whether you meant this or something else.
 

Similar threads

  • · Replies 18 ·
Replies
18
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 13 ·
Replies
13
Views
7K
Replies
16
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 40 ·
2
Replies
40
Views
6K