Paper 3, Section II, G
Part II, 2010
State precisely the Miller-Rabin primality test.
(i) Let be a prime , and define
Prove that is a composite odd integer, and that is a pseudo-prime to the base 2 .
(ii) Let be an odd integer greater than 1 such that is a pseudo-prime to the base 2 . Prove that is always a strong pseudo-prime to the base 2 .