IsPrime

Top  Previous  Next

isprime($n)

 

Returns true if $n is a prime number. Note that the inline calculator only checks primes under 1 000 000.