NextPrime Command

From GeoGebra Manual
Jump to: navigation, search
NextPrime[ <Number> ]
Returns the smallest prime greater than the entered number.
Example:
NextPrime[10000] yields 10007.
Note:
© 2021 International GeoGebra Institute