From: Lars Christensen Date: 2009-06-17T21:14:36+09:00 Subject: Re: Miller–Rabin primality test --0016e6dd89e8ef9b5a046c8a3b4f Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Wed, Jun 17, 2009 at 1:57 PM, Ftf 3k3 wrote: > I tried to follow the instructions here: > http://mathworld.wolfram.com/Rabin-MillerStrongPseudoprimeTest.html > It doesn't work as expected... any help would be very appreciated. > You don't say what you expected and how it actually works. Hint: How big a number is (a ** ((2 ** r) * d)) ? --0016e6dd89e8ef9b5a046c8a3b4f--