I faced a very confusing question during my preparation for Mathematics Olympiad, here is the question:
The percentage of boys in a gathering, rounded to an integer, is $51$% and the percentage of girls in this gathering, rounded to an integer, is $49$%.
What is the minimum possible number of participants in this gathering?
Could anyone help me?
Let there be $b$ boys and $g$ girls, so $n=b+g$ in total. As $\frac12$ is exactly $50\,\%$ and $\frac{17}{33}=0.\overline{51}>0.515$ would be rounded to $52\,\%$, we conclude that the rational proportion $\frac bn$ is strictly between $\frac12$ and $\frac{17}{33}$. Hence the respective differences $$\frac bn-\frac12 = \frac{2b-n}{2n} \quad\text{and}\quad \frac{17}{33}-\frac bn = \frac{17n - 33b}{33n} $$ have a positive (and yet integer) numerator. Thus $$2b-n\ge1\quad\text{and}\quad 17n-33b\ge 1.$$ It follows that $$ 33(2b-n)+2(17n-33b)\ge 33+2$$ or simplified $$ n\ge 35.$$
(We also get $b=17(2b-n)+(17n-33b)\ge 18$; and indeed one verifies that with $b=18$ and $g=35-18=17$, we find suitable percentages).