Millar-Rabin Test
assert(!isPrime(0)); assert(!isPrime(1)); assert(isPrime(2)); assert(isPrime(10^^9 + 7));
See Implementation
Millar-Rabin Test