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.

150 Chapter 3 RECOGNIZING PRIMES AND COMPOSITES<br />

1973]). Recently, Rotkiewicz proved that for any x 2 − ax + b with ∆ = a 2 − 4b<br />

not a square, there are infinitely many Lucas pseudoprimes n with <br />

∆<br />

n = −1.<br />

In analogy to strong pseudoprimes (see Section 3.5), we may have strong<br />

Lucas pseudoprimes and strong Frobenius pseudoprimes. Suppose n is an odd<br />

prime not dividing b∆. In the ring R = Zn[x]/(f(x)) it is possible (in the case<br />

∆<br />

2 2 =1)tohavez= 1 and z = ±1. For example, take f(x) =x − x − 1,<br />

n<br />

n = 11, z =3+5x. However, if (x(a − x) −1 ) 2m = 1, then a simple calculation<br />

(see Exercise 3.30) shows that we must have (x(a − x) −1 ) m = ±1. We have<br />

from (3.10) and (3.11) that (x(a − x) −1 ) n−(∆ n) =1inR. Thus, if we write<br />

n − <br />

∆ s<br />

n =2 t,wheretis odd, then<br />

either (x(a − x) −1 ) t ≡ 1(mod(f(x),n))<br />

or (x(a − x) −1 ) 2i t ≡−1(mod(f(x),n)) for some i, 0 ≤ i ≤ s − 1.<br />

This then implies that<br />

either Ut ≡ 0(modn)<br />

or V 2 i t ≡ 0(modn) for some i, 0 ≤ i ≤ s − 1.<br />

If this last statement holds for an odd composite number n coprime to b∆,<br />

we say that n is a strong Lucas pseudoprime with respect to x 2 − ax + b. Itis<br />

easy to see that every strong Lucas pseudoprime with respect to x 2 − ax + b<br />

is also a Lucas pseudoprime with respect to this polynomial.<br />

In [Grantham 2001] a strong Frobenius pseudoprime test is developed,<br />

not only for quadratic polynomials, but for all polynomials. We describe the<br />

quadratic case for <br />

∆<br />

2 S<br />

n = −1. Say n − 1=2 T ,wherenis an odd prime not<br />

dividing b∆ andwhere <br />

∆<br />

n<br />

n = −1. From (3.10) and (3.11), we have x 2 −1 ≡ 1<br />

(mod n), so that<br />

either x T ≡ 1(modn)<br />

or x 2i T ≡−1(modn) for some i, 0 ≤ i ≤ S − 1.<br />

If this holds for a Frobenius pseudoprime n with respect to x 2 − ax + b,<br />

we say that n is a strong Frobenius pseudoprime with respect to x 2 − ax + b.<br />

(That is, the above congruence does not appear to imply that n is a Frobenius<br />

pseudoprime, so this condition is put into the definition of a strong Frobenius<br />

pseudoprime.) It is shown in [Grantham 1998] that a strong Frobenius<br />

pseudoprime n with respect to x2 − ax + b, with <br />

∆<br />

n = −1, is also a strong<br />

Lucas pseudoprime with respect to this polynomial.<br />

As with the ordinary Lucas test, the strong Lucas test may be<br />

accomplished in time bounded by the cost of two ordinary pseudoprime<br />

tests. It is shown in [Grantham 1998] that the strong Frobenius test may<br />

be accomplished in time bounded by the cost of three ordinary pseudoprime<br />

tests. The interest in strong Frobenius pseudoprimes comes from the following<br />

result from [Grantham 1998]:

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

Saved successfully!

Ooh no, something went wrong!