How many positive integers x satisfy the equation:
⌊ 9 9 9 9 8 x ⌋ = ⌊ 1 0 0 0 0 0 x ⌋
where ⌊ x ⌋ represents the greatest integer smaller than or equal to x .
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.
r+2n<N-2. So shouldn't the answer rather be 2499949999-49999 for the less than sign??
I mean that as it is less than sign, shouldn't it rather be summation of N-2N-2-1 ??
Log in to reply
Yep, it's actually r ∈ { 0 , 1 , 2 , … , N − 2 − 2 n − 1 } , but we only need to find the number of possible solutions of r , which is [ ( N − 2 − 2 n − 1 ) − 0 ] + 1 = N − 2 − 2 n possible solutions of r (we'll exclude ( 0 , 0 ) later). After that we just take the sum and we still get the same answer.
man i considered zero too :(
This is not a solution but a useful tool for such problem .
I found generalization of such problem in a book without its proof. It is as follow - For any m ≥ 2 the number of positive integers x such that [ m − 1 x ] = [ m + 1 x ] is 4 m 2 − 4 if m is even and 4 m 2 − 5 , if m is odd .
Here [ x ] denotes greatest integer less than or equal to x .
Here m=99999 and m is odd so 4 9 9 9 9 9 2 − 5 = 2 4 9 9 9 4 9 9 9 9 .
Care to name the book!
Log in to reply
Its arihant's book named 'Indian National Mathematics Olympiad'.
The main thing is to see that for all numbers x < 9 9 9 9 8 , x is valid, but for x = 9 9 9 9 8 , the LHS becomes 1 while RHS will still be 0. In the same way, this will continue until x = 1 0 0 0 0 0 , when both LHS and RHS becomes 1.
And this will continue until x = 9 9 9 9 8 ∗ 2 and so on.
Hence, we can see that
number of solutions = 9 9 9 9 7 + ∑ k = 2 n 9 9 9 9 8 ( k ) − 1 0 0 0 0 0 ( k − 1 )
Now n for sigma operation can be found using the fact that we don't need negative values. So, n = 50000 and sigma operation further simplifies too.
number of solutions = 9 9 9 9 7 + ∑ k = 2 n 9 9 9 9 8 − 2 k
= 9 9 9 9 7 + ( 1 0 0 0 0 0 × 4 9 9 9 9 ) − 2 ( 2 5 0 0 0 0 × 4 9 9 9 9 − 1 )
= 2 4 9 9 9 4 9 9 9 9
nice way sir
Problem Loading...
Note Loading...
Set Loading...
Let N = 1 0 5 . Suppose ⌊ N x ⌋ = n ; this is equivalent to x = N n + r for some nonnegative r < N . Then the given equation is equivalent to N − 2 x < n + 1 , which is equivalent to N n + r < ( N − 2 ) ( n + 1 ) , which is equivalent to r + 2 n < N − 2 .
Each ordered pair ( r , n ) (except for ( 0 , 0 ) !) satisfying this inequality leads to a unique positive x = N n + r satisfying the equation. So we need to count these ordered pairs. Well, as n ranges from 0 to N / 2 − 2 , r ranges from 0 to N − 2 − 2 n . So the total number of pairs (remembering to subtract 1 to avoid ( 0 , 0 ) ) is − 1 + n = 0 ∑ N / 2 − 2 ( N − 2 − 2 n ) = − 1 + ( N − 2 ) ( N / 2 − 1 ) − ( N / 2 − 2 ) ( N / 2 − 1 ) = 4 N ( N − 2 ) − 1 , and plugging in N = 1 0 0 0 0 0 gives our answer of 2 4 9 9 9 4 9 9 9 9 .