Using brute force, it is straight forward to calculate that $\frac{1}{2} + \frac{1}{3} + \dots + \frac{1}{31} > 3$
Is there a more elegant way to demonstrate this?
What if I want to find the smallest $n$ such that $\frac{1}{2} + \frac{1}{3} + \dots + \frac{1}{n} > 4$
Is there a standard way to solve for $n$ without using brute force?
Your first inequation can be written $H_{31}>4$, where $H_n= 1+\frac{1}{2} + \frac{1}{3} + \dots + \frac{1}{n}$
In this paper (Guo, B.-N. and Qi, F., “Sharp inequalities for the psi function and harmonic numbers”; theorem 5) this bound is proved:
$$ \ln\left(n+\frac12\right)+\gamma \le H_n \le \ln(n + e^{1-\gamma}-1)+\gamma \tag{1}$$
where $\gamma$ is the Euler Mascheroni constant ( $\approx 0.577215664901532$). This bound is much sharper than the usual ones like $\ln(n+1) < H_n < \ln(n+1)+1$ , which would be useless here.
We get
$$H_{31} \ge 4.02720321 \cdots$$
and
$$H_{30} \le 3.99580\cdots$$
which is enough for our purpose.
This is not very elegant, probably, but I doubt that you can find something much better (and for general $n$)
The bound is so remarkably tight (the true value is $H_{31}=4.027245195\cdots$) that we can use it for finding the cutting point for larger values (up to 12 at least), except for 6 where it cannot decide between 226 and 227.