Difference between revisions of "NextPrime Command"
From GeoGebra Manual
m (1 revision: new commands) |
(command syntax: changed [ ] into ( )) |
||
(9 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
− | + | <noinclude>{{Manual Page|version=5.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> | |
− | <noinclude>{{Manual Page|version= | + | {{command|algebra}} |
− | {{command| | + | ;NextPrime( <Number> ) |
− | ;NextPrime | + | :Returns the smallest prime greater than the entered number. |
− | :{{ | + | :{{example| 1=<div><code><nowiki>NextPrime(10000)</nowiki></code> yields ''10007''.</div>}} |
+ | |||
+ | {{note| 1=<div>See also [[PreviousPrime Command]].</div>}} |
Latest revision as of 13:00, 5 October 2017
- NextPrime( <Number> )
- Returns the smallest prime greater than the entered number.
- Example:
NextPrime(10000)
yields 10007.
Note:
See also PreviousPrime Command.