Difference between revisions of "Euclid's Lemma"
(wikify) |
m |
||
Line 8: | Line 8: | ||
===First Proof=== | ===First Proof=== | ||
− | By assumption <math> \gcd(a | + | By assumption <math> \gcd(p,a)=1</math>, thus we can use Bezout's lemma to find integers <math> x,y</math> such that <math> px+ay=1</math>. Hence <math> b\bdot(px+ay)=b</math> and <math> pbx+aby=b</math>. Since <math> p\mid p</math> and <math> p \mid ab </math> (by hypothesis), we conclude that <math> p \mid pbx + aby =b </math> as claimed. |
===Second Proof=== | ===Second Proof=== |
Revision as of 10:26, 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 .