gcd()

Read(2212) Label: greatest common divisor,

Description:

Return the greatest common divisor.

Syntax:

gcd(xi,…)

gcd(A)

Note:

The function calculates the greatest common divisor of members of [x1, x2,…].

Parameter:

A

A sequence.

xi

A numeric expression, which will be ignored if its value is not a number.

Return value:

The greatest common divisor.

Example:

gcd(7,1)

1

gcd([14,7,77])

7