IsPrime Command

From GeoGebra Manual
Revision as of 10:36, 19 September 2012 by Alexander Hartl (talk | contribs)
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