Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2005/ii/paper-3/1h/solution

Let be the first primes, and let count positive integers at most not divisible by any of them. The inclusion-exclusion principle gives
For , every composite at most is removed, so the survivors are one and the primes larger than . Thus the Legendre prime-counting formula is . This is the prime-counting formula, distinct from the factorial-valuation formula of the same name.
Fix and put . Every prime exceeding is among the unsieved integers. Replacing each floor in the finite sum by its argument makes an error bounded by , giving
Take with fixed. The supplied product estimate gives . Since can be arbitrarily large, . The order of these limits avoids treating the growing inclusion-exclusion error as negligible.

New to topics? Read the docs here!