1,307 views
0 0 votes
Number of ways to distribute 5 distinct toys to 3 children A,B,C such that each one of them gets atleast one toy.

My answer come to be 75.Is it correct?

 

Also, when toys are not distinct, will answer change?

2 Answers

0 0 votes

Each toy can be given to one of the three children: 35

Subtract the number of ways atleast one child is not given a toy from total outcomes.

Using inclusion exclusion 35 -(3C1*25 - 3C2*15) =150

Another approach

As @MiniPanda said the problem can be considered as how many onto functions are there from a set of 5 to a set of 3.

edited by
Position:
Show:

Related questions

0 0 votes
0 0 answers
456
456 views
Swarnava Bose asked Jun 8, 2023
456 views
What is the total number of integer partitions ( unordered Summation) of the natural number 8 ?I am getting 22. Is it correct ?
0 0 votes
0 0 answers
663
663 views
Ayush Upadhyaya asked Jun 22, 2018
663 views
How many outcomes are possible when 10 coins are tossed?$X_{h} + X_{t}$ =10where $X_{h}$ denotes the number of heads and it is $\geq$0 and $X_{t}$ denotes the number of t...
0 0 votes
1 answers 1 answer
614
614 views
Ayush Upadhyaya asked Jun 22, 2018
614 views
In how many ways can we arrange 4 boys and 3 girls in a straight line such that no two girls are together.One approach came to my mind wasarrange 4 boys first=4! ways.Now...
52 52 votes
6 answers 6 answers
13.4k
13.4k views
Misbah Ghaya asked Nov 29, 2016
13,416 views
How many substrings (of all lengths inclusive) can be formed from a character string of length $n$? Assume all characters to be distinct, prove your answer.