We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I decided to try and solve the problem as efficiently as possible this time instead of trying to do it tersely. I took the (determinisitic) Miller-Rabin code form rosetta code over at Rosetta Code
Captain Prime
You are viewing a single comment's thread. Return to all comments →
I decided to try and solve the problem as efficiently as possible this time instead of trying to do it tersely. I took the (determinisitic) Miller-Rabin code form rosetta code over at Rosetta Code
Here is what i ended up with: