Find the number of integer solution of $$\left\lfloor \dfrac{x}{100} \left\lfloor \dfrac{x}{100}\right\rfloor \right\rfloor=5$$

$\lfloor . \rfloor$ is Greatest Integer Function or floor function.


Hint: focusing first on the inner floor, clearly we must have $0 \lt \lfloor \frac x{100} \rfloor \lt 3$, so it can only be $1$ or $2$. If it is $1$, how large can the product inside the outer floor be? If it is $2$, what range of $x$ works?

  • $\begingroup$ please explain your first argument. $\endgroup$ – mathlover Oct 10 '16 at 18:13
  • 2
    $\begingroup$ As $\frac x{100} \ge \lfloor \frac x{100} \rfloor$, if $\lfloor \frac x{100} \rfloor \ge 3$ the left side of the equation will be at least $9$. $\endgroup$ – Ross Millikan Oct 10 '16 at 18:22

As $y-1<\lfloor y\rfloor\le y $, we find that for $y\ge1$ $$\tag1y^2-y-1<\lfloor y\lfloor y\rfloor\rfloor\le y^2 $$ whereas for $y<0$, we have $$\tag2y^2-y-1>\lfloor y\lfloor y\rfloor\rfloor\ge y^2 $$ Finally, for $0\le y<1$, we clearly have $\lfloor y\lfloor y\rfloor \rfloor=0$ Thus we cannot have $\lfloor y\lfloor y\rfloor\rfloor=5$ with $y\le -\sqrt 5$ (right hand side of $(2)$), nor with $-2\le y<0$ (left hand side of $(2)$), nor with $0\le y<1$, nor with $1\le y<\sqrt 5$ (right hand side of $(1)$), nor with $y\ge 3$ (left hand side of $(1)$). In other words, $-\sqrt 5< y <-2$ or $\sqrt 5\le y<3$. Then $\lfloor y\rfloor =-3$ or $\lfloor y\rfloor=2$.

In the first case, $$-3y-1<\lfloor -3y\rfloor=\lfloor y\lfloor y\rfloor \rfloor \le -3y,$$ so that we need $y\ge -\frac 53$, which contardicts $y<-2$.

In the second case $$2y-1<\lfloor 2y\rfloor=\lfloor y\lfloor y\rfloor \rfloor \le 2y,$$ so that we need $y\ge\frac 52$. And indeed, for $\frac25\le y<3$, we verify directly that $\lfloor y\lfloor y \rfloor\rfloor=5 $. If we impose that $y=\frac x{100}$ with $x\in\Bbb Z$, this is equivalent to $$250\le x<300$$ whic allows exactly $50$ differnet values of $x$.


First note that as $[n] \le n < [n]+1$

then $[n]^2 \le [n[n]] < ([n]+1)^2$

So $[x/100]^2 \le [n[n]]= 5 < ([x/100] + 1)^2$. As $[x/100]$ is an integer, this means $[x/100] = 2$


$[x/100[x/100]]= [x/100*2] = [x/50] = 5$

$5 \le x/50 < 6$

$250 \le x < 300$ so $x = [250.... 299]$.

  • $\begingroup$ how to get second argument? $\endgroup$ – mathlover Oct 11 '16 at 2:23
  • $\begingroup$ What do you mean? $\endgroup$ – fleablood Oct 11 '16 at 2:48
  • $\begingroup$ explain deeply: $[n]^2 \le [n[n]] < ([n]+1)^2$ $\endgroup$ – mathlover Oct 11 '16 at 2:58
  • $\begingroup$ [n] < = n so [n][n] <= n [n] so [[n][n]]=[n][n] <= [n [n]]. And n < [n]+1 so [n [n]] < = n^2 < ([n]+1)^2. $\endgroup$ – fleablood Oct 11 '16 at 3:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.