CURIUM
If 7 divides a product of two integers, does it divide one of them?

Euclid's lemma

If 7 divides a product of two integers, does it divide one of them?

Yes, because 7 is prime — this is Euclid's Lemma, proposition 30 of book VII of the Elements. If 7 divides 14 × 15 = 210, it divides 14. With a non-prime divisor, the conclusion fails: 6 divides 4 × 9 = 36 without dividing either 4 or 9, because its factors 2 and 3 are distributed between the two.

MathsNumber theory

The three levels

Beginner

If 7 divides a product of two integers, does it divide one of them?

Yes, because 7 is prime — this is Euclid's Lemma, proposition 30 of book VII of the Elements. If 7 divides 14 × 15 = 210, it divides 14. With a non-prime divisor, the conclusion fails: 6 divides 4 × 9 = 36 without dividing either 4 or 9, because its factors 2 and 3 are distributed between the two.

Intermediate

What remains of Euclid's Lemma when the divisor is no longer prime?

Gauss's Lemma, which replaces primality with a relative condition: if a divides bc and a is coprime with b, then a divides c. The proof fits one line: a divides ac and bc, so their GCD equals GCD(a, b) × c = c. Euclid's Lemma is the case where a is prime, because a prime that does not divide b is coprime with it.

Expert

What role does Euclid's Lemma play in Gauss's Disquisitiones arithmeticae?

To prove the uniqueness of prime factorisation. Gauss makes it proposition 14 of the second section, treats existence as obvious, deduces uniqueness at theorem 16, then derives 'his' lemma from this uniqueness at article 19. Yet Gauss's Lemma already appeared in Jean Prestet's Nouveaux élémens de mathématiques in 1689.