Miller–Rabin primality test: Difference between revisions

(→‎{{header|Haskell}}: ... and wrong output)
Line 1,113:
witns x y = do
g <- newStdGen
let r = [9080191, 4759123141, 2152302898747, 34747496003833474749660383, 341550071728321]
fs = [[31,73],[2,7,61],[2,3,5,7,11],[2,3,5,7,11,13],[2,3,5,7,11,13,17]]
if y >= 341550071728321
Anonymous user