You are asking about
$$\int_0^1 \frac{1}{Floor(\frac{1}{x})}dx$$
I love this problem. I saw this first when I was taking Calc I and now I always give this to my students. Here is a snippets from a detailed writeup I have.
Fact I: The function $f(x)=g(x)$ on the interval [0,1] where
\begin{eqnarray*}
g(x)=\left\{ \begin{array}{ll}
\frac{1}{n} & \textrm{ for }x \in \left(\frac{1}{n+1},\frac{1}{n}\right] \textrm{ where } n \in \mathbb{N}\\
0 & \textrm{ if } x=0
\end{array}\right.
\end{eqnarray*}
Proof:
At $x=0,\,f(x)=g(x)$ obviously.
Pick any $x\in(0,1]$ and let $n\in \mathbb{N}$ be the number such that $x\in\left(\frac{1}{n+1},\frac{1}{n}\right]$
$\Rightarrow \frac{1}{n+1}<x\leq\frac{1}{n}$
$\Rightarrow n+1>\frac{1}{x}\geq n$
$\Rightarrow Floor(1/x)=n$ by the definition of the floor function
$\Rightarrow \frac{1}{Floor(\frac{1}{x})}=1/n$
$\Rightarrow f(x)=g(x).$
This tells us that at every point $x$ where $x$ is a unit fraction, our function $f(x)$ has a jump discontinuity and everywhere else, $f(x)$ is a constant.
Now for the first part of your problem, the number of jump discontinuities is countable therefore the function is Riemann integrable. But for a formal proof of the level you probably want, you have to use the definition of a Riemann integrable function. Given an arbitrary $\epsilon > 0$ you have to find a partition of $[0,1]$ such that the difference between the upper sum and the lower sum over that partition of $f(x)$ is less than $\epsilon$.
And then for the last part of your question, just graph the function very carefully and then finding the area under the curve should become very obvious. I suggest you do this part by hand. Using a calculator won't help you much. After getting you started I'll leave both of these parts up to you.
$\frac{1}{i^2(i+1)}=\frac{1}{i^2}-\frac{1}{i(i+1)}$. You can easily show that sum of these terms equals the $\pi^2/6-1$.
– Ravi Upadhyay Nov 24 '12 at 15:16