highest common factor of 30 and 42
You asked:
MathBot Answer:
Method 1:
is the greatest common divisor of and .
The greatest common divisor of two integers is the largest positive integer that divides both integers.
The greatest common divisor of integers and is written as .
The greatest common divisor can be computed by Euclid's algorithm, which is based on repeated application of the following fact: where is the remainder of divided by , and .
Euclid's algorithm for computing the greatest common divisor of and :
, since is the remainder when is divided by .
, since is the remainder when is divided by .
, since divides .
Method 2:
The greatest common divisor of two integers is the largest positive integer that divides both integers.
The prime factorization of is .
The prime factorization of is .
The GCD is the minimum of the prime powers of the two numbers. Find the greatest common divisor by multiplying the prime number powers together, including only the lowest prime number power of those prime factors which are common to both numbers.