Paper 3, Section I, 1H1 \mathrm{H}

Number Theory
Part II, 2020

Let N3N \geqslant 3 be an odd integer and bb an integer with (b,N)=1(b, N)=1. What does it mean to say that NN is an Euler pseudoprime to base bb ?

Show that if NN is not an Euler pseudoprime to some base b0b_{0}, then it is not an Euler pseudoprime to at least half the bases {1b<N:(b,N)=1}\{1 \leqslant b<N:(b, N)=1\}.

Show that if NN is odd and composite, then there exists an integer bb such that NN is not an Euler pseudoprime to base bb.