Dapatkan pembagi persekutuan terbesar dari suatu bilangan
=GCD(number1, [number2], ...)
| Parameter | Deskripsi |
|---|---|
number1 |
The first number. |
number2 |
[optional] The second number. |
To return the greatest common divisor of the numbers 60 and 36:
=GCD(60,36) // returns 12
GCD returns the number 12, since 12 is the largest factor that goes into both numbers evenly. To get the greatest common divisor of 12, 16, 48:
=GCD(12,16,48) // returns 4
In the example workbook shown above, the formula in F5 is:
=GCD(B5:D5)