I was thinking the prime counting inequalities from Pierre Dusart. In particular, I was interested in thinking about when $x \ge 5393$
$$\frac{x}{\ln(x)-1} < \pi(x)$$
I was using Excel with $\dfrac{\sqrt{x}}{\ln(x)-1}$ which seemed to go up and down up until $x=21$.
Does $\dfrac{\sqrt{x}}{\ln(x)-1}$ strictly increase when $x \ge 21$?
My thinking is yes.
Here's my thinking:
The derivative of $\dfrac{\sqrt{x}}{\ln(x)-1}$ is:
$$\frac{\ln(x) - 3}{2\sqrt{x}(\ln(x) - 1)^2}$$
This is positive for $\ln(x) > 3$ so that as long as $x > e^3 \approx 20.086$.
This suggests, if I am doing my calculations correctly, that for $x \ge 5393$:
$$\pi(x) > \sqrt{x}$$.
My only reason for doubting my thinking is that I have not seen this inequality before.
Here's my argument for $\dfrac{x}{\ln(x)-1} > \sqrt{x}$ for $x \ge 5393$
(1) $\dfrac{\sqrt{5393}}{\ln(5393) -1 } > 1$
(2) If strictly increasing, then for $x \ge 5393$,
$$\frac{\sqrt{x}}{\ln(x)-1} > 1$$
(3) So that:
$$\pi(x) > \frac{x}{\ln(x)-1} > \sqrt{x}$$
Your argument that it is increasing for $x \gt 21$ is correct. The final conclusion is correct, too, but it is not a very tight bound. $\ln(x)-1$ is tiny compared to $\sqrt x$ as $x$ gets large.