AoPSWiki
Do you have what it takes to be the next brilliant trader, researcher, or developer at Jane Street Capital? Find out in the Careers in Mathematics Forum.
Personal tools

Euclid's Lemma

From AoPSWiki

Euclid's Lemma is a result in number theory attributed to Euclid. It states that:

A positive integer is a prime number if and only if implies that or , for all integers and .


Proof of Euclid's Lemma

Without loss of generality, suppose (otherwise we are done). By Bezout's Lemma, there exist integers such that such that . Hence and . Since and (by hypothesis), , as desired.

On the other hand, if is not prime, then it must be composite, i.e., , for integers both greater than 1. Then and . Thus the lemma's converse holds as well.

See Also

Looking for a challenging geometry text? Preparing for MATHCOUNTS or the AMC exams? Check out Art of Problem Solving's Introduction to Geometry by Richard Rusczyk.
© Copyright 2008 AoPS Incorporated. All Rights Reserved. • FoundationPrivacyContact Us