A probability problem by Pankaj Joshi

In how many ways can we choose 6 candies from 8 brands that are available?

Note: It is assumed here that you can choose the same brand repeatedly


The answer is 1716.

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.

2 solutions

Vighnesh Raut
Jan 10, 2015

We can choose 0 or 1 or 2 or 3 or ...... or 6 candies from brand 1 , brand 2 , ..... or brand 6 .

So, let the number of candies we choose from brand 'i' be b i { b }_{ i } and the total number of the candies 6 . So the sum of b 1 , b 2 , b 3 , b 4 , b 5 , b 6 , b 7 a n d b 8 { b }_{ 1 },{ b }_{ 2 },{ b }_{ 3 },{ b }_{ 4 },{ b }_{ 5 },{ b }_{ 6 },{ b }_{ 7 }\quad and\quad { b }_{ 8 } must be equal to 6.

Also, this can also happen that we choose no candies from any 1 brand or any 2 brands or any n brands where n<8 and n is a natural number.

Hence, b 1 + b 2 + b 3 + b 4 + b 5 + b 6 + b 7 + b 8 = 6 { b }_{ 1 }+{ b }_{ 2 }+{ b }_{ 3 }+{ b }_{ 4 }+{ b }_{ 5 }+{ b }_{ 6 }+{ b }_{ 7 }+{ b }_{ 8 }=6 where b i { b }_{ i } is a natural number.

The number of ways in which we can choose the candies is equivalent of finding total number of solutions to the above equation. So, the number of solutions for the above equation are n + r 1 C r 1 { _{ n+r-1 }{ C }_{ r-1 } } where n=6 , r=8 . Thus, the number of ways in which we can choose 6 candies from 8 brands that are available are 13 C 7 = 1716 { _{ 13 }{ C }_{ 7 }=1716 }

Rudresh Tomar
Aug 15, 2014

13C7 = 1716

the candies are NOT similar dude, u cant apply beggars method instead ans is 8^6=262144

divya garg - 6 years, 9 months ago

Log in to reply

The candies of same brand r similar

prajwal kavad - 6 years, 5 months ago

from where 13 and 7 came. i agree with Saket Pipalwa.

PUSHPESH KUMAR - 6 years, 8 months ago

Log in to reply

Generating functions!

Kartik Sharma - 6 years, 4 months ago

Why 13C7 bro?

saket pipalwa - 6 years, 8 months ago

Log in to reply

He has used multinomial theorem

prajwal kavad - 6 years, 5 months ago

Log in to reply

Or generating functions!

Kartik Sharma - 6 years, 4 months ago

I agree with Divya Garg, To pick candy no 1 you have 8 options and simllarly 8 options for next 5 candies each. Ans should be 8^6.

saket pipalwa - 6 years, 8 months ago

Log in to reply

Let two of the brands be eclairs[E] and coffee bite[C] company. Assume you have 5 candies of each brand . Label each candy of each brand 1,2,3,4,5 . If you want to choose 2 candies from [E] brand it would be same if you choose E[1],E[5] or E[2],E[3]. See, all candies of any brand are same except their manufacturing id but that is not to be taken under consideration at least in this question because even if their id is different , their taste,color,smell,size,shape,etc.. are same for a particular brand.

Vighnesh Raut - 6 years, 5 months ago

i agree...

PUSHPESH KUMAR - 6 years, 8 months ago

Log in to reply

No she is wrong, as in her case order matters But here we r just choosing d candies

prajwal kavad - 6 years, 5 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...