USE THIS WORKSHEET TO DO THE IN CLASS PROJECT on 11/2/17. If you don't finish it in class finish it before Class on Tuesday!
Copy the functions powmod, binary and fermat from your SMC Assignment 4. If you don't have them, get them from someone else!
Check that your functions work by testing whether 8675309 and 8675307 are prime using the fermat function and several different bases. Which one is prime?
Try out the command randint(a,b) which generates a random number between a and b.
17