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.

140 Chapter 3 RECOGNIZING PRIMES AND COMPOSITES<br />

Thus there are just as many solutions to a m ≡ 1(modn) asthereareto<br />

a m ≡−1(modn), and the lemma is proved. ✷<br />

Proof of Theorem 3.5.4. From Lemma 3.5.8 and (3.6), it will suffice to show<br />

that S(n)/ϕ(n) ≤ 1/4 whenever n is an odd composite that is greater than 9.<br />

From Lemma 3.5.9, we have<br />

ϕ(n) 1<br />

=<br />

S(n) 2<br />

<br />

p a−1 p − 1<br />

2ν(n)−1 gcd(t, p − 1) ,<br />

p a n<br />

where the notation p a n means that p a is the exact power of the prime p<br />

in the prime factorization of n. Each factor (p − 1)/(2 ν(n)−1 gcd(t, p − 1)) is<br />

an even integer, so that ϕ(n)/S(n) is an integer. In addition, if ω(n) ≥ 3, it<br />

follows that ϕ(n)/S(n) ≥ 4. If ω(n) =2andn is not squarefree, the product<br />

of the various p a−1 is at least 3, so that ϕ(n)/S(n) ≥ 6.<br />

Now suppose n = pq, wherep < q are primes. If 2 ν(n)+1 |q − 1, then<br />

2 ν(n)−1 gcd(t, q − 1) ≤ (q − 1)/4 andϕ(n)/S(n) ≥ 4. We may suppose then<br />

that 2 ν(n) q − 1. Note that n − 1 ≡ p − 1(modq − 1), so that q − 1doesnot<br />

divide n − 1. This implies there is an odd prime dividing q − 1toahigher<br />

power than it divides n − 1; that is, 2 ν(n)−1 gcd(t, q − 1) ≤ (q − 1)/6. We<br />

conclude in this case that ϕ(n)/S(n) ≥ 6.<br />

Finally, suppose that n = p a ,wherea ≥ 2. Then ϕ(n)/S(n) =p a−1 ,so<br />

that ϕ(n)/S(n) ≥ 5, except when p a =9. ✷<br />

3.5.1 The least witness for n<br />

We have seen in Theorem 3.5.4 that an odd composite number n has at least<br />

3n/4 witnesses in the interval [1,n − 1]. Let W (n) denote the least of the<br />

witnesses for n. ThenW (n) ≥ 2. In fact, for almost all odd composites, we<br />

have W (n) = 2. This is an immediate consequence of Theorem 3.4.2. The<br />

following theorem shows that W (n) ≥ 3 for infinitely many odd composite<br />

numbers n.<br />

Theorem 3.5.10. If p is a prime larger than 5, then n =(4 p +1)/5 is a<br />

strong pseudoprime base 2, so that W (n) ≥ 3.<br />

Proof. We first show that n is a composite integer. Since 4 p ≡ (−1) p ≡−1<br />

(mod 5), we see that n is an integer. That n is composite follows from the<br />

identity<br />

4 p +1=(2 p − 2 (p+1)/2 + 1)(2 p +2 (p+1)/2 +1).<br />

Note that 2 2p ≡−1(modn), so that if m is odd, we have 2 2pm ≡−1(modn).<br />

But n − 1=2 2 t,wheret is odd and a multiple of p, the latter following from<br />

Fermat’s little theorem (Theorem 3.4.1). Thus, 2 2t ≡−1(modn), so that n<br />

is a strong pseudoprime base 2. ✷<br />

It is natural to ask whether W (n) can be arbitrarily large. In fact, this<br />

question is crucial. If there is a number B that is not too large such that every

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

Saved successfully!

Ooh no, something went wrong!