Let $x$ be a real number. Denote by $[x]$ the integer part of $x$ and by $\{x\}$ the decimal part of $x$. Find the sum of all positive numbers satisfying $$25\{x\}+[x]=125.$$
I solved the question as:
To be noted first that since, $25$ and 125 are multiples of $5$, $[x]$ must be a multiple of $5$ too. Also, $[x]$ must be greater than $100$, since $[x]$ up to $100$ will also give an integer value for $\{x\}$. Further, $[x]$ must be up to $125$ only; if not, then $\{x\}$ will be negative. Considering all these factors, I substituted $[x]$ in the equation given as : $[x] = 105, 110, 115, 120$ and $125$, which gave me $\{x\}$ as $0.8, 0.6, 0.4, 0.2$ and $0.0$ respectively.
So, the real numbers come to : $105.8, 110.6, 115.4, 120.2$ and $125.0$.
So, the sum of all the numbers comes to : $577$.
Is this solution correct? Please advise. :-S
Hint: [x] and 125 are integers so 25{x} is also an integer.
Since {x} is less than 1
Equate 25{x} with all integers from 0 to 24.
Now for ,
25{x}=0 $\Rightarrow$ x+{x}=125
25{x}=1 $\Rightarrow$ x+{x}=124.04
25{x}=2 $\Rightarrow$ x+{x}=123.08
25{x}=3 $\Rightarrow$ x+{x}=122.12
25{x}=4 $\Rightarrow$ x+{x}=121.16
.
.
.
25{x}=24 $\Rightarrow$ x+{x}=101.96
Now adding all
$\Rightarrow$ 125+124.04+123.08 . . . 101.96
$\Rightarrow$ (125+124+123 . . . 101)+(0+0.04+0.08 . . . 0.96)
$\Rightarrow$ 2825+12
$\Rightarrow$ 2837
PS: You may recheck for the calculation part but the process is correct.