Monday, February 1, 2010

100 Chickens

A farm hand was sent by his employer to buy chickens. He was given $100, and told, to purchase 100 chickens. He bought a $2 hamburger, and was still able purchase 100 chickens.

Pricing:

Hens ----- $5
Roosters - $2
Chicks ----$1 for 2

When he returned to his employer, he had no money and 100 chickens.


How many of each did he purchase?

13 Comments:

Blogger Ragknot said...

Any one of these.

Hens: 4 Rosters: 20 Chicks: 76 Cost: 98
Hens: 5 Rosters: 17 Chicks: 78 Cost: 98
Hens: 6 Rosters: 14 Chicks: 80 Cost: 98
Hens: 7 Rosters: 11 Chicks: 82 Cost: 98
Hens: 8 Rosters: 8 Chicks: 84 Cost: 98
Hens: 9 Rosters: 5 Chicks: 86 Cost: 98
Hens: 10 Rosters: 2 Chicks: 88 Cost: 98

February 1, 2010 10:17 AM  
Blogger Ragknot said...

I found a few more. After the burger, he had $98 left to buy chickens...

1. Hens: 0 Rosters: 32 Chicks: 68 Cost: 98
2. Hens: 1 Rosters: 29 Chicks: 70 Cost: 98
3. Hens: 2 Rosters: 26 Chicks: 72 Cost: 98
4. Hens: 3 Rosters: 23 Chicks: 74 Cost: 98
5. Hens: 4 Rosters: 20 Chicks: 76 Cost: 98
6. Hens: 5 Rosters: 17 Chicks: 78 Cost: 98
7. Hens: 6 Rosters: 14 Chicks: 80 Cost: 98
8. Hens: 7 Rosters: 11 Chicks: 82 Cost: 98
9. Hens: 8 Rosters: 8 Chicks: 84 Cost: 98
10. Hens: 9 Rosters: 5 Chicks: 86 Cost: 98
11. Hens: 10 Rosters: 2 Chicks: 88 Cost: 98

February 1, 2010 10:50 AM  
Anonymous Anonymous said...

Was there an alebraic solution to this puzzle?

I couldn't find it.

regards, Curtis

February 1, 2010 11:56 AM  
Blogger Chris said...

This post has been removed by the author.

February 1, 2010 12:02 PM  
Blogger Chris said...

What sort of chicken is a roster?

February 1, 2010 12:04 PM  
Blogger Zaux said...

I believe a chicken roster would be the schedule of a football team who did not want to play good competition because they are afraid (or chicken) ... jeez! .... must be the pain meds

February 1, 2010 12:14 PM  
Blogger Chris said...

I'd prefer a roaster.

You haven't said if Ragknot has done it.

February 1, 2010 12:19 PM  
Blogger Chris said...

I unintentionally deleted a comment saying that I think an odd number of chicks isn't playing by the (unwritten) rules.

Is there supposed to be a unique answer.

February 1, 2010 12:43 PM  
Blogger Chris said...

LOL. Are we allowed half a hen?

February 1, 2010 12:44 PM  
Blogger Zaux said...

I didn't check his math, but I'm sure he's right ...Ragknot found multiple solutions.

The published solution is:

17 roosters -$34
-5 hens ----- $25
78 chicks --- $39
Total -------- $98

February 1, 2010 3:04 PM  
Blogger Ragknot said...

LOL, a "Rosters" is like a Fryer.

Sorry for the spelling.

My "algebraic" solution was

hc=5
rc=2
cc=.5

for h=1 to 20 ' all hens
for r=1 to 50 ' all roosters
c=100-h-r
if c>0 then
cost=hc*h+rc*r+cc*c
if cost =98 then print "Hens: ";h;" Rosters:"r;"Chicks:"c;"Cost:";cost
endif
endif
next
next

Roughly speaking - I don't have the exact PC code anymore.

February 1, 2010 4:18 PM  
Blogger Ragknot said...

Oh it should be 0 to 20 and 0 to 50

February 1, 2010 4:19 PM  
Blogger Chris said...

Ragknot, thanks for the code.

It's a bit of a swizzle not having a unique answer.

February 1, 2010 5:07 PM  

Post a Comment

Links to this post:

Create a Link

<< Home