Jump to content
BrainDen.com - Brain Teasers
  • 0


Guest
 Share

Question

I did a little search and didn't find this one. Sorry if I missed it

A farmer gave $100 to his son and asked him to buy camels, horses and sheep with the following conditions:

1. The total number of these 3 mammals has to add up to exactly 100

2. The total amount spent to buy these 100 mammals has to be exactly $100

3. The 3 types of mammals have to be bought

When the son went to the market he found out that the camel costs $5, the horse costs $1, and the sheep costs $0.05 (a nickel)

So how many of each type should he buy?

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

I did a little search and didn't find this one. Sorry if I missed it

A farmer gave $100 to his son and asked him to buy camels, horses and sheep with the following conditions:

1. The total number of these 3 mammals has to add up to exactly 100

2. The total amount spent to buy these 100 mammals has to be exactly $100

3. The 3 types of mammals have to be bought

When the son went to the market he found out that the camel costs $5, the horse costs $1, and the sheep costs $0.05 (a nickel)

So how many of each type should he buy?

5C + H + 1/20S = 100

C + H + S = 100

4C - 19/20 S = 0

C = 19/80S

Since C and S must be integers and C+S <=99, then it holds C = 19 S = 80.

H = 100-19-80 = 1

5*19 + 1*1 + 80*.05 = 100

19 Camels, 1 Horse, 80 Sheep.

Edited by eleven
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...