Given the function $$f(x)=\begin{cases}\frac1{\lfloor1/x\rfloor}&0<x\le1\\0&x=0\end{cases}$$ Knowing it is integrable on $[0,1]$, and knowing the identity: $$\lim_{N\to\infty}\sum_{n=1}^N\frac1{n^2}=\frac{\pi^2}6$$ Find $\int_0^1f(x)\,dx$.
I know it probably has to do with Riemann sums but I can't seem to find a solution.