Find the value of the sum: 
\[ \sum_{i=1}^{2001} \lfloor \sqrt{i} \rfloor \]
where \( \lfloor x \rfloor \) denotes the greatest integer which does not exceed \( x \).

Let's think step by step and output the final answer within \boxed{}.
user