Paper 4, Section II, I
(a) Let be an odd integer and an integer with . What does it mean to say that is a (Fermat) pseudoprime to base b?
Let be integers. Show that if is an odd composite integer dividing and satisfying , then is a pseudoprime to base .
(b) Fix . Let be an odd prime not dividing , and let
Use the conclusion of part (a) to show that is a pseudoprime to base . Deduce that there are infinitely many pseudoprimes to base .
(c) Let be integers, and let , where are distinct primes not dividing . For each , let . Show that is a pseudoprime to base if and only if for all , the order of modulo divides .
(d) By considering products of prime factors of and for primes , deduce that there are infinitely many pseudoprimes to base 2 with two prime factors.
[Hint: You may assume that for implies , and that for is not a power of 3.]