A farmer buys 100 animals for exactly 100 coins. - Each buffalo costs 10 coins.
- Each pig costs 3 coins.
- Each chicken costs 1/2 coin. How many animals of each type can you buy?
Home > Riddles > The Chinese Farmer's Riddle
The Chinese Farmer's Riddle comes from the tradition of well-told problems: a simple framework, a clear difficulty and a solution that seems almost obvious when it has already been seen.
A farmer buys 100 animals for exactly 100 coins. - Each buffalo costs 10 coins.
Answer: He bought 5 buffaloes, 1 pig and 94 chickens. Explanation: Let $b$ be the number of buffaloes, $c$ be the number of pigs and $p$ be the number of chickens. So:
$$ b+c+p=100 $$
and
$$ 10b+3c+0.5p=100. $$ Multiplying the second equation by 2: $$
20b+6c+p=200.
$$ Subtracting the first:
$$ 19b+5c=100. $$ Testing positive integer values, the only solution is $$
b=5,\quad c=1,\quad p=94.
$$ It meets both the total number of animals and the total cost.
If you enjoyed this one, try more pure-logic riddles, explore this theme, browse the full archive, or read the riddle-solving guide.