From the year c. 850 the book Ganita-Sara-Sangraha contains the following:

Three merchants saw in the road a purse. One said, "If I secure this purse, I shall become twice as rich as both of you together."
Then the second said, "I shall become three times as rich."
Then the third said, "I shall become five times as rich."
What is the value of the money in the purse, as also the money on hand?

There are an infinite number of solutions. Find the smallest whole number amounts the merchants could have.