A Rich Man once decided to hold a party at his place. He invited 100 guests and arranged for 100 plates of food. The guests were of three social groups: A, B and C.
The members of group A said that they will eat 2 plates each,
The members of group B said that they will eat 4 plates each.
Seeing that the rich man was getting worried, the members of Group C volunteered to eat 4 persons to a plate, thereby solving the man's problem.
Now, no plates were left and all the guests had eaten food.
How many members of each group were there?
Enter the answer as
0
if you think no answer is possible.
Enter the answer as
a
∗
b
∗
c
if there is a unique answer.
Enter the answer as the difference between the highest and lowest values of
a
∗
b
∗
c
if there are more than
1
answers.
Details and assumptions :
There is at least 1 member of each group.
Each plate in case of group C must be used by exactly 4 members i.e. you cannot have only 2 members eating from the last plate.
a , b , c refer to number of members of A,B and C present at the party.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
This question could be worded a little better, since the statement about group c suggests that 4 and only 4 members of their group would be expected to eat from one plate, leaving 3 to be shared amongst groups a and b. Even if there was only 1 member in a and 1 in b, there would not be enough plates to go around. Saying something like "the members of group c volunteered to eat 4 to a plate" might be a better way of stating the real problem at hand.
Log in to reply
I knew that the statememt was sounding a bit absurd but could not make up something better, I will edit the problem right now.
Thank you.
You know what, we thought alike!!
The wording was confusing on how to write the answer. Though I was able to solve it, I didn't know how to write the answer properly. However, great problem overall.
Same Way! (+1)
100 plates between 100 guests..... Some will eat 2, some 4, and some plates will be eaten by 4 people
That doesn't add up to me 🤔
How can it possibly be 2520?
Log in to reply
Surely the answer is; Group A - 30 people eating 60 plates Group B - 6 people eating 24 plates Group C - 64 people eating 16 ?
Log in to reply
Surely, that is the answer.
But, apart from 30-6-64 distribution, there is a possibility of 15-13-72 distribution too, and if you read the question carefully, the answer demands the difference between the highest and lowest values of the products of the numbers of members of the three groups which is 72
13
15 - 30
6
64 = 2520.
Now you see, there is no talk about 2520 guests.
Isn't a = 4 7 b = 1 c = 8 another possible (and lower) answer?
I mean ( 4 7 ∗ 1 ∗ 8 ) = 3 7 6 which is lower than ( 6 4 ∗ 3 0 ∗ 6 ) = 1 1 5 2 0
Log in to reply
It mentioned in the question that there were 100 people attending the party, so a +b +c = 100
We have a + b + c = 1 0 0 (1)
And 2 a + 4 b + 4 c = 1 0 0 (2)
Multiplying (2) by 4 we get 8 a + 1 6 b + c = 4 0 0 (3)
Subtracting (1) from (3) we get 7 a + 1 5 b = 3 0 0 (4)
Now as 300 and 1 5 b are both multiples of 15 so must be 7 a and thus a must be a multiple of 15
However if a ≥ 4 5 then b ends up negative so we have either a = 1 5 or a = 3 0 which from (4) give b = 1 3 or b = 6 respectively which from (1) give c = 7 2 or c = 6 4 respectively.
So a b c = 1 5 × 1 3 × 7 2 = 1 4 0 4 0 or a b c = 3 0 × 6 × 6 4 = 1 1 5 2 0 whose difference is 2 5 2 0
Great!! Again ALMOST same as my solution, I bounded variable c, you did that to a. (+1) :)
Btw, can we do the same to variable B too?
Log in to reply
Yeah from equation (4) we can bound it using modular arithmetic mod 7
Problem Loading...
Note Loading...
Set Loading...
First of all, Note that the number of plates left for group C is an even number and hence can be representated as 2 k for some 'k'.
Now, 4 1 c = 2 k ;
==> c = 8 k .
So, number of people of group C is a multiple of 8.
Now, note that for c ≥ 8 0 , we have average number of plates left ≥ 4 that is either all remaining members are of group B or else, its impossible. We dont want either case since, we must have at least 1 member of each group.
Now, for c ≤ 5 6 , we have average number of plates left < 2 and hence the required number is
> 5 6 ; < 8 0 and a multiple of 8.
There remain just 2 options:
CASE 1:
c = 6 4
We have;
a + b = 3 6
2 a + 4 b = 8 4
Solving we get; a = 3 0 ; b = 6
CASE 2:
c = 7 2
We have;
a + b = 2 8
2 a + 4 b = 8 2
Solving, we get; a = 1 5 ; b = 1 3
Hence the answer is :
( 7 2 ∗ 1 5 ∗ 1 3 ) − ( 6 4 ∗ 3 0 ∗ 6 ) = 1 4 0 4 0 − 1 1 5 2 0 = 2 5 2 0