Achmed and Ali are camel-drivers and on one day they decided to quit their job. They wanted to become shepherds. So they went to the market and sold all their camels. The amount of money(dinars) they received for each camel is the same as the total number of camels they owned. For that money they bought as many sheep as possible at 10 dinars a sheep. For the money that was left they bought a goat.
On their way home they got in a fight and decided to split up. When they divided the sheep there was one sheep left. So Ali said to Achmed "I take the last sheep and you can get the goat". "That's not fair" said Achmed, "a goat costs less than a sheep". "Ok", Ali said "then I will give you one of my dogs and then we are even". And Achmed agreed.

Originally posted by luskin Achmed and Ali are camel-drivers and on one day they decided to quit their job. They wanted to become shepherds. So they went to the market and sold all their camels. The amount of money(dinars) they received for each camel is the same as the total number of camels they owned. For that money they bought as many sheep as possible at 10 dinars a sheep. For the ...[text shortened]... u one of my dogs and then we are even". And Achmed agreed.

What the cost of a dog?

In order for there to be an odd number of sheep purchased, the number of camels sold must end in either 4 or 6. In both cases, the amount of money leftover after purchasing said sheep is always 6 dinars. This is the price of a goat. Once the camel-drivers split up the sheep and goat, there is a discrepancy of 4 dinars between them. Therefore, the price of a dog must be half that amount, or 2 dinars.

Originally posted by PBE6 In order for there to be an odd number of sheep purchased, the number of camels sold must end in either 4 or 6. In both cases, the amount of money leftover after purchasing said sheep is always 6 dinars. This is the price of a goat. Once the camel-drivers split up the sheep and goat, there is a discrepancy of 4 dinars between them. Therefore, the price of a dog must be half that amount, or 2 dinars.

Beat me to it! I'd found a solution with 2; was in the middle of showing it was the only solution.