⌊ 1 0 1 x ⌋ = ⌊ 1 0 0 x ⌋
Find the number of non-negative integer solutions of the above equation.
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.
Did the same !! (+1)
No need for complicated algebra or inequalities, just observe and the answer will come! The possible values of x are as follows:
0 < x < 1 0 0 100 possible values
1 0 0 < x < 2 0 0 99 values
2 0 1 < x < 3 0 0 98 values
3 0 2 < x < 4 0 0 97 values
4 0 3 < x < 5 0 0 96 values....
Clearly the possibilities are in arithmetic series and that's no surprise; the lower extreme of the inequalities above needs to be 1 less than the multiples of 1 0 1 .
Summing it up: 1 0 0 + 9 9 + 9 8 + 9 7 + . . . . + 2 + 1 = 5 0 5 0
Problem Loading...
Note Loading...
Set Loading...
0-99 will give floor value 0 for both
101-199 will give floor value 1 for both
202-299 will give floor value 2 for both
....... & so on till 9999-9999 which gives floor value 99 for both
After this no number gives same floor value for both (x/101) & (x/100)
So number of values for x:
100+99+98+......1=5050