When the last will and testament was read, it stated that one half of the camels would be for his oldest son, one third for the second, and one ninth for the third. What to do? There were seventeen camels so how could you give half to the oldest son? One of the animals would have to be cut in half. This wouldn't resolve the problem either because one third still needed to go to the second son and one ninth to the third.
The sons went to look for the smartest man in the city who was also a mathematician. He thought hard about the problem but couldn't come up with a reasonable solution that wouldn't damage the camels. Then someone suggested: "It might be better to look for somebody who knows about camels and not mathematics". The boys finally found a philosopher who seemed to know a lot about various things and who had some experience in these matters. They explained the problem to him. The philosopher laughed and said, "Don't worry about it. The solution is quite". Now it just so happened that the philosopher had recently been given the gift of a camel so he lent it to the boys to help them even up the account.
Now there were eighteen camels instead of seventeen, thus making the problem much easier to deal with. The philosopher began to divvy up the camels. He gave nine to the oldest son who was very satisfied because this was half of the camels. To the second son he gave six camels which was a third of the camels, and he gave two camels, which represented one ninth, to the third son. Guess what? There was one camel left over which was returned to the philosopher.
Oldest son gets 18/2= 9 camels
Second son gets 18/3= 6 camels
Third son gets 18/9= 2 camels
Total camels in the father's will 9+6+2= 17 camels
18-17= 1 camel returned to the lender.
So what's wrong with that?