# Knowledge Base

## Solution 34793: Calculating the GCD() (Greatest Common Divisor) on the TI-84 Plus C Silver Edition Graphing Calculator.

### How do I calculate the gcd() (greatest common divisor) on the TI-84 Plus C Silver Edition?

The gcd() function is used to calculate the greatest common divisor of two arguments of which must be nonnegative integers. When listA and listB are specified, gcd( returns a list of the gcd of each pair of elements. If list and value are specified, gcd( finds the gcd of each list and value. The proper syntax for the gcd() functions are listed below.

gcd(valueA,valueB)

gcd({listA},{listB})

gcd({list}, value)

The gcd() function can be located by following the keystrokes provided below.

To find gcd of two values:

• Press [MATH] [►] .
• Press   [,].
• Press   .
• Press [)] [ENTER].

To find the gcd of two lists:

• Press [MATH] [►] .
• Press [{]   [,].
• Press   [}].
• Press [,] [{]   [,].
• Press    [}].
• Press [)] [ENTER].

To find the gcd between a list and a value:

• Press [MATH] [►] .
• Press [{]   [,].
• Press   [}].
• Press [,]  [)].
• Press [ENTER]. Please see the TI-84 Plus C Silver Edition guidebook for additional information.