I need a function $f(x)$ such that
$f(x) $ is non-negative continuous
$\int\limits_0^{\infty}f(x)\ dx$ exists
$\lim\limits_{x \rightarrow \infty }f(x) $ does not exists
I think such a function doesn't exist because condition $(2)$ gives that corresponding summation exist which imply as $\lim\limits_{n \rightarrow \infty }f(n)=0 $