next up previous contents index
suivant: The greatest pseudo-prime less monter: Integers (and Gaussian Integers) précédent: Test of primality :   Table des matières   Index


The smallest pseudo-prime greater than n : nextprime

nextprime(n) returns the smallest pseudo-prime (or prime) greater than n.
Input :
nextprime(75)
Output :
79



giac documentation written by Renée De Graeve and Bernard Parisse