nextprime(n) désigne le plus petit nombre pseudo-premier (ou premier) plus grand que n. On tape :
On obtient :