ISPRIME function
Description
ISPRIME(x) checks whether a number is a prime number. The argument x must be less than 1000000000000 (1012). The function returns 1 when the number is prime, 0 when not.
The argument x can be a real number or a matrix. When it is a matrix, the function returns a matrix with the same dimensions and with the ISPRIME function applied to all elements.
Examples
ISPRIME(11) returns 1
Calculator