gcd - Maple Help

# Online Help

###### All Products    Maple    MapleSim

MapleTA[Builtin]

 gcd
 greatest common divisor

 Calling Sequence gcd(a, b)

Parameters

 a, b - integer

Description

 • The gcd command computes the integer greatest common divisor of a and b.

Examples

 > $\mathrm{MapleTA}:-\mathrm{Builtin}:-\mathrm{gcd}\left(12,15\right)$
 ${3}$ (1)

Compatibility

 • The MapleTA[Builtin][gcd] command was introduced in Maple 18.
 • For more information on Maple 18 changes, see Updates in Maple 18.

 See Also