A fort has provisions for 60 days. If after 15 days, 500 men join the existing group, then the food lasts for only 40 more days. How many men were there in the fort (initially)?
4000
Let there be 'x' men in the beginning so that after 15 days the food for them is left for 45 days.
After adding 500 men the food lasts for only 40 days.
Now (x+500) men can have the same food for 40 days.
Therefore by equating the amount of food we get,
45×x=(x+500)×40
⇒45x=(x+500)×40
⇒5x=20,000
⇒x=4,000
Therefore there are 4,000 men in the fort.