From: Martin Lauridsen on
Hi Group,

I am researching on Pollards Rho method for factoring integers.

I am curious as to why the function f(x) = x^2 + c (mod n) is chosen
to generate the pseudorandom sequence. Why use a quadratic function?
My books say, that the function should be chosen, s.t. the periodic
sequence (mod n) is also defined (mod p), but I dont see how the
function f(x) could have an impact on this?

Also I am curious why e.g. c = 0 and c = -2 are bad values.

Thanks!