Roots in Floor

Calculate the sum of:

1 + 2 + 3 + + 145 \lfloor \sqrt 1 \rfloor + \lfloor \sqrt 2 \rfloor + \lfloor \sqrt 3 \rfloor + \cdots + \lfloor \sqrt {145} \rfloor

Notation: \lfloor \ \cdot \ \rfloor denotes the GIF/Floor Function .


This problem has been adapted with slight modifications from the COMC 2000.


The answer is 1102.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

We note that n = k \lfloor \sqrt n \rfloor = k for k 2 n ( k + 1 ) 2 1 k^2 \le n \le (k+1)^2 - 1 , where n n and k k are positive integers, and we have ( k + 1 ) 2 k 2 = 2 k + 1 (k+1)^2 - k^2 = 2k+1 such n n . Therefore the sum:

n = 1 145 n = n = 1 1 2 2 1 n + n = 144 145 n = k = 1 11 k ( 2 k + 1 ) + 144 + 145 = k = 1 11 ( 2 k 2 + k ) + 12 + 12 = 2 11 ( 12 ) ( 23 ) 6 + 11 ( 12 ) 2 + 24 = 1012 + 66 + 24 = 1102 \begin{aligned} \sum_{n=1}^{145} \left \lfloor \sqrt n \right \rfloor & = \sum_{n=1}^{12^2-1} \left \lfloor \sqrt n \right \rfloor + \sum_{n=144}^{145} \left \lfloor \sqrt n \right \rfloor \\ & = \sum_{k=1}^{11} k(2k+1) + \left \lfloor \sqrt{144} \right \rfloor + \left \lfloor \sqrt{145} \right \rfloor \\ & = \sum_{k=1}^{11} (2k^2+k) + 12 + 12 \\ & = 2\cdot \frac {11(12)(23)}6 + \frac {11(12)}2 + 24 \\ & = 1012 + 66 + 24 \\ & = \boxed{1102} \end{aligned}

Nice solution!

Shubhrajit Sadhukhan - 11 months, 1 week ago

Log in to reply

Glad that you like it.

Chew-Seong Cheong - 11 months, 1 week ago

I didn't know that the series of the differences of two consecutive perfect squares is the series of odd numbers.

A Former Brilliant Member - 8 months, 2 weeks ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...