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.

186 Chapter 4 PRIMALITY PROVING<br />

polynomial vx 3 − (uF − c1v)x 2 − (c4v − dF + u)x + d has no integral<br />

root a such that aF +1 is a nontrivial factor of n, and the polynomial<br />

vx 3 +(uF − c1v)x 2 − (c4v + dF + u)x + d has no integral root b such<br />

that bF − 1 is a nontrivial factor of n.<br />

The next result allows one to combine partial factorizations of both n − 1<br />

and n + 1 in attempting to prove n prime.<br />

Theorem 4.2.10 (Brillhart, Lehmer, and Selfridge). Suppose that n is a<br />

positive integer, F1|n−1, and that (4.3) holds for some integer a1 and F = F1.<br />

Suppose, too, that f,∆ are as in (4.12), gcd(n, 2b) =1, <br />

∆<br />

n = −1, F2|n +1,<br />

and that (4.14) holds for F = F2. LetFbe the least common multiple of<br />

F1,F2. Then each prime factor of n is congruent to either 1 or n (mod F ).<br />

In particular, if F> √ n and n mod F is not a nontrivial factor of n, then n<br />

is prime.<br />

Note that if F1,F2 are both even, then F = 1<br />

2 F1F2, otherwise F = F1F2.<br />

Proof. Let p be a prime factor of n. Theorem 4.1.3 implies p ≡ 1(modF1),<br />

while Theorem 4.2.3 implies that p ≡ <br />

∆<br />

p (mod F2). If <br />

∆<br />

p =1,thenp≡1 (mod F ), and if <br />

∆<br />

p = −1, then p ≡ n (mod F ). The last assertion of the<br />

theorem is then immediate. ✷<br />

4.2.3 Divisors in residue classes<br />

What if in Theorem 4.2.10 we have F

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

Saved successfully!

Ooh no, something went wrong!