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?
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?
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\}$$