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