31.9 Integer factorization
31.9-1
Referring to the execution history shown in Figure 31.7(a), when does \text{POLLARDRHO} print the factor of ?
, .
31.9-2
Suppose that we are given a function and an initial value . Define for . Let and be the smallest values such that for . In the terminology of Pollard's rho algorithm, is the length of the tail and is the length of the cycle of the rho. Give an efficient algorithm to determine and exactly, and analyze its running time.
(Omit!)
31.9-3
How many steps would you expect to require to discover a factor of the form , where is prime and ?
.
31.9-4
One disadvantage of as written is that it requires one gcd computation for each step of the recurrence. Instead, we could batch the gcd computations by accumulating the product of several values in a row and then using this product instead of in the gcd computation. Describe carefully how you would implement this idea, why it works, and what batch size you would pick as the most effective when working on a -bit number .
(Omit!)