That is, it computes g, q1, q2 such that:
c1 ⋅ p1 = g ⋅ q1 for some constant c1 and
c2 ⋅ p2 = g ⋅ q2 for some constant c2,
such that q1 and q2 are coprime.
It returns true if p1 and p2 are already coprime.
|
|
|
| |||
Computes g, q1, q2 as described above. Returns whether p1 and p2 where already coprime. |