next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
RandomSpaceCurves :: nextPrime

nextPrime -- compute the smallest prime greater than or equal to n

Synopsis

Description

i1 : p=nextPrime 10000

o1 = 10007

See also

Ways to use nextPrime :