10.12.2012 Views

Prime Numbers

Prime Numbers

Prime Numbers

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

166 Chapter 3 RECOGNIZING PRIMES AND COMPOSITES<br />

3.19. [Lenstra, Granville] Show that if an odd number n be divisible by the<br />

square of some prime, then W (n), the least witness for n, is less than ln 2 n.<br />

(Hint: Use (1.45).) This exercise is re-visited in Exercise 4.28.<br />

3.20. Describe a probabilistic algorithm that gives nontrivial factorizations<br />

of Carmichael numbers in expected polynomial time.<br />

3.21. We say that an odd composite number n is an Euler pseudoprime base<br />

a if a is coprime to n and<br />

a (n−1)/2 <br />

a<br />

≡ (mod n), (3.32)<br />

n<br />

where <br />

a<br />

n is the Jacobi symbol (see Definition 2.3.3). Euler’s criterion (see<br />

Theorem 2.3.4) asserts that odd primes n satisfy (3.32). Show that if n is a<br />

strong pseudoprime base a, thennis an Euler pseudoprime base a, and that<br />

if n is an Euler pseudoprime base a, thennis a pseudoprime base a.<br />

3.22. [Lehmer, Solovay–Strassen] Let n be an odd composite. Show that<br />

the set of residues a (mod n) for which n is an Euler pseudoprime is a proper<br />

subgroup of Z ∗ n. Conclude that the number of such bases a is at most ϕ(n)/2.<br />

3.23. Along the lines of Algorithm 3.5.6 develop a probabilistic compositeness<br />

test using Exercise 3.22. (This test is often referred to as the Solovay–Strassen<br />

primality test.) Using Exercise 3.21 show that this algorithm is<br />

majorized by Algorithm 3.5.6.<br />

3.24. [Lenstra, Robinson] Show that if n is odd and if there exists an integer<br />

b with b (n−1)/2 ≡−1(modn), then any integer a with a (n−1)/2 ≡±1(modn)<br />

also satisfies a (n−1)/2 ≡ a<br />

n<br />

(mod n). Using this and Exercise 3.22, show that<br />

if n is an odd composite and a (n−1)/2 ≡±1(modn) for all a coprime to n,<br />

then in fact a (n−1)/2 ≡ 1(modn) for all a coprime to n. Such a number must<br />

be a Carmichael number; see Exercise 3.12. (It follows from the proof of the<br />

infinitude of the set of Carmichael numbers that there are infinitely many odd<br />

composite numbers n such that a (n−1)/2 ≡±1(modn) for all a coprime to<br />

n. The first example is Ramanujan’s “taxicab” number, 1729.)<br />

3.25. Show that there are seven Fibonacci pseudoprimes smaller than 323.<br />

3.26. Show that every composite number coprime to 6 is a Lucas<br />

pseudoprime with respect to x 2 − x +1.<br />

3.27. Show that if (3.12) holds, then so does<br />

(a − x) n <br />

x (mod (f(x),n)),<br />

≡<br />

a − x (mod (f(x),n)),<br />

<br />

∆ if n = −1,<br />

if <br />

∆<br />

n =1.<br />

In particular, conclude that a Frobenius pseudoprime with respect to f(x) =<br />

x 2 − ax + b is also a Lucas pseudoprime with respect to f(x).

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

Saved successfully!

Ooh no, something went wrong!