Difference between revisions of "PreviousPrime Command"
From GeoGebra Manual
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}} | ||
;PreviousPrime[ <Number> ] | ;PreviousPrime[ <Number> ] |
Revision as of 10:43, 21 December 2012
- PreviousPrime[ <Number> ]
- Returns the greatest prime smaller than the entered number.
- Example:
PreviousPrime[10000]
yields 9973.
Note:
See also NextPrime Command.