Let's assume that $f:[1,\infty) \to [0,\infty)$.
Can someone provide an example of a function where the improper integral $\int\limits_1^{\infty} f(x)dx$ doesn't exist because we can find two sequences $\left(a_n\right)_{n\in\mathbb {N}}$ and $\left(b_n\right)_{n\in\mathbb {N}}$ with $\lim\limits_{n\to\infty}a_n=\lim\limits_{n\to\infty}b_n=\infty$ such that $\lim\limits_{n\to\infty}\int\limits_1^{a_n} f(x)dx<\infty$, $\lim\limits_{n\to\infty}\int\limits_1^{b_n} f(x)dx<\infty$ and $\lim\limits_{n\to\infty}\int\limits_1^{a_n} f(x)dx \neq \lim\limits_{n\to\infty}\int\limits_1^{b_n} f(x)dx $?