Question 9Let $a_n$ be the nearest integer to $\sqrt{n}$. Find $$ \frac{1}{a_1} + \frac{1}{a_2} + \ldots + \frac{1}{a_{1980}}. $$