HP Prime for All

English  Русский 

Syntax

nextprime(a)

Description

Next prime. Returns the next prime number greater than the integer a.

Example

nextprime(12) returns 13

nextprime — Discussion