Suppose that gcd(a,b)=q. This means that q/a and q/b. But then q/(ax+by) which is the same as q/p. Since p is a prime number we must have that either q=1 or q=p and the proof is complete.
Jim F.
asked 03/30/16Show that if ax + by = p, then gcd(a,b) = 1 or gcd(a,b) = p
Suppose that a,b,x,y are integers and that p is a prime.
Show that if ax + by = p, then gcd(a,b) = 1 or gcd(a,b) = p
Follow
1
Add comment
More
Report
1 Expert Answer
Still looking for help? Get the right answer, fast.
Ask a question for free
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Find an Online Tutor Now
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.