Is a prime number?

Share:

Description

Is n a prime number?

Usage

1

Arguments

n

A positive integer.

Value

A boolean.

Examples

1
2
3
IsPrime(1)         # FALSE
IsPrime(5)         # TRUE
IsPrime(59999999)  # TRUE