I'm trying to solve this equation $$ \left \lfloor{x +\frac{1}{100}}\right \rfloor + \left \lfloor{x +\frac{2}{100}}\right \rfloor + ... + \left \lfloor{x +\frac{223}{100}}\right \rfloor = 521 $$
I haven't faced until now problems like this one... How can I find $x$? Rather than a specific solution, I'm looking for the intuition to use in order to set up a solution to problems like this one.
First, look at how many terms there are, then think about how each term may contribute to the sum. The target sum is $521$, there are 223 summands, and they are adjacent integers. Since $521/223$ is between $2$ and $3$, some summands must be $2$ and some must be $3$. Then, consider the following case.
If 100 of the summands are $2$ and 100 of the summands are $3$, then 200 of the summands add up to $500$. There are 23 number left, and $21$ more is needed to reach $521$. This is impossible even if all the 23 numbers are $1$. What this tells us is, however, that this is close to the correct solution, so let us stick with 100 copies of $2$.
With 100 of the summands fixed, we are left with 123 summands. The task is to choose the right number of $1$'s and $3$'s that will contribute to the remaining value, which is $321$.
If we pick $n$ summands to be $1$, then $123 - n$ of the summands will be $3$, and their sum will be $n + 3(123 - n) = 369 - 2n$. We want this to equal $321$, so we solve \begin{align} 369 - 2n & = 321 \\ \therefore n & = 24. \end{align}
To find $x$, note that we want $\lfloor x + \frac{24}{100} \rfloor$ to be $1$ and $\lfloor x + \frac{25}{100} \rfloor$ to be $2$. We can pick any $x \in \left[\frac{175}{100}, \frac{176}{100}\right)$.