Paper 1, Section I, I

Number Theory
Part II, 2019

(a) State and prove the Chinese remainder theorem.

(b) Let NN be an odd positive composite integer, and bb a positive integer with (b,N)=1(b, N)=1. What does it mean to say that NN is a Fermat pseudoprime to base b? Show that 35 is a Fermat pseudoprime to base bb if and only if bb is congruent to one of 1,6,291,6,29 or 34(mod35)34(\bmod 35).