TU-Berlin → Inst. f. Mathematik → Algebra und Zahlentheorie → KASH → Documentation → Reference Manual
KASH3 Reference Manual
search    

Function

NextPrime ( elt-ord^rat n ) -> elt-ord^rat

Optional Arguments

Proofelt-alg^boo

Description

The least prime number greater than n.

Examples

NextPrime(100);
Built: Mon Nov 14 21:12:39 UTC 2005 on mack
The KANT Group