As I understand it, using the Prime Number Theorem, it is well known that for any positive integer $x$, there exists an integer $N$ such that for all $n \ge N, \pi(n) < \dfrac{n}{x}$
For many proofs, it is helpful to provide a lemma as a way to shorten the proof (for example, see the proof of the Sylvester-Schur Theorem by Paul Erdos).
Is there a standard way to show the proof for $x=4$ or $x=5$?
It seems quite straight forward for $x=2$ or $x=3$. I could not find a straight forward argument for $x=4$ or $x=5$. Am I missing the obvious or does the argument get significantly more complicated with $x \ge 4$?
Edit: Added proofs for $x=2, x=3$
Here are the straight forward proofs for $x=2, x=3$.
Lemma 1: For $n \ge 8, \pi(n) \le \dfrac{n}{2}$
(1) It is true for $\pi(8)$ and $\pi(9)$ so we can assume it is true up to some $n-1 \ge 9$ such that $\pi(n-1) = \dfrac{n-1}{2}$
(2) if $n$ is not prime, $\pi(n) = \pi(n-1) \le \dfrac{n-1}{2} < \dfrac{n}{2}$ If $n$ is prime, it is odd. So, $\pi(n) \le \dfrac{n-2}{2} + 1 = \dfrac{n}{2}$
Lemma 2: For $n \ge 37, \pi(n) < \dfrac{n}{3}$
(1) It is true for $\pi(37)$ so we can assume that it is true up to some $n-1 \ge 37$ such that $\pi(n-1) < \dfrac{n-1}{3}$
(2) We can assume $n$ is prime since if $n$ is not prime, $\pi(n) = \pi(n-1) < \dfrac{n-1}{3} < \dfrac{n}{3}$
(3) We can assume $n-2$ is prime since if $n-2$ is not prime, $\pi(n) \le \pi(n-4) + 1 < \dfrac{n-4}{3} + 1 = \dfrac{n-1}{3} < \dfrac{n}{3}$
(4) Since $n$ and $n-2$ are prime, $n-4$ is divisible by $3$ and $\pi(n) \le \pi(n-6) + 2 < \dfrac{n-6}{3} + 2 = \dfrac{n}{3}$