Greatest common divisor
Statement
For a finite sequence
Let be a commutative unital ring and . An element is termed a greatest common divisor or gcd of if it satisfies the following equivalent conditions:
- for all and if for all , then .
- for all if and only if .
- The ideal is the intersection of all the principal ideals of containing .
The greatest common divisor of a finite set of elements is not unique; if two elements are both greatest common divisors of , then they are associate elements.
For any set
Let be a commutative unital ring and be a subset of . An element is termed a greatest common divisor of if it satisfies the following equivalent conditions:
- for all , and if for all , then .
- for all if and only if .
- The ideal is the intersection of all the principal ideals of containing .