Find GCD of a and b: Express as Integer Combination

Click For Summary
SUMMARY

The greatest common divisor (GCD) of a = 123 and b = 321 is calculated as d = 3 using the Euclidean algorithm. To express d as an integer combination of a and b, the Extended Euclidean Algorithm is employed, which provides a systematic method for finding integers r and s such that d = ra + sb. A useful resource for this method is provided in a link to a detailed exposition on the Extended Euclidean Algorithm.

PREREQUISITES
  • Understanding of the Euclidean algorithm
  • Familiarity with integer combinations
  • Basic knowledge of number theory
  • Access to Michael Artin's "Algebra" for context
NEXT STEPS
  • Study the Extended Euclidean Algorithm in detail
  • Practice problems involving integer combinations of GCD
  • Explore applications of GCD in number theory
  • Review subgroup structures in additive groups of integers
USEFUL FOR

Students of algebra, mathematicians interested in number theory, and anyone looking to deepen their understanding of GCD and integer combinations.

achacttn
Messages
7
Reaction score
0
RESOLVED

Homework Statement



Let a = 123, b = 321. Compute d = gcd(a,b) and express d as an integer combination of ra + sb.

Homework Equations



This is a question (3.1, page 70 of Michael Artin's Algebra). For those who do not have the book, this problem is relevant to the section on subgroups of the additive groups of integers.

The Attempt at a Solution



I quickly found d using the Euclidean algorithm (d=3). However, I'm unsure how to approach the 2nd part. So far, it just seems like brute-forcing integer multiples of a and b on a calculator and hoping the difference comes out as |3|.

Any help or point in the right direction would be much appreciated.
 
Last edited:
Physics news on Phys.org


Here's an exposition of a neat way to do it: http://www.millersville.edu/~bikenaga/number-theory/exteuc/exteuc.html

He gives a proof of the method, and then gives an example of it in action.
 
Last edited by a moderator:


Thanks !
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
Replies
5
Views
3K
Replies
3
Views
2K
  • · Replies 17 ·
Replies
17
Views
7K
  • · Replies 1 ·
Replies
1
Views
1K