Difference between revisions of "Euclid's Lemma"
m |
m |
||
Line 11: | Line 11: | ||
===Second Proof=== | ===Second Proof=== | ||
− | We have <math> | + | We have <math> p\vert ab</math>, so <math> ab=np</math>, with <math> n</math> an integer. Dividing both sides by <math> p</math>, we have |
− | <math>\frac{ | + | <math>\frac{ab}{p}=n</math>. But <math> \gcd(p,a)=1</math> implies <math> a/p</math> is only an integer if <math> p=1</math>. So |
− | <math>\frac{ | + | <math>\frac{ab}{p} = a \frac{b}{p} = n </math>, |
− | which means <math> | + | which means <math> p</math> must divide <math> b</math>. |
==See Also== | ==See Also== |
Revision as of 10:34, 23 March 2008
Euclid's Lemma is a result in number theory, that is attributed to Euclid. It states that:
A positive integer is a prime number if and only if or
Proof of Euclid's Lemma
There are two proofs of Euclid's lemma.
First Proof
By assumption , thus we can use Bezout's lemma to find integers such that . Hence $b\bdot(px+ay)=b$ (Error compiling LaTeX. Unknown error_msg) and . Since and (by hypothesis), we conclude that as claimed.
Second Proof
We have , so , with an integer. Dividing both sides by , we have . But implies is only an integer if . So , which means must divide .