Theta bound about $\sum \lfloor {\sqrt{n}}\rfloor$ $$S_k=\sum_{n=1}^{k^2-1}\lfloor\sqrt{n}\rfloor $$
Can somebody give  me an idea about the steps I should follow?
Initially I thought
 $$n^{1/2}\log(n) \leq n^{1/2}\leq n^{3/2}$$
so $\Theta(f(n))=S_k $
but I am not sure if  it is the strict bound.
Thanks 

I would count: How many copies are there of each term in the sum? For example the $\lfloor\sqrt n\rfloor$ is $5$ for $25\le n < 36$, that is, 11 times.
In general $\lfloor\sqrt n\rfloor$ is $j$ when $j^2\le n<(j+1)^2=j^2+2j+1$, which is $2j+1$ times, so if we group like terms together we find
$$ S_k = \sum_{n=1}^{k^2-1} \lfloor\sqrt n\rfloor = \sum_{j=1}^{k-1} j(2j+1)$$
Now it's just a summed polynomial, and there are (fairly well known) formulas for calculating such a thing exactly. But when we're only interested in asymptotic growth rates, only the degree of the polynomial matters, and the sum is one degree higher than the general term. So the answer is
$$S_k = \Theta(k^3)$$
