All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math
Cattle Selling (Posted on 2003-03-10) Difficulty: 3 of 5
My friend who owns a farm nearby, has five droves of animals on his farm consisting of cows, sheep and pigs with the same number of animals in each drove. One day he decided to sell them all and sold them to 8 dealers.

Each of the 8 dealers bought the same number of animals and paid at the rate of Rupees 17 for each cow, Rupees 2 for each sheep and Rupees 2 for each pig. My friend received from the dealer in total Rupees 285.

How many animals in all did he have and how many of each kind ?

(Given: 1 Rupee = 100 Paise)

See The Solution Submitted by Ravi Raja    
Rating: 1.6667 (3 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution 116 solutions !! Comment 12 of 12 |

c - cows; s - sheeps ; p - pigs.

17*c + 2*s + 2*p = 285

and (c + s + p) is a multiple of 8, say 8*k.

c = 8*k - s - p

17*(8*k - s - p) + 2*s + 2*p = 285

136*k - 15*s - 15*p = 285

15*(s + p) = 136*k - 285 

(s + p) = 136*k/15 - 19

k = 15---> (s + p) = 117------> c = 3----->120 animals.

(k = 30 ------>(s + p) = 253-----------> c < 0)

And this is all we can get with the given data. Since there is at least 1 of each animal, there are 116 solutions, named (c, s, p) = (3, 1, 116), (3, 2, 115), (3, 3, 114),...(3, 114, 3), (3, 115, 2) and (3, 116, 1).


  Posted by pcbouhid on 2005-07-19 23:09:48
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (12)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information