Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,6 @@
|
|||
Select[Table[M = 2^p - 1;
|
||||
For[i = 1; s = 4, i <= p - 2, i++, s = Mod[s^2 - 2, M]];
|
||||
If[s == 0, "M" <> ToString@p, p], {p,
|
||||
Prime /@ Range[300]}], StringQ]
|
||||
|
||||
=> {M3, M5, M7, M13, M17, M19, M31, M61, M89, M107, M127, M521, M607, M1279}
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
t = SessionTime[];
|
||||
For[p = 2, True, p = NextPrime[p], M = 2^p - 1;
|
||||
For[i = 1; s = 4, i <= p - 2, i++, s = Mod[s^2 - 2, M]];
|
||||
If[s == 0, Print["M" <> ToString@p]]]
|
||||
(SessionTime[] - t) {Seconds, Minutes/60, Hours/3600, Days/86400}
|
||||
Loading…
Add table
Add a link
Reference in a new issue