Read · 1 min
As seen from before, we have the following: Given a prime such that , we have or .
Since is a prime, this intuitively makes sense. If it didn't divide both, then there would need to be "parts" of the prime coming from both and , which means it wouldn't be prime.
So, we wish to generalize, so that is not necessarily prime. What was nice before was that we couldn't have parts coming from both and . Thus, we try to recreate that.
Theorem: Given such that , and , we have .
This theorem works similarly. If , then we have that and combine to make a multiple of . However, if , no part of must come from . Thus, all parts must come from , so .
Proof: Since , by Bezout's Identity there exists integers such that . Multiplying by , we have . Since , we have . Thus, . Hence .