Greatest common divisor (gcd)
Greatest common divisor of whole numbers.
How to write it
gcd(a, b, ...)
- a
- A whole number. Takes a whole number.
- b
- A whole number. Takes a whole number.
Examples
gcd(12, 18)In the solver,
Open in the solvergcd(12, 18)gives6.gcd(12, 18, 24)In the solver,
Open in the solvergcd(12, 18, 24)gives6.