07.01.2013 Views

Dietzfelbinger M. Primality testing in polynomial time ... - tiera.ru

Dietzfelbinger M. Primality testing in polynomial time ... - tiera.ru

Dietzfelbinger M. Primality testing in polynomial time ... - tiera.ru

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.

78 5. The Miller-Rab<strong>in</strong> Test<br />

Thus (n − 1)p ≡ 0(modp 2 ), which means that p 2 divides (n − 1)p. Butthis<br />

is impossible, s<strong>in</strong>ce p does not divide n − 1=p k · m − 1.<br />

Case 2: n = p · q for two dist<strong>in</strong>ct prime numbers p and q. — We may arrange<br />

the factors so that p > q. Aga<strong>in</strong>, we const<strong>ru</strong>ct an F-witness a <strong>in</strong> Z∗ n,as<br />

follows. We know (by Theorem 4.4.3) that the group Z∗ p is cyclic, i.e., it has<br />

a generator g. By the Ch<strong>in</strong>ese Rema<strong>in</strong>der Theorem 3.4.1, we may choose an<br />

element a, 1≤ a

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

Saved successfully!

Ooh no, something went wrong!