Let $A = \{x \, | \; 20\{x\} = x + [x] + [x + 0.5] \, \}$, if S = sum of elements of $A$, find $[S]$ where $[x]$ integer part of $x$ and $\{x\} = x - [x]$.
Source: Stage 1 of India MO
I was actually trying to get better at solving these types of questions involving [.] and {x} so i found it confusing.
My attempt:
I took two cases, one for $\{x\}<0.5$ and another for $\{x\}>0.5$ and on writing $[x]$ as $x-\{x\}$, I came up with $19x = 22[x]$ for one of the cases but I am not sure what to do next.
If you could also tell me general methods to tackle such problems, I would be thankful. Thank you!
Let call $n=\lfloor x\rfloor\in\mathbb Z$ and $r=\{x\}\in[0,1)$ to avoid writing all these brackets.
$x\in A\iff 20r=n+r+n+\lfloor n+r+0.5\rfloor=3n+r+\lfloor r+0.5\rfloor$
Since there are so few $n$ possible, let calculate the corresponding $x$:
$S=(0+1+2+3+3+4+5)+\dfrac 1{19}(0+3+6+9+10+13+16)=18+\dfrac{57}{19}=21$
I let you find $[S]$.