| 1 |
# Black box algorithm to find standard generators of O'N.2 |
| 2 |
|
| 3 |
set F 0 |
| 4 |
set G 0 |
| 5 |
set V 0 |
| 6 |
lbl SEMISTD |
| 7 |
rand 1 |
| 8 |
ord 1 A |
| 9 |
incr V |
| 10 |
if V gt 1000 then timeout |
| 11 |
if A notin 1 2 3 4 5 6 7 8 10 11 12 14 15 16 19 20 22 24 & |
| 12 |
28 30 31 38 56 then fail |
| 13 |
if F eq 0 then |
| 14 |
if A in 22 30 38 then |
| 15 |
div A 2 B |
| 16 |
pwr B 1 2 |
| 17 |
set F 1 |
| 18 |
endif |
| 19 |
endif |
| 20 |
if G eq 0 then |
| 21 |
if A in 20 28 56 then |
| 22 |
div A 4 C |
| 23 |
pwr C 1 3 |
| 24 |
set G 1 |
| 25 |
endif |
| 26 |
endif |
| 27 |
|
| 28 |
if F eq 0 then jmp SEMISTD |
| 29 |
if G eq 0 then jmp SEMISTD |
| 30 |
|
| 31 |
set X 0 |
| 32 |
lbl CONJUGATE |
| 33 |
incr X |
| 34 |
if X gt 1000 then timeout |
| 35 |
rand 4 |
| 36 |
cjr 3 4 |
| 37 |
mu 2 3 5 |
| 38 |
ord 5 D |
| 39 |
if D notin 2 6 8 10 14 22 24 30 38 56 then fail |
| 40 |
if D noteq 22 then jmp CONJUGATE |
| 41 |
|
| 42 |
oup 2 2 3 |
| 43 |
|