In an island, which had a total population of 55009, a war was fought between ‘Benos’ and ‘Malos’ the only tribes residing in the island. During the war every ‘Benos’ fought with a different number of ‘malos’. One of them fought with exactly 140 ‘Malos’, a second one fought with exactly 141 ‘Malos’, a third one fought with exactly 142 ‘Malos’, a fourth one with with exactly 143 ‘Malos’ and so on till one of them fought with every ‘Malos’ residing in the island. Find the number of ‘Malos’ residing in the island.
My attempt :-
1st Bano will fight against 140 Manos 2nd Bano will fight against 141 Manos . . . nth Bano will fight with (139+n) Manos
so total Banos = n
and total Manos will be the sum of Manos will turn out to be 140+141+142.... = n/2 * (140+139+n) =n/2 * (279+n)
so now, n + n/2 * (279+n) = 55009
n is not turning out to be an integer from solving this. What did I do wrong in here ?
I am not able to understand the official solution either, it simply does the following :-
No. of Manos = 139 + Number of Banos
139 + Banos + Banos = 55009
Banos = 27435 => Manos = 55009-27435 = 27574
Let's say there were $b$ Benos and $m$ Malos.
But, in the last line, we also know that the last Beno fought all $m$ Malos. Thus,
$$m=139+b$$
On the other hand, we know that
$$b+m=55009$$
(the total number of people on the island). Now this is a system of two equations with two unknowns $b$ and $m$, and it needs to be solved somehow. One way is: substitute $m=139+b$ in the second equation to get:
$$b+(139+b)=55009$$ $$2b+139=55009$$ $$2b=54870$$ $$b=27435$$ $$m=139+b=139+27435=27574$$