10.12.2012 Views

Prime Numbers

Prime Numbers

Prime Numbers

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

256 Chapter 5 EXPONENTIAL FACTORING ALGORITHMS<br />

it is an established heuristic that the expected number of iterations to uncover<br />

a hidden prime factor p of N is reduced from c √ p to<br />

c √ p<br />

gcd(p − 1, 2K) − 1 .<br />

For research involving this complexity reduction, it may be helpful first to<br />

work through this heuristic and explore some possible implementations based<br />

on the gcd reduction [Brent and Pollard 1981], [Montgomery 1987], [Crandall<br />

1999d]. Note that when we know something about K the speedup is tangible,<br />

as in the application of Pollard-rho methods to Fermat or Mersenne numbers.<br />

(If K is small, it may be counterproductive to use an iteration x = x 2K + a,<br />

even if we know that p ≡ 1(mod2K), since the cost per iteration may not<br />

be outweighed by the gain of a shorter cycle.) However, it is when we do not<br />

know anything about K that really tough complexity issues arise.<br />

So an interesting open issue is this: Given M machines each doing Pollard<br />

rho, and no special foreknowledge of K, what is the optimal way to assign<br />

respective values {Km : m ∈ [1,...,M]} to said machines? Perhaps the<br />

answer is just Km = 1 for each machine, or maybe the Km values should<br />

be just small distinct primes. It is also unclear how the K values should be<br />

altered—if at all—as one moves from an “independent machines” paradigm<br />

into a “parallel” paradigm, the latter discussed in Exercise 5.25. An intuitive<br />

glimpse of what is intended here goes like so: The McIntosh–Tardif factor of<br />

F18, namely<br />

81274690703860512587777 = 1 + 2 23 · 29 · 293 · 1259 · 905678539<br />

(which was found via ECM) could have been found via Pollard rho, especially<br />

if some “lucky” machine were iterating according to<br />

x = x 223 ·29 + a mod F18.<br />

In any complexity analysis, make sure to take into account the problem that<br />

the number of operations per iteration grows as O(ln Km), the operation<br />

complexity of a powering ladder.<br />

5.25. Analyze a particular idea for parallelization of the Pollard rho<br />

factoring method (not the parallelization method for discrete logarithms as<br />

discussed in the text) along the following lines. Say the j-th of M machines<br />

computes a Pollard sequence, from iteration x = x2 +a mod N, withcommon<br />

parameter a but machine-dependent initial x (j)<br />

1 seed, as<br />

<br />

x (j)<br />

<br />

i : i =1, 2,...,n ,<br />

so we have such a whole length-n sequence for each j ∈ [1,M]. Argue that if<br />

we can calculate the product<br />

Q =<br />

n M M<br />

i=1 j=1 k=1<br />

<br />

x (j)<br />

2i<br />

<br />

− x(k) i

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!