Open mhostetter opened 1 year ago
In [1]: import galois
In [2]: %time galois.pollard_rho(59649589127497217 * 5704689200685129054721)
Pollard Rho found a factor 59649589127497217 of 340282366920938463463374607431768211457 in 455,756,940 loops.
Wall time: 16min 46s
Out[2]: 59649589127497217
In [3]: %time galois.pollard_rho(59649589127497217 * 5704689200685129054721, c=3)
Pollard Rho found a factor 59649589127497217 of 340282366920938463463374607431768211457 in 19,246,066 loops.
Wall time: 43.3 s
Out[3]: 59649589127497217
Copied from https://github.com/mhostetter/galois/issues/187#issuecomment-1346103086.