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
  • 84,178
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
  • 179,256