]> www.ginac.de Git - cln.git/commitdiff
Update to recently found large Mersenne prime.
authorRichard Kreckel <kreckel@ginac.de>
Thu, 11 Feb 2016 22:23:57 +0000 (23:23 +0100)
committerRichard Kreckel <kreckel@ginac.de>
Thu, 11 Feb 2016 22:23:57 +0000 (23:23 +0100)
examples/perfnum.cc

index 9cbb42bc834e80313749ad7c90202d27ffbe8a50..6292831363cf648cf84dc962e5e8109762972074 100644 (file)
@@ -10,8 +10,8 @@ int main ()
 {
        // previous ones were 1257787, 1398269, 2976221, 3021377, 6972593,
        // 13466917, 20996011, 24036583, 25964951, 30402457, 32582657, 37156667,
-       // 42643801, 43112609
-       int p = 57885161;
+       // 42643801, 43112609, 57885161
+       int p = 74207281;
        cl_I x = (((cl_I)1 << p) - 1) << (p-1);
        cout << x << endl;
 }