HP Prime for All

English  Русский 

Syntax

isprime(a)

Description

Prime integer test. Returns true if the integer a is prime; otherwise, returns false.

Example

isprime(1999) returns true

isPrime — Discussion