IsPrime Command

From GeoGebra Manual
Revision as of 12:53, 5 October 2017 by Mathmum (talk | contribs) (command syntax: changed [ ] into ( ))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.
© 2021 International GeoGebra Institute