Solve problem 387
This commit is contained in:
+1
-1
@@ -68,7 +68,7 @@ def is_prime(n):
|
||||
|
||||
def is_prime_rabin_miller(number):
|
||||
""" Rabin-Miller Primality Test """
|
||||
witnesses = [2, 3, 5, 7, 11, 13, 17, 23, 29, 31, 37, 41, 43, 47, 53]
|
||||
witnesses = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37]
|
||||
|
||||
if number < 2:
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user