The generals Chi Wong and Chow Loo were having a discussion one day on the top of a hill overlooking the plains of their respective army camps.
“My army is bigger than yours,” said general Chi Wong to general Chow Loo. “I’ll wager my best concubine on it.”
“Wager likewise accepted,” said general Chow Loo. The generals decided to verify the facts of the matter and called in their major generals Soo Flick and Boo Mung to settle the issue.
“Soo Flick, arrange my army in a square below on the plain so you can more easily determine the number of men in my army,” commanded General Chi Wong.
Major general Soo Flick ran off to comply with the order, and major general Boo Mung ran off to carry out the same command issued by general Chow Loo.
The following day the armies were arrayed in square formation on the plain below and major generals Soo Flick and Boo Mung returned to report the result.
“Honorable generals Chi Wong and Chow Loo, we have determined that general Chow Loo has 3,011 more men than there are in general Chi Wong’s army,” reported major generals Soo Flick and Boo Mung.
“What a surprise! But I’ll win Li Mai back on the next bet,” said general Chi Wong confidently.
Can you work out how many men there were in the armies of the generals?