This is a previous year question from a competitive examination:
If $f:[0,\infty) \to [0, \infty)$ is a continuous function such that $\int_{0}^\infty f(x)dx < \infty$, then which of the following are true:
- $\{f_n\}$ is a bounded sequence.
- $f(n) \to 0 $ as $n \to \infty$.
- $\sum_{n=1}^\infty f(n)$ is convergent.
The answer given is None of the above.
I tried constructing some examples but none of them worked. Any ideas/suggestions are highly appreciated.