Let be the first primes, and let count positive integers at most not divisible by any of them. The inclusion-exclusion principle givesFor , 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 , givingTake 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.
Articles by others on the same topic
There are currently no matching articles.