Skip to main content
MedCalc
Mail a PDF copy of this page to:
(Your email address will not be added to a mailing list)
working
Show menu

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.

Examples

ISPRIME(11) returns 1

Calculator

ISPRIME(  

Related functions

External links