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
Click For Summary
SUMMARY

No formula exists for calculating gcd(a+h, b+k) based on the values of gcd(a, b) and gcd(h, k). The discussion highlights that even when gcd(a, b) and gcd(h, k) are both equal to 1, the results for gcd(a+h, b+k) can vary significantly. For example, with (a, b, h, k) = (1, 1, 1, 1), gcd(a+h, b+k) equals 2, while with (1, 2, 2, 1), it equals 3. This demonstrates the lack of a consistent relationship between these gcd values.

PREREQUISITES
  • Understanding of the greatest common divisor (GCD) concept
  • Familiarity with basic arithmetic operations
  • Knowledge of number theory fundamentals
  • Ability to analyze mathematical expressions and their properties
NEXT STEPS
  • Research properties of the greatest common divisor in number theory
  • Explore the Euclidean algorithm for calculating GCD
  • Study the implications of GCD in modular arithmetic
  • Investigate related mathematical concepts such as least common multiple (LCM)
USEFUL FOR

Mathematicians, students studying number theory, educators teaching GCD concepts, and anyone interested in mathematical problem-solving.

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).
 

Similar threads

  • · Replies 23 ·
Replies
23
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 59 ·
2
Replies
59
Views
14K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
3
Views
2K