I want that $f(x) = n(-1)^{n+1}$ if $\frac{1}{n+1}\lt x \lt \frac{1}{n}$ and $f(x)= 0$ if $x=0$ is not Lebesgue integrate-able but is improperly Riemann integrate-able.
I think I need to show that $$\sum_{a_n}^{b_n}\int \mid f(x)\mid dx$$ doesn't converge. But I don't know how to choose what $a_n$ and $b_n$ are. Thanks.