# Euclid's lemma

**Topic:** Maths · Number theory  
**Page:** https://curium.ctopass.com/en/c/lemme-d-euclide  
**Updated:** 2026-09-11

## 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.

## Explore next

- [Prime number](https://curium.ctopass.com/en/c/nombre-premier.md)
- [Bachet-Bézout theorem](https://curium.ctopass.com/en/c/theoreme-de-bachet-bezout.md)
- [Srinivasa Ramanujan](https://curium.ctopass.com/en/c/srinivasa-ramanujan.md)
- [Modular arithmetic](https://curium.ctopass.com/en/c/arithmetique-modulaire.md)
- [Goldbach's conjecture](https://curium.ctopass.com/en/c/conjecture-de-goldbach.md)
- [Sieve of Eratosthenes](https://curium.ctopass.com/en/c/crible-d-eratosthene.md)
- [Fermat's Last Theorem](https://curium.ctopass.com/en/c/dernier-theoreme-de-fermat.md)
- [Mersenne prime](https://curium.ctopass.com/en/c/nombre-de-mersenne-premier.md)
- [Perfect number](https://curium.ctopass.com/en/c/nombre-parfait.md)
- [Fermat's little theorem](https://curium.ctopass.com/en/c/petit-theoreme-de-fermat.md)

---

Curium — Knowledge, one question at a time.

App Store: https://apps.apple.com/fr/app/curium/id6793886587
Google Play: https://play.google.com/store/apps/details?id=com.ctopass.curium
