Let us walk on the 3-isogeny graph
Loading...
Searching...
No Matches
prime_search.m
Go to the documentation of this file.
2bits := 72;
3
4sop := PrimesUpTo(2048);
5fct := sop[1..15]; // bits: 72
6// fct := sop[1..42]; // bits: 255
7// fct := sop[1..58]; // bits: 383
8q := fct[#fct];
9for i:= 1 to 25 do
10 q := NextPrime(q);
11 for j:= 1 to #fct do
12 sop := fct[1..(j-1)] cat fct[(j+1)..#fct] cat [q];
13 p := 2 * &*sop * q - 1;
14 if IsPrime(p) and #Intseq(p, 2) eq bits and 3 in sop then
15 if p mod 4 eq 3 and p^2 mod 16 eq 9 then
16 print p;
17 end if;
18 end if;
19 end for;
20end for;
#define p
Definition fp-gmp.h:44
if IsPrime(p) and if p mod 4 eq 3 and p^2 mod 16 eq 9 then print p
for i
for j
end if
end for
clear
Definition prime_search.m:1