Homework Statement
Give an example of a continuous, non-negative function f: [1, infinity) --> R such that if an = f(n) for each positive integer n, the series \sum an diverges, while the improper integral from 1 to infinity of f converges. Justify your answer.
Homework Equations
N/A...