1.I.1F

Number Theory
Part II, 2007

State the prime number theorem, and Bertrand's postulate.

Let SS be a finite set of prime numbers, and write fs(x)f_{s}(x) for the number of positive integers no larger than xx, all of whose prime factors belong to SS. Prove that

fs(x)2#(S)xf_{s}(x) \leqslant 2^{\#(S)} \sqrt{x}

where #(S)\#(S) denotes the number of elements in SS. Deduce that, if xx is a strictly positive integer, we have

π(x)logx2log2.\pi(x) \geqslant \frac{\log x}{2 \log 2} .