Solution 35934: Correcting a Domain Error When Using the lcm() or gcd() Command on the TI-83 Plus and TI-84 Plus Family of Graphing Calculators?
Why do I get a Domain error when using the lcm() or gcd() command on the TI-83 Plus and TI-84 Plus family of graphing calculators?The input for lcm() and gcd() are either 2 non-negative integers or 2 lists of non-negative integers.
The proper syntax for the gcd() and lcm() functions are listed below.
Please Note: If any of the values used are negative numbers, decimal numbers, or numbers larger than 1E12, it will give a domain error. To correct this, you will need to change any incorrect values inputted to a non-negative, non-decimal integer less than 1E12.
Please see the TI-83 family and TI-84 Plus family guidebooks for additional information.