Prime Factorizations and the Greatest Common Divisor
Divisors From Prime Factorization (DFPF)
See unique factorization theorem, prime factorization
Let
where
The integer
The proof is very long and may be included later.
Find all positive divisor of
Observe,
By DFPF, the positive divisors of
Hence, the positive divisors are given by:
GCD From Prime Factorization (GCD PF)
See Greatest Common Divisor, Prime Factorization
Let
Where
We have
Let
Let
Then
By DFPF, we obtain
Suppose that
where
But this means that
We conclude, from the definition of GCD, that
Determine
Observe that
Then from GCD PF, we obtain
Note that for large numbers, it if faster and more efficient to use the Extended Euclidean Algorithm