Yoni decides to run the Miller-Rabin algorithm to test whether 3121 is prime (he wasn't paying at...
14. Yoni decides to run the Miller-Rabin algorithm to test whether 3121 is prime (he wasn't paying attention in lectures otherwise he'd know that it is!). Laurel watches on with some amusement as Yoni tries every possible value for a (he is nothing if not persistent). Each time Yoni uses fast-exponentiation, Laurel writes down the value that d has at the end of the FOR loop for 8. When Yoni is finished, Laurel tells him that she has only written...