Consider the following equation: given that where and are positive integers and is the floor function of that denotes the largest integer smaller than or equal to .
The solutions for are a union of disjoint intervals. Suppose that the sum of the lengths of these disjoint intervals is .
What is in terms of and ?
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.
Start from ⌊ x ⌋ ( 2 x − ⌊ x ⌋ − 1 ) ≤ 1 since ⌊ x ⌋ is a positive integer ( 2 x − ⌊ x ⌋ − 1 ) ≤ ⌊ x ⌋ 1 2 x − ⌊ x ⌋ ≤ ⌊ x ⌋ 1 + 1 2 x − ⌊ x ⌋ ≤ ⌊ x ⌋ 1 + ⌊ x ⌋ x − ⌊ x ⌋ ≤ lo g 2 ( ⌊ x ⌋ 1 + ⌊ x ⌋ ) x ≤ ⌊ x ⌋ + lo g 2 ( ⌊ x ⌋ 1 + ⌊ x ⌋ )
From this, it can be seen that the length of solution for i ≤ x < i + 1 for any positive integer i is lo g 2 ( ⌊ i ⌋ 1 + ⌊ i ⌋ ) .
Using the properties of the floor function, this is equivalent to lo g 2 ( i 1 + i ) .
Since a ≤ x < b , we sum this from a to b − 1 to get the sum of the lengths of all the disjointed unions: c = i = a ∑ b − 1 lo g 2 ( i 1 + i )
Use the rule of the sum of logarithms lo g a + lo g b = lo g a b : c = lo g 2 ( i = a ∏ b i 1 + i ) c = lo g 2 a 1 + a 1 + a 2 + a 2 + a 3 + a … b − 2 b − 1 b − 1 b
Most of the terms cancel out, leaving c = lo g 2 a b .
Then, the answer 2 c = a b .