Education Technology

# Knowledge Base

## Solution 17029: Calculating the gcd() (Greatest Common Divisor) on the TI-83 Family, TI-84 Plus Family, Or TI-Nspire™ Handheld In TI-84 Plus Mode.

### How do I calculate the gcd() (greatest common divisor) on the TI-83 family, TI-84 Plus family, or TI-Nspire handheld in TI-84 Plus mode?

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] [→] [9].
• Press [2] [5] [,] [1] [2] [5] [)].
• Press [ENTER].

To find the gcd of two lists:

• Press [MATH] [→] [9].
• Press [{] [2] [0] [,] [4] [8] [}].
• Press [,] [{] [6] [2] [,] [1] [2] [2] [}] [)].
• Press [ENTER].

To find the gcd between a list and a value:

• Press [MATH] [→] [9].
• Press [{] [3] [3] [,] [9] [9] [}].
• Press [,] [3] [)].
• Press [ENTER].

Please Note: Unlike the TI-89 family, TI-92 family and Voyage 200, the TI-83 family, TI-84 Plus family, or TI-Nspire handheld in TI-84 Plus mode are unable to determine the gcd of a matrix.

Please see the TI-83 Plus Family and TI-84 Plus Family guidebooks for additional information.

TI-Nspire handheld in TI-84 Plus mode users may refer to the TI-84 Plus family guidebook.