Interactive Supplement · Number Theory

Market Receipt
Explorer

Adjust the number of calves. Lambs are locked at three times the calves; piglets fill the remaining 10,000. Find the mix that hits exactly $505,000.

🐄
Calves
1,000
$130 each
🐑
Lambs
3,000
$75 each
always 3× calves
🐷
Piglets
6,000
$25 each
multiple of 100 ✓
✓ Total: 10,000 animals ✓ Lambs = 3× calves ✓ Piglets divisible by 100
Calves 1,000
1,000 calves × $130 $130,000
3,000 lambs × $75 $225,000
6,000 piglets × $25 $150,000
Total $505,000
Distance from $505,000 $0 — exact match
The solution: 1,000 calves, 3,000 lambs, and 6,000 piglets — all constraints satisfied, receipt total exactly $505,000.
← Back to puzzle