Artificial intelligent assistant

Is the Legendre sieve explicit? The Wikipedia page for the Legendre sieve... < ...says that the Legendre sieve gives upper and lower bounds on the number of primes in a given range. In particular, there is an inequality towards the bottom of the page that says that the Legendre sieve can be used to give an upper bound on the prime counting function. However, I've tested the Legendre sieve for some arbitrary values (namely 10, 28, and 100) and have gotten explicit values for $\pi(x)$. This makes sense, too, since the sieve is just based on elementary counting principles and inclusion/exclusion. Where, then, does the estimation error come from, or what is Wikipedia referring to? Many thanks!

If $z$ is too small, you may "forget" to strike out some composites (having only prime factors larger than $z$). Therefore if $z$ is too small you only get $S(\\{1,\ldots,x\\},z\\#) \ge \pi(x)-\pi(z)+1$. For example, with $z=3$, we find that $S(A,P)=\lfloor x\rfloor -\lfloor \frac x2\rfloor -\lfloor \frac x3\rfloor + \lfloor \frac x6\rfloor$, hence $$\pi(x)\le \lfloor x\rfloor -\lfloor \frac x2\rfloor -\lfloor \frac x3\rfloor + \lfloor \frac x6\rfloor+1$$ as a very simple and very rough estimate. For example, this says $\pi(100)\le 100-50-33+16+1=34$, whereas $\pi(100)=25$. Clearly, the error starts growing from $x=25$ onward.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy a9bac914c22410a2326fcdc9d25f86b7