Content deleted Content added
Quadrescence (talk | contribs) |
|||
Line 46:
:## ''r'' ← ''b<sub>i</sub>'' - ''b<sub>2i</sub>''
:## If r = 0 return failure
:## x ← ''r<sup> -1 </sup>''(''a<sub>2i</sub>'' - ''a<sub>i</sub>'') mod ''p''
:## return x
:# If ''x<sub>i</sub>'' ≠ ''x<sub>2i</sub>'' then ''i'' ← ''i+1'', and go to step 2.
|