is.prime {HadamardR} | R Documentation |
is.prime check the given number is prime or not
is.prime(num)
num |
integer |
if the given number is divisible any number other than 1 and itself it return NULL. otherwise TRUE.
TRUE or FALSE
is.prime(3)
#TRUE
is.prime(21)
#FALSE