I have this question that I'm not entirely sure how to answer.
Suppose that a,b are non-zero integers. Find all integers m,n
such that am+bn=gcd(a,b)
I know that it suffices to show that if m,n and m′,n′ are 2 possible solutions that showing that bgcd(a,b)∣m−m′ and agcd(a,b)∣n−n′. However, I'm not entirely sure how to get there. Thanks.
Answer
Let c=gcd(a,b).
- Hint 1: Start with am+bn=c and am′+bn′=c. What happens if you combine these equations?
- Hint 2: What is the value of gcd(a/c,b/c)?
- Hint 3: If x∣yz and gcd(x,y)=1, what is the relationship between x and z?
No comments:
Post a Comment