Floor Ceiling Floor

Algebra Level 4

n = 3 \left\lfloor{\sqrt{\left\lceil{\sqrt{\lfloor{\sqrt{n}}\rfloor}}\right\rceil}}\right\rfloor=3

If all integer values of n n that satisfy the above equation occupy the closed interval [ a , b ] [a,b] , what is the sum a + b a+b ?

Note

  • x \lfloor{x}\rfloor is the floor function , which rounds x x down to the nearest integer less than or equal to x x

  • x \lceil{x}\rceil is the ceiling function , which rounds x x up to the nearest integer greater than or equal to x x


The answer is 55300.

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.

2 solutions

Chris Lewis
Apr 23, 2020

By rephrasing the floors and ceilings as inequalities, and with a bit of careful unpicking, we get 3 n < 4 9 n < 16 8 < n 15 64 < n 225 65 n < 226 6 5 2 n < 22 6 2 6 5 2 n 22 6 2 1 \begin{aligned} 3 \le \sqrt{\lceil \sqrt{\lfloor \sqrt{n} \rfloor } \rceil } < 4 \\ 9 \le \lceil \sqrt{\lfloor \sqrt{n} \rfloor } \rceil < 16 \\ 8 < \sqrt{\lfloor \sqrt{n} \rfloor } \le 15 \\ 64 < \lfloor \sqrt{n} \rfloor \le 225 \\ 65 \le \sqrt{n} < 226 \\ 65^2 \le n < 226^2 \\ 65^2 \le n \le 226^2-1 \end{aligned}

Hence a = 6 5 2 a=65^2 and b = 22 6 2 1 b=226^2-1 , and so a + b = 55300 a+b=\boxed{55300} .

If 9 x 16 9 \leq \lceil x \rceil \leq 16 , shouldn't 8 x 16 8 \leq x \leq 16 , instead of 15 15 ? Afterall, all numbers between 15 15 and 16 16 satisfy the condition.

Guilherme Niedu - 1 year, 1 month ago

Log in to reply

That would be true, but the second inequality in the answer above is " < < ", not \le ".

Chris Lewis - 1 year, 1 month ago

Log in to reply

Yes, but it's not 15 \leq 15 , it's still < 16 <16 . As I said any number between 15 15 and 16 16 satisfy the condition.

Guilherme Niedu - 1 year, 1 month ago

Log in to reply

@Guilherme Niedu If x < 16 \lceil x \rceil < 16 (which I think is the line you're asking about), then we can say x 15 \lceil x \rceil \le 15 , because x \lceil x \rceil is by definition an integer.

From there we get x 15 x \le 15 .

Sorry if I've missed your point - hopefully this explanation was clearer!

Chris Lewis - 1 year, 1 month ago

No in question itself is given that < or = and > or = for both

dark angel gaming - 1 year ago
Tran Nguyen
Apr 28, 2020
= 3 \lfloor\sqrt{}\lceil\sqrt{}\lfloor\sqrt{}=3
[ 3 , 4 ) \sqrt{}\lceil\sqrt{}\lfloor\sqrt{}\in[3,4) (which numbers floor down to 3)
[ 9 , 16 ) \lceil\sqrt{}\lfloor\sqrt{}\in[9,16) (just the range above squared)
[ 9 , 15 ] \lceil\sqrt{}\lfloor\sqrt{}\in[9,15] (the result of a ceiling should be an integer)
( 8 , 15 ] \sqrt{}\lfloor\sqrt{}\in(8,15] (8.00..1 to 15 ceiling up is in 9 to 15)
( 64 , 225 ] \lfloor\sqrt{}\in(64,225] (just the range above squared)
[ 65 , 225 ] \lfloor\sqrt{}\in[65,225] (the result of a flooring should be an integer)
[ 65 , 226 ) \sqrt{}\in[65,226) (65 to 225.99...9 flooring down is in 65 to 225)
n [ 4225 , 51076 ) n\in[4225,51076) (just the range above squared)
n [ 4225 , 51075 ] n\in[4225,51075] (n is an integer)

1 pending report

Vote up reports you agree with

×

Problem Loading...

Note Loading...

Set Loading...