GCD(a+h,b+k) - Formula Given GCD(a,b) & GCD(h,k)?

  • Context: Undergrad 
  • Thread starter Thread starter harshant
  • Start date Start date
  • Tags Tags
    Gcd
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 3K views
harshant
Messages
29
Reaction score
0
Is there a formula for gcd(a+h,b+k) given gcd(a,b) and gcd(h,k)?...jus wondering
 
Physics news on Phys.org
harshant said:
Is there a formula for gcd(a+h,b+k) given gcd(a,b) and gcd(h,k)?...jus wondering
No such formula exists
 
ramsey2879 said:
No such formula exists

Yes, there can't be such a formula. For (a, b, h, k) = (1, 1, 1, 1) and (1, 2, 2, 1), gcd(a, b) = gcd(h, k) = 1, but gcd(a+h, b+k) is 2 and 3 (respectively).