One hundred animals for a thousand dollars

MediumBrainteasers~7m

A farmer spends exactly $1000 on exactly 100100 animals, buying at least one of each kind: cows at $50, sheep at $10, and chickens at $0.50 each. How many chickens does he buy?

Show hints (2)+
  1. Two equations: c+s+h=100c+s+h=100 and 50c+10s+0.5h=100050c+10s+0.5h=1000. Eliminate hh.
  2. 99c+19s=190099c+19s=1900; mod 1919 forces c=19c=19, then s=1s=1, h=80h=80.

Answer

Reveal answer →

80

Create a free account to see the full worked solution and track your progress.

Interview format: Market Maker, Hedge Fund Quant

Related questions