# Greatest common divisor

**Topic:** Maths · Arithmetic and numbers  
**Page:** https://curium.ctopass.com/en/c/plus-grand-commun-diviseur  
**Updated:** 2026-09-13

## The three levels

### Beginner — How do you find the largest number that divides both 20 and 30?

List their common divisors: 1, 2, 5 and 10. The largest is 10, which is the GCD of 20 and 30. The list is always finite because a divisor never exceeds the number it divides, and always non-empty because 1 divides everything. A greatest element therefore always exists.

### Intermediate — Why is −3 also a GCD of 6 and 9?

Because the definition that generalises speaks not of size but of divisibility: a GCD of a and b is a common divisor d such that every other common divisor divides d. Every common divisor of 6 and 9 divides 3, and therefore also divides −3. For integers, we conventionally take the positive GCD, which coincides with the largest in the usual sense, except in the case GCD(0, 0).

### Expert — Do two numbers always have a GCD?

Not in every ring. In ℤ[i√3], the elements 4 and 2 + 2i√3 have 2 and 1 + i√3 as common divisors, but no element divisible by both 2 and 1 + i√3 divides both of them: they have no GCD. Existence is guaranteed in factorial rings, and rings where it holds for every pair are called GCD domains.

## Explore next

- [Euclidean division](https://curium.ctopass.com/en/c/division-euclidienne.md)
- [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)
- [Place value](https://curium.ctopass.com/en/c/numeration-de-position.md)
- [Power of a number](https://curium.ctopass.com/en/c/puissance-d-un-nombre.md)
- [Square root](https://curium.ctopass.com/en/c/racine-carree.md)
- [Square root of 2](https://curium.ctopass.com/en/c/racine-carree-de-deux.md)
- [Fibonacci sequence](https://curium.ctopass.com/en/c/suite-de-fibonacci.md)
- [Zero](https://curium.ctopass.com/en/c/zero.md)
- [0.999…](https://curium.ctopass.com/en/c/0-999.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
