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.

5.7 Exercises 251<br />

is completely rigorous, depending on no unproved hypotheses. Her method<br />

also computes the class number and group structure in the expected time<br />

O |D| 1/5+ɛ . However, unlike with factoring, which may be easily checked for<br />

correctness, there is no simple way to see whether Srinivasan’s computation<br />

of the class number is correct, though it almost certainly is. As we shall see in<br />

the next chapter, there are faster, completely rigorous, probabilistic factoring<br />

algorithms. The Srinivasan method, though, stands as the fastest known<br />

completely rigorous probabilistic method for computing the class number<br />

C(D). ([Hafner and McCurley 1989] have a subexponential probabilistic<br />

method, but its analysis depends on the ERH.)<br />

5.7 Exercises<br />

5.1. Starting with Lenstra’s Algorithm 4.2.11, develop a deterministic<br />

factoring method that takes at most n 1/3+o(1) operations to factor n.<br />

5.2. Suppose one models the iteration of x2 + a mod p in the Pollard-rho<br />

method as a random function f from {0, 1,...,p−1} to {0, 1,...,p−1}. The<br />

function f describes a directed graph on the residues modulo p where a residue<br />

i has a unique out-arrow pointing to f(i). Show that the expected length of<br />

the longest path r1,r2,...,rk of distinct residues is of order of magnitude √ p.<br />

Here is a possible strategy: If s1,s2,...,sj is a path of distinct residues, then<br />

the probability that f(sj) ∈ {s1,...,sj} is (p − j)/p. Thus the probability<br />

that a path starting from s hits distinct points for at least j steps is the<br />

product of (p − i)/p for i = 1, 2,...,j. The expectation asked for is thus<br />

p−1 j j=0 i=1 (p − i)/p. See [Purdom and Williams 1968].<br />

Next investigate the situation that is more relevant to the Pollard-rho<br />

factorization method, where one assumes the random function f is 2 : 1, or<br />

more generally 2K : 1 (see Exercise 5.24). In this regard see [Brent and Pollard<br />

1981] and [Arney and Bender 1982].<br />

5.3. One fact used in the analysis of the Pollard rho method is that the<br />

function f(x) =x 2 + a on Zn to Zn has the property that for each divisor<br />

d of n we have that u ≡ v (mod d) implies that f(u) ≡ f(v) (modd). It is<br />

easy to see that any polynomial f(x) inZn[x] has this property. Show the<br />

converse. That is, if f is any function from Zn to Zn with the property that<br />

f(u) ≡ f(v) (modd) whenever d|n and u ≡ v (mod d), then f(x) mustbe<br />

a polynomial in Zn[x]. (Hint: First show this for n aprime,thenextendto<br />

prime powers, and conclude with the Chinese remainder theorem.)<br />

5.4. Let G be a cyclic group of order n with generator g, and element t. Say<br />

our goal is to solve for the discrete logarithm l of t; that is, an integer l with<br />

g l = t. Assume that we somehow discover an instance g b = t a . Show that the<br />

desired logarithm is then given by<br />

l =((bu + kn)/d) modn,

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

Saved successfully!

Ooh no, something went wrong!