Seventeen Horses

Classic Problem
A man dies, leaving $17$ horses to be divided among his heirs.

They are to be distributed in the ratio $\dfrac 1 2 : \dfrac 1 3 : \dfrac 1 9$.

How can this be done?

Solution
One son gets $9$ horses, another gets $6$, and the final son gets $2$.

Proof
We note that:
 * $\dfrac 1 2 + \dfrac 1 3 + \dfrac 1 9 = \dfrac 9 {18} + \dfrac 6 {18} + \dfrac 2 {18} = \dfrac {17} {18}$

The fact that the ratios do not add up to $1$ tells us straight away that those ratios are not in fact the actual fractions of the inheritance that each will receive.

It is noted that the question carefully does not state that one son receives $\dfrac 1 2$, the next son $\dfrac 1 3$ and the third $\dfrac 1 9$, because that is not what actually happens here.

The solution is usually couched in the form of a story, along the following lines:


 * A stranger passing through on horseback heard the sons squabbling amongst their string of horses, and stops and listens to their argument.
 * Dismounting, he says to them, "Calm down, gentlemen! Let us see what we have here."
 * He leaves his horse to go and mingle with the other horses, and says to the youngest son:
 * "Go ahead and select one ninth of the horses here, but please leave my horse alone."
 * And the youngest son does so, and puts a halter over the neck of two of the finest horses.
 * The stranger continues to the second son: "Go ahead and select one third of the horses here, but not those that your brother has chosen, and again, please leave my horse alone."
 * The second son does so, carefully counting, and puts a halter over the neck of six of the remaining horses.
 * The stranger continues to the first son: "The remaining horses are yours, but please leave my horse alone."
 * And as the first son puts a halter over the neck of the nine remaining horses of his father, the stranger remounted his own horse and went on his way.