Inhaltsverzeichnis

Development of
Algorithmic Constructions

22:49:22
Deutsch
16.Oct 2021

31 33 35


Number p=

Calculation

a^2+(bI)^2 = a^2-b^2 = 1 mod p

Distance to the middle point
ph=(prim-1)/2;
if (i < ph) m_i=i;
else m_i=prim-i;

if (j < ph) m_j=j;
else m_j=prim-j;

dist=(m_i^2+m_j^2) % prim;

Potence 2 Potence 3 Potence 5 Potence 7 Potence 11 Potence 13 Potence 17 Potence 19 Potence 23 Potence 29

Number = 33, Exponent = 1, 33 = 1 mod 4, 33 = 1 mod 8

32
032 I
Number of elements = 20
Number of red elements = 16
Number of elements / Number of red elements = 1.25

Number = 33, Exponent = 1, 33 = 1 mod 4, 33 = 1 mod 8

Potence 2 Potence 3 Potence 5 Potence 7 Potence 11 Potence 13 Potence 17 Potence 19 Potence 23 Potence 29

32^2-0^2=1
32*0=0
dist=1
|31+6I|=1
31/6=-22.333333333333
31*6=21
dist=8
|31+27I|=1
31/27=-26.962962962963
31*27=12
dist=8
|29+9I|=1
29/9=-22.444444444444
29*9=30
dist=13
|29+24I|=1
29/24=-24.916666666667
29*24=3
dist=13
|26+9I|=1
26/9=-0.77777777777778
26*9=3
dist=14
|26+24I|=1
26/24=-29.166666666667
26*24=30
dist=14
23^2-0^2=1
23*0=0
dist=10
|20+6I|=1
20/6=-18.666666666667
20*6=21
dist=7
|20+27I|=1
20/27=-7.8148148148148
20*27=12
dist=7
|13+6I|=1
13/6=-25.333333333333
13*6=12
dist=7
|13+27I|=1
13/27=-16.62962962963
13*27=21
dist=7
10^2-0^2=1
10*0=0
dist=10
|7+9I|=1
7/9=-6.5555555555556
7*9=30
dist=14
|7+24I|=1
7/24=-23.083333333333
7*24=3
dist=14
|4+9I|=1
4/9=-17.888888888889
4*9=3
dist=13
|4+24I|=1
4/24=-27.333333333333
4*24=30
dist=13
|2+6I|=1
2/6=-21.666666666667
2*6=12
dist=8
|2+27I|=1
2/27=-30.481481481481
2*27=21
dist=8
1^2-0^2=1
1*0=0
dist=1