Find $f:\mathbb{N}\to\mathbb{N}$ s.t. $n^2 = o(f(n))$ and $f(n) = o(n^{2+\varepsilon})$.
So I thought about the function $f(n) = \left\lfloor n^{2+\varepsilon} \right\rfloor$
I already was able to prove that $f(n) = o(n^{2+\varepsilon})$, but had some troubles with the other part.
I tried to use the fact that $$\forall x. x-1 \le \lfloor x \rfloor$$
I'd be glad for help (by the way, is that a sufficiently elegant function for the problem?)
$f(n) = n^2\ln(n)$.
$\frac{n^2}{f(n)} =\frac1{\ln(n)} \to 0$ so $n^2 = o(f(n))$.
$\frac{f(n))}{n^{2+\epsilon}} =\frac{\ln(n)}{n^{\epsilon}} \to 0 $ since $\ln(n) = o(n^{\epsilon})$ for any $\epsilon > 0$ so $f(n) = o(n^{2+\epsilon}) $ for any $\epsilon > 0$.
Note: To show $\frac{\ln(n)}{n^{\epsilon}} \to 0$,
$\begin{array}\\ \frac{\ln(n)}{n^{\epsilon}} &=\frac1{\epsilon}\frac{\epsilon\ln(n)}{n^{\epsilon}}\\ &=\frac1{\epsilon}\frac{ln(n^{\epsilon})}{n^{\epsilon}}\\ &\to 0 \end{array} $
since $\frac{\ln(n)}{n} \to 0 $.