edited by
25,818 views
23 23 votes

A shop has $4$ distinct flavors of ice-cream. One can purchase any number of scoops of any flavor. The order in which the scoops are purchased is inconsequential. If one wants to purchase $3$ scoops of ice-cream, in how many ways can one make that purchase?

  1. $4$
  2. $20$
  3. $24$
  4. $48$

7 Answers

26 26 votes
This is similar to a combination with repetition: \[ x_1 + x_2 + x_3 + x_4 = 3 \] where: \[ x_1 \quad \text{denotes the number of scoops of the 1st flavor} \] \[ x_2 \quad \text{denotes the number of scoops of the 2nd flavor} \] \[ x_3 \quad \text{denotes the number of scoops of the 3rd flavor} \] \[ x_4 \quad \text{denotes the number of scoops of the 4th flavor} \] The combination formula for this is: \[ \binom{n + r - 1}{r} \] For this \( 6C3 \), it is written as: \[ \binom{6}{3} = 20 \]
edited by
20 20 votes

This is a Simple approch to this question...

A person has to select 3 scoops from 4 differnent flavours let ( A,B,C,D)

1. he can select 3 scoops of same flavour = 4 ways

2. he can select 2 scoops of same flavour and 1 scoop of different flavour

        suppose he selects  A A then for the third scoop he had 3 choices = 3

      in the same way for BB , CC and DD he has = 3+3+3 = 9 choices

total for A,B,C,D = 3+9 = 12 choices

3. he can choose 3 scoops of 3 different flavous.. which is 4C3..= 4

 so total no of ways he can select 3 scoops from 4 different flavours is = 4 + 12 + 4 = 20.

 so, the answer is B.

9 9 votes

This Belongs to IODB Template , this IODB Templatee can be used to solve 5 answers , onee is Combination with Repetition.... so basically, 

"The order in which the scoops are purchased is inconsequential" ==> Combination 

"One can purchase any number of scoops of any flavor" ==> Repetition

 

So this can be solved using star-bar problem , 

We want=stars=identical = 3 scoops

box=category=kind=4 flavours

 

3 stars,4 boxes => 3 stars,3 bars => (3+3)! / (3!*3!) => 6C3 => 20

 

reshown by
2 2 votes
Suppose we have, Vanilla, Strawberry, Butterscotch, Chocolate

A team of 3 flavours

But flavours can be used repeatedly (unlike a team of people)

V S B = B S V (will be same in this question)

→ 4C3 won’t work (takes an item only once)

→  4P3 won’t work too (as it counts orders)

We are looking for combinations where order doesn’t matter but allowing repetitions

_ _ _

Case 1: All same flavours

→  4 ways

Case 2: 2 same flavours

→  _ _ 2 spots can be filled in 4 ways and last spot can be filled in 3 ways

Total is 12 ways

Case 3: All different flavours

Equivalent to picking 3 flavours without replacement

→  4C3 = 4!/3!1! = 4 ways

Total ways = 4 + 12 + 4 = 20 ✅ Option B
0 0 votes


lets say we have r scoops okay 
and lets say x1 , x2 , x3 ... xn are the no of scoops of each flavours . 
than can u tell me x1 + x2 + x3 ....+xn = ?? 
that must be equal to r right ?? b/c we have r scoops in total 
now i gues you have head of stars and bars problem in which we distributed some same number of r items in two n disticnt bags 
like say we have r stars *** and n bars ||  so yeah for seprating into n bags bars must be n-1 ?? like for seprating 4 starts into two bags we can have ****  and a | in between so if a bag have x items and other have y x+y must be ??? i guess now you know the answer it's r beacuse total items are r . now the total ways to do that would be equal to no of ways to arange n-1 bars in total r+n-1 items . r+n-1 c n-1 . 
likewise that we have 3 scoops okay and we have 4 flavours 
so total scoops are 3 which represent stars okay we need to divide that in 4 flavours ( bag) which represents the bars so total bars must be 4-1 = 3 
now total items 3 + 3 ( stars and bars ) and we need to select 3  
6c3 = 20 
btw we can also do it by one more method 
we can divide the three scoops as 
1. all of same flavour ( 4 chances )
2. two of same flavour (4c2*2)
3. all different (4 chances ) 
add those also gives us 20 


 

 
edited by
Answer:
Position:
Show:

Related questions

29 29 votes
4 4 answers
18.0k
18.0k views
Arjun asked Feb 27, 2025
18,024 views
In the diagram, the lines QR and ST are parallel to each other. The shortest distance between these two lines is half the shortest distance between the point P and line Q...
16 16 votes
5 5 answers
18.2k
18.2k views
Arjun asked Feb 27, 2025
18,184 views
A fair six-faced dice, with the faces labelled ‘ $1$ ’, ‘ $2$ ’, ‘ $3$ ’, ‘ $4$ ’, ‘ $5$ ’, and ‘ $6$ ’, is rolled thrice. What is the probability of rolling ‘ $6$ ’ exa...
21 21 votes
5 5 answers
11.2k
11.2k views
Arjun asked Feb 27, 2025
11,164 views
The average marks obtained by a class in an examination were calculated as $30.8$. However, while checking the marks entered, the teacher found that the marks of one stud...
35 35 votes
6 6 answers
23.9k
23.9k views
Arjun asked Feb 16, 2024
23,889 views
​​Two wizards try to create a spell using all the four elements, water, air, fire, and earth. For this, they decide to mix all these elements in all possible orders. They...