0

Prove that gcd(a, b) = gcd(a, b − a)

What is the best way to prove this? using induction? or does there exist a more efficient method?

Carl Mummert
  • 81,604
Noah Deng
  • 187

1 Answers1

6

The shortest method consists in proving a more general fact: $$\{\text{divisors of }a \text{ and }b\}=\{\text{divisors of }a \text{ and }b-a\}$$

Bernard
  • 175,478