Greatest common divisors and Euclid's algorithm
Arun Ram
Department of Mathematics and Statistics
University of Melbourne
Parkville, VIC 3010 Australia
aram@unimelb.edu.au
Last update: 05 March 2012
Number systems - , the integers
with
Let The multiples of is
Let The integer divides , if
Let The greatest common divisor of and , is such that
- and
- If and and then
Let
Define
(Euclidean algorithm) Let There exist unique such that
- where
If (a) and (b) hold write
Example.
The 15th row of the multiplication table for is
Notice that
-
- The numbers in row of the multiplication table for are
(all multiples of in )
Let There exists such that
Let Let such that Let Then
(Euclidean algorithm). Let There exist unique such that
- where
|
|
Proof.
|
|
Assume To show:
- There exist such that
- such that and are unique.
- Let the smallest integer in less than or equal to and To show:
- Since then
- Since and
So and
- Assume
and and and assume
and and To show:
Since and is the largest integer in which is
Since and is the largest integer in which is
|
Example.
Using Euclids algorithm find
Hodgson says:
So
Note:
Let with There exists such that
|
|
Proof.
|
|
Let be minimal such that
To show:
- Since
- Assume
Since is minimal
|
Let Let such that Let Then
|
|
Proof.
|
|
Let Let such that
To show:
-
- Since and then and
|
Notes and References
Where are these from?
References
References?
page history