1. Feng Zhou
  2. miller_rabin


# Module: miller_rabin.py

miller_rabin.py contains a function called "isprime(n)" that tests whether the given n is a prime number using the Miller-Rabin primality test.

1. In command line, go to the folder containing miller_rabin.py
2. Enter python shell; $python
3. >>>from miller_rabin import isprime
4. now you can use the funcion isprime in python shell
5. try