IsPrime Command

From GeoGebra Manual
Jump to: navigation, search


IsPrime( <Number> )
Gives true or false depending on whether the number is prime or not.
Example:
  • IsPrime(10) yields false,
  • IsPrime(11) yields true.

CAS Syntax

IsPrime( <Number> )
Gives true or false depending on whether the number is prime or not.
Example:
  • IsPrime(10) yields false,
  • IsPrime(11) yields true.
© 2024 International GeoGebra Institute