summaryrefslogtreecommitdiff
path: root/math/millerRabin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'math/millerRabin.cpp')
-rw-r--r--math/millerRabin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/millerRabin.cpp b/math/millerRabin.cpp
index e4d2f6e..c6a782f 100644
--- a/math/millerRabin.cpp
+++ b/math/millerRabin.cpp
@@ -1,5 +1,5 @@
constexpr ll bases32[] = {2, 7, 61};
-constexpr ll bases64[] = {2, 325, 9375, 28178, 450775,
+constexpr ll bases64[] = {2, 325, 9375, 28178, 450775,
9780504, 1795265022};
bool isPrime(ll n) {
if (n < 2 || n % 2 == 0) return n == 2;