Next: Example
Up: Euclid's Algorithm
Previous: Euclid's Algorithm
Euclid's algorithm is a sequence of integer divisions. Given two
numbers
a and b, where b is smaller than a, we may divide
where q is an integer called the quotient and r is an integer
called the remainder which must satisfy
.
Suppose a=97 and b=13. Then
,
which means q=7and r=6.
David J. Wright
2000-09-11