Difference between revisions of "IsPrime Command"
From GeoGebra Manual
m (Bot: Automated text replacement (-{{betamanual|version=4.2}} + )) |
|||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version=4.2}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> | + | <noinclude>{{Manual Page|version=4.2}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> |
{{command|algebra}} | {{command|algebra}} | ||
;IsPrime[ <Number> ] | ;IsPrime[ <Number> ] |
Revision as of 15:12, 1 January 2013
- 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.