Let $\{ a_n \}$ be a sequence of real numbers. let $f= \sum \limits_{n=1}^\infty a_n\chi_{[n,n+1)}$.
if $\sum \limits_{n=1}^\infty a_n$ is convergent, is $f$ lebesgue integrable?
find a necessary and sufficient condition for integrability of $f$
I spent a good amount of time thinking about this problem. but I cannot solve this. can anyone give me a help?
Hints: