Find this limit:
$\lim_{n \rightarrow +\infty}{\frac{\sum_{i=1}^{n} \lfloor{i \sqrt{2}}\rfloor}{n^2}}$
It is like that we want to find the limit of the sequence $\frac{[\sqrt2] +[2\sqrt2] + ... + [n\sqrt2]}{n^2} $ at infinity.
At the first glance, It seem it should be like $0$ but I somewhere read that its limit is $\frac{\sqrt2}{2}$ or something like that. I know that it must be something other than zero but is it right that its limit is $\frac{\sqrt2}{2}$? If yes how? and if it is not, then what is its limit at infinity?
For every $i$, you have by definition of the floor function $$ i\sqrt{2} - 1\leq \lfloor i\sqrt{2}\rfloor\leq i\sqrt{2} \tag{1} $$ From this, summing for $i$ ranging from $1$ to $n$ and dividing by $n^2$, $$ \sqrt{2}\sum_{i=1}^n \frac{i}{n^2} - \frac{n}{n^2} \leq \sum_{i=1}^n \frac{\lfloor i\sqrt{2}\rfloor}{n^2} \leq \sqrt{2}\sum_{i=1}^n \frac{i}{n^2} \tag{2} $$ and recalling that $\sum_{i=1}^n i = \frac{n(n+1)}{2}$, we get $$ \sqrt{2}\frac{(n+1)}{2n} - \frac{1}{n} \leq \sum_{i=1}^n \frac{\lfloor i\sqrt{2}\rfloor}{n^2} \leq \sqrt{2}\frac{(n+1)}{2n}\,. \tag{3} $$ By the squeeze theorem, the limit is therefore $$ \boxed{\lim_{n\to\infty }\sum_{i=1}^n \frac{\lfloor i\sqrt{2}\rfloor}{n^2} = \frac{\sqrt{2}}{2}\,.} $$