Sign in
Please select an account to continue using cracku.in
↓ →
Join Our JEE Preparation Group
Prep with like-minded aspirants; Get access to free daily tests and study material.
Evaluate $$\sum_{n=1}^{2004} (-1)^n \left[\sqrt{n}\right]$$, where $$[x]$$ denotes the integral part of $$x$$.
Correct Answer: 22
$$[\sqrt{n}] = k$$ for the $$2k + 1$$ integers $$n = k^2, \dots, (k+1)^2 - 1$$; an odd number of consecutive terms starting with $$(-1)^{k^2} = (-1)^k$$ sums to $$(-1)^k$$, so this block contributes $$(-1)^k k$$. Since $$44^2 = 1936 \le 2004 < 2025 = 45^2$$, the full blocks are $$k = 1$$ to $$43$$, contributing $$-1 + 2 - 3 + \dots - 43 = 21 - 43 = -22$$. The last block, $$n = 1936$$ to $$2004$$, has 69 terms beginning and ending with an even $$n$$, so it contributes $$44 \times 1 = 44$$. The total is $$-22 + 44 = 22$$.
Was this solution helpful?
Predict your JEE Main percentile, rank & performance in seconds
Educational materials for JEE preparation