In how many ways we can distribute 7 distinct balls among 3 students such that everyone gets at least 2 balls?A problem in combinatoricsIn how many ways can one distribute ten distinct pizzas among four students with exactly two students getting nothing?Example in Combination, is there any solution?!Generic method to distribute n distinct objects among r people such that each person gets at least one objectNumber of ways of distributing $4$ identical red balls,$1$ green ball,$1$ black ball among $4$ personsIn how many different ways can 12 people order 3 different drinks, and what's the probability that each gets the one he ordered?Permutation based on inclusion exclusion principleCombinations: Please tell me where I went wrongCombinations with Conditional Probability
Drawing probabilities on a simplex in TikZ
What's the point of fighting monsters in Zelda BotW?
Another "Ask One Question" Question
Alternatives to Network Backup
Spicing up a moment of peace
Looking for a plural noun related to ‘fulcrum’ or ‘pivot’ that denotes multiple things as crucial to success
Should I use the words "pyromancy" and "necromancy" even if they don't mean what people think they do?
What checks exist against overuse of presidential pardons in the USA?
In how many ways we can distribute 7 distinct balls among 3 students such that everyone gets at least 2 balls?
Why is "I let him to sleep" incorrect (or is it)?
Why did the population of Bhutan drop by 70% between 2007 and 2008?
Term used to describe a person who predicts future outcomes
Is there a way to tell what frequency I need a PWM to be?
Template factorial function without template specialization
Can a network vulnerability be exploited locally?
Does Mirrorwing Dragon's ability trigger when redirects are involved?
Why didn't Doc believe Marty was from the future?
Do multi-engine jets need all engines with equal age to reduce asymmetry in thrust and fuel consumption arising out of deterioration?
Shall I fix cracks on bathtub and how to fix them?
Journal published a paper, ignoring my objections as a referee
What is Soda Fountain Etiquette?
What is the name of this plot that has rows with two connected dots?
How do I portray irrational anger in first person?
How do you say "half the time …, the other half …" in German?
In how many ways we can distribute 7 distinct balls among 3 students such that everyone gets at least 2 balls?
A problem in combinatoricsIn how many ways can one distribute ten distinct pizzas among four students with exactly two students getting nothing?Example in Combination, is there any solution?!Generic method to distribute n distinct objects among r people such that each person gets at least one objectNumber of ways of distributing $4$ identical red balls,$1$ green ball,$1$ black ball among $4$ personsIn how many different ways can 12 people order 3 different drinks, and what's the probability that each gets the one he ordered?Permutation based on inclusion exclusion principleCombinations: Please tell me where I went wrongCombinations with Conditional Probability
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
$begingroup$
So in order to solve this question, I first found all the number of ways in which every student gets at least one ball, i.e.
$$3^7-3C2 times (2^7-2) - 3C1=1806$$
and then I subtracted it with number of ways where exactly one ball is given to one or two students, i.e.
$$1806-(3times7C1(6C2+6C3+6C4))-(3times7C1times6C1)=1806-1050-126
=630 ways$$
So can anyone tell is this approach is right? and if you are still not able to understand my answer, please ignore it and solve the question. Thanks in advance
combinatorics permutations contest-math combinations
New contributor
$endgroup$
add a comment |
$begingroup$
So in order to solve this question, I first found all the number of ways in which every student gets at least one ball, i.e.
$$3^7-3C2 times (2^7-2) - 3C1=1806$$
and then I subtracted it with number of ways where exactly one ball is given to one or two students, i.e.
$$1806-(3times7C1(6C2+6C3+6C4))-(3times7C1times6C1)=1806-1050-126
=630 ways$$
So can anyone tell is this approach is right? and if you are still not able to understand my answer, please ignore it and solve the question. Thanks in advance
combinatorics permutations contest-math combinations
New contributor
$endgroup$
$begingroup$
You forgot to also subtract the cases where zero balss are given to one or more students.
$endgroup$
– Mark Fischler
8 hours ago
$begingroup$
@MarkFischler I think I have already included it in $$3C1$$ term of 1st equation which means there are only three ways in which all balls are given to anyone of the student.
$endgroup$
– Ashish Dogra
8 hours ago
add a comment |
$begingroup$
So in order to solve this question, I first found all the number of ways in which every student gets at least one ball, i.e.
$$3^7-3C2 times (2^7-2) - 3C1=1806$$
and then I subtracted it with number of ways where exactly one ball is given to one or two students, i.e.
$$1806-(3times7C1(6C2+6C3+6C4))-(3times7C1times6C1)=1806-1050-126
=630 ways$$
So can anyone tell is this approach is right? and if you are still not able to understand my answer, please ignore it and solve the question. Thanks in advance
combinatorics permutations contest-math combinations
New contributor
$endgroup$
So in order to solve this question, I first found all the number of ways in which every student gets at least one ball, i.e.
$$3^7-3C2 times (2^7-2) - 3C1=1806$$
and then I subtracted it with number of ways where exactly one ball is given to one or two students, i.e.
$$1806-(3times7C1(6C2+6C3+6C4))-(3times7C1times6C1)=1806-1050-126
=630 ways$$
So can anyone tell is this approach is right? and if you are still not able to understand my answer, please ignore it and solve the question. Thanks in advance
combinatorics permutations contest-math combinations
combinatorics permutations contest-math combinations
New contributor
New contributor
edited 5 hours ago
kraDracsO
33 bronze badges
33 bronze badges
New contributor
asked 8 hours ago
Ashish DograAshish Dogra
1213 bronze badges
1213 bronze badges
New contributor
New contributor
$begingroup$
You forgot to also subtract the cases where zero balss are given to one or more students.
$endgroup$
– Mark Fischler
8 hours ago
$begingroup$
@MarkFischler I think I have already included it in $$3C1$$ term of 1st equation which means there are only three ways in which all balls are given to anyone of the student.
$endgroup$
– Ashish Dogra
8 hours ago
add a comment |
$begingroup$
You forgot to also subtract the cases where zero balss are given to one or more students.
$endgroup$
– Mark Fischler
8 hours ago
$begingroup$
@MarkFischler I think I have already included it in $$3C1$$ term of 1st equation which means there are only three ways in which all balls are given to anyone of the student.
$endgroup$
– Ashish Dogra
8 hours ago
$begingroup$
You forgot to also subtract the cases where zero balss are given to one or more students.
$endgroup$
– Mark Fischler
8 hours ago
$begingroup$
You forgot to also subtract the cases where zero balss are given to one or more students.
$endgroup$
– Mark Fischler
8 hours ago
$begingroup$
@MarkFischler I think I have already included it in $$3C1$$ term of 1st equation which means there are only three ways in which all balls are given to anyone of the student.
$endgroup$
– Ashish Dogra
8 hours ago
$begingroup$
@MarkFischler I think I have already included it in $$3C1$$ term of 1st equation which means there are only three ways in which all balls are given to anyone of the student.
$endgroup$
– Ashish Dogra
8 hours ago
add a comment |
3 Answers
3
active
oldest
votes
$begingroup$
We must give three balls to one student and two to the two others. There are $3$ ways to choose which student will get three balls, and then $7choose3$ ways to choose which balls he will get. Distinguish one the remaining students. There are $4choose2$ ways to determine which $2$ of the remaining $4$ balls he will get, giving in all$$37choose34choose2=630$$ ways.
$endgroup$
add a comment |
$begingroup$
There are $3^7$ ways of distributing the balls, ignoring the restriction. Now how many ways do we have to subtract off because the restriction is violated?
Student A could get zero balls. The remaining balls can then be distributed in $2^7$ ways to students B and C.
Student A could get exactly one ball, in $7$ ways. The remaining balls can then be distributed in $2^6$ ways to students B and C. So far, we need to subtract $2^7 + 7cdot 2^6 = 9cdot 64 = 576$ possibilities. Naively, you could jump ahead and subtract a total of $27cdot 64$ balls, but that would be a mistake.
Student B could get zero balls. The remaining balls can then be distributed in $2^7$ ways to students A and C, but you don't want to double subtract the case where zero balls were distributed to each of A and B, or where A got one ball. So you have to add back in $1$ distribution case for $A$ getting no balls, and $7$ cases where $A$ got one ball.
Student B could get one ball, in $7$ ways. Again, you don't want to double subtract the case where one ball was distributed to each of A and B, or where A got no balls and B got 1.
In the end, you tabulate your answer as follows:
$3^7 = 2187$ total cases.
Minus $3$ (who got shorted) times $576$ ways to short a particular student.
Add back $3$ times $1$ way to give all the balls to one student.
Add back $6$ times $7 = 42 $ ways to give one ball to one student and no balls to another.
Add back $3$ times $7cdot 6 = 3 cdot 42 = 126$ ways to give two students one ball apiece.
If there were a way to triply violate the conditions you would have to subtract that back out, but there isn't in this problem.
The total is
$$
2187 - 1728 +3+42+126 = 630
$$
ways to distribute the balls.
Of course, with the insight that the distribution must be some variant on $(3,2,2)$ the problem becomes much less messy, as in the previous answer. But this include/exclude method generalizes without requiring that insight.
$endgroup$
add a comment |
$begingroup$
There are $binom72$ ways of giving two balls to the first student.
There are $binom52$ ways of giving two balls to the second student.
There are $binom32$ ways of giving two balls to the third student.
Lastly, the last ball can be given to any student, so there are $binom31$ ways to give him.
However, there are repeated cases. For example, the case that we give ball 1&2, 4&5, 6&7 to the first, second, last student respectively and the ball 3 is given to the first student is the same as the case that we give ball 1&3, 4&5, 6&7 to the first, second, last student respectively and the ball 2 is given to the first student. Each case way has appeared $binom32$ times.
Therefore, the answer is $dfracbinom72binom52binom32binom31binom32=boxed630$
$endgroup$
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Ashish Dogra is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3337432%2fin-how-many-ways-we-can-distribute-7-distinct-balls-among-3-students-such-that-e%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
We must give three balls to one student and two to the two others. There are $3$ ways to choose which student will get three balls, and then $7choose3$ ways to choose which balls he will get. Distinguish one the remaining students. There are $4choose2$ ways to determine which $2$ of the remaining $4$ balls he will get, giving in all$$37choose34choose2=630$$ ways.
$endgroup$
add a comment |
$begingroup$
We must give three balls to one student and two to the two others. There are $3$ ways to choose which student will get three balls, and then $7choose3$ ways to choose which balls he will get. Distinguish one the remaining students. There are $4choose2$ ways to determine which $2$ of the remaining $4$ balls he will get, giving in all$$37choose34choose2=630$$ ways.
$endgroup$
add a comment |
$begingroup$
We must give three balls to one student and two to the two others. There are $3$ ways to choose which student will get three balls, and then $7choose3$ ways to choose which balls he will get. Distinguish one the remaining students. There are $4choose2$ ways to determine which $2$ of the remaining $4$ balls he will get, giving in all$$37choose34choose2=630$$ ways.
$endgroup$
We must give three balls to one student and two to the two others. There are $3$ ways to choose which student will get three balls, and then $7choose3$ ways to choose which balls he will get. Distinguish one the remaining students. There are $4choose2$ ways to determine which $2$ of the remaining $4$ balls he will get, giving in all$$37choose34choose2=630$$ ways.
answered 8 hours ago
saulspatzsaulspatz
23.4k4 gold badges16 silver badges39 bronze badges
23.4k4 gold badges16 silver badges39 bronze badges
add a comment |
add a comment |
$begingroup$
There are $3^7$ ways of distributing the balls, ignoring the restriction. Now how many ways do we have to subtract off because the restriction is violated?
Student A could get zero balls. The remaining balls can then be distributed in $2^7$ ways to students B and C.
Student A could get exactly one ball, in $7$ ways. The remaining balls can then be distributed in $2^6$ ways to students B and C. So far, we need to subtract $2^7 + 7cdot 2^6 = 9cdot 64 = 576$ possibilities. Naively, you could jump ahead and subtract a total of $27cdot 64$ balls, but that would be a mistake.
Student B could get zero balls. The remaining balls can then be distributed in $2^7$ ways to students A and C, but you don't want to double subtract the case where zero balls were distributed to each of A and B, or where A got one ball. So you have to add back in $1$ distribution case for $A$ getting no balls, and $7$ cases where $A$ got one ball.
Student B could get one ball, in $7$ ways. Again, you don't want to double subtract the case where one ball was distributed to each of A and B, or where A got no balls and B got 1.
In the end, you tabulate your answer as follows:
$3^7 = 2187$ total cases.
Minus $3$ (who got shorted) times $576$ ways to short a particular student.
Add back $3$ times $1$ way to give all the balls to one student.
Add back $6$ times $7 = 42 $ ways to give one ball to one student and no balls to another.
Add back $3$ times $7cdot 6 = 3 cdot 42 = 126$ ways to give two students one ball apiece.
If there were a way to triply violate the conditions you would have to subtract that back out, but there isn't in this problem.
The total is
$$
2187 - 1728 +3+42+126 = 630
$$
ways to distribute the balls.
Of course, with the insight that the distribution must be some variant on $(3,2,2)$ the problem becomes much less messy, as in the previous answer. But this include/exclude method generalizes without requiring that insight.
$endgroup$
add a comment |
$begingroup$
There are $3^7$ ways of distributing the balls, ignoring the restriction. Now how many ways do we have to subtract off because the restriction is violated?
Student A could get zero balls. The remaining balls can then be distributed in $2^7$ ways to students B and C.
Student A could get exactly one ball, in $7$ ways. The remaining balls can then be distributed in $2^6$ ways to students B and C. So far, we need to subtract $2^7 + 7cdot 2^6 = 9cdot 64 = 576$ possibilities. Naively, you could jump ahead and subtract a total of $27cdot 64$ balls, but that would be a mistake.
Student B could get zero balls. The remaining balls can then be distributed in $2^7$ ways to students A and C, but you don't want to double subtract the case where zero balls were distributed to each of A and B, or where A got one ball. So you have to add back in $1$ distribution case for $A$ getting no balls, and $7$ cases where $A$ got one ball.
Student B could get one ball, in $7$ ways. Again, you don't want to double subtract the case where one ball was distributed to each of A and B, or where A got no balls and B got 1.
In the end, you tabulate your answer as follows:
$3^7 = 2187$ total cases.
Minus $3$ (who got shorted) times $576$ ways to short a particular student.
Add back $3$ times $1$ way to give all the balls to one student.
Add back $6$ times $7 = 42 $ ways to give one ball to one student and no balls to another.
Add back $3$ times $7cdot 6 = 3 cdot 42 = 126$ ways to give two students one ball apiece.
If there were a way to triply violate the conditions you would have to subtract that back out, but there isn't in this problem.
The total is
$$
2187 - 1728 +3+42+126 = 630
$$
ways to distribute the balls.
Of course, with the insight that the distribution must be some variant on $(3,2,2)$ the problem becomes much less messy, as in the previous answer. But this include/exclude method generalizes without requiring that insight.
$endgroup$
add a comment |
$begingroup$
There are $3^7$ ways of distributing the balls, ignoring the restriction. Now how many ways do we have to subtract off because the restriction is violated?
Student A could get zero balls. The remaining balls can then be distributed in $2^7$ ways to students B and C.
Student A could get exactly one ball, in $7$ ways. The remaining balls can then be distributed in $2^6$ ways to students B and C. So far, we need to subtract $2^7 + 7cdot 2^6 = 9cdot 64 = 576$ possibilities. Naively, you could jump ahead and subtract a total of $27cdot 64$ balls, but that would be a mistake.
Student B could get zero balls. The remaining balls can then be distributed in $2^7$ ways to students A and C, but you don't want to double subtract the case where zero balls were distributed to each of A and B, or where A got one ball. So you have to add back in $1$ distribution case for $A$ getting no balls, and $7$ cases where $A$ got one ball.
Student B could get one ball, in $7$ ways. Again, you don't want to double subtract the case where one ball was distributed to each of A and B, or where A got no balls and B got 1.
In the end, you tabulate your answer as follows:
$3^7 = 2187$ total cases.
Minus $3$ (who got shorted) times $576$ ways to short a particular student.
Add back $3$ times $1$ way to give all the balls to one student.
Add back $6$ times $7 = 42 $ ways to give one ball to one student and no balls to another.
Add back $3$ times $7cdot 6 = 3 cdot 42 = 126$ ways to give two students one ball apiece.
If there were a way to triply violate the conditions you would have to subtract that back out, but there isn't in this problem.
The total is
$$
2187 - 1728 +3+42+126 = 630
$$
ways to distribute the balls.
Of course, with the insight that the distribution must be some variant on $(3,2,2)$ the problem becomes much less messy, as in the previous answer. But this include/exclude method generalizes without requiring that insight.
$endgroup$
There are $3^7$ ways of distributing the balls, ignoring the restriction. Now how many ways do we have to subtract off because the restriction is violated?
Student A could get zero balls. The remaining balls can then be distributed in $2^7$ ways to students B and C.
Student A could get exactly one ball, in $7$ ways. The remaining balls can then be distributed in $2^6$ ways to students B and C. So far, we need to subtract $2^7 + 7cdot 2^6 = 9cdot 64 = 576$ possibilities. Naively, you could jump ahead and subtract a total of $27cdot 64$ balls, but that would be a mistake.
Student B could get zero balls. The remaining balls can then be distributed in $2^7$ ways to students A and C, but you don't want to double subtract the case where zero balls were distributed to each of A and B, or where A got one ball. So you have to add back in $1$ distribution case for $A$ getting no balls, and $7$ cases where $A$ got one ball.
Student B could get one ball, in $7$ ways. Again, you don't want to double subtract the case where one ball was distributed to each of A and B, or where A got no balls and B got 1.
In the end, you tabulate your answer as follows:
$3^7 = 2187$ total cases.
Minus $3$ (who got shorted) times $576$ ways to short a particular student.
Add back $3$ times $1$ way to give all the balls to one student.
Add back $6$ times $7 = 42 $ ways to give one ball to one student and no balls to another.
Add back $3$ times $7cdot 6 = 3 cdot 42 = 126$ ways to give two students one ball apiece.
If there were a way to triply violate the conditions you would have to subtract that back out, but there isn't in this problem.
The total is
$$
2187 - 1728 +3+42+126 = 630
$$
ways to distribute the balls.
Of course, with the insight that the distribution must be some variant on $(3,2,2)$ the problem becomes much less messy, as in the previous answer. But this include/exclude method generalizes without requiring that insight.
answered 8 hours ago
Mark FischlerMark Fischler
36k1 gold badge28 silver badges55 bronze badges
36k1 gold badge28 silver badges55 bronze badges
add a comment |
add a comment |
$begingroup$
There are $binom72$ ways of giving two balls to the first student.
There are $binom52$ ways of giving two balls to the second student.
There are $binom32$ ways of giving two balls to the third student.
Lastly, the last ball can be given to any student, so there are $binom31$ ways to give him.
However, there are repeated cases. For example, the case that we give ball 1&2, 4&5, 6&7 to the first, second, last student respectively and the ball 3 is given to the first student is the same as the case that we give ball 1&3, 4&5, 6&7 to the first, second, last student respectively and the ball 2 is given to the first student. Each case way has appeared $binom32$ times.
Therefore, the answer is $dfracbinom72binom52binom32binom31binom32=boxed630$
$endgroup$
add a comment |
$begingroup$
There are $binom72$ ways of giving two balls to the first student.
There are $binom52$ ways of giving two balls to the second student.
There are $binom32$ ways of giving two balls to the third student.
Lastly, the last ball can be given to any student, so there are $binom31$ ways to give him.
However, there are repeated cases. For example, the case that we give ball 1&2, 4&5, 6&7 to the first, second, last student respectively and the ball 3 is given to the first student is the same as the case that we give ball 1&3, 4&5, 6&7 to the first, second, last student respectively and the ball 2 is given to the first student. Each case way has appeared $binom32$ times.
Therefore, the answer is $dfracbinom72binom52binom32binom31binom32=boxed630$
$endgroup$
add a comment |
$begingroup$
There are $binom72$ ways of giving two balls to the first student.
There are $binom52$ ways of giving two balls to the second student.
There are $binom32$ ways of giving two balls to the third student.
Lastly, the last ball can be given to any student, so there are $binom31$ ways to give him.
However, there are repeated cases. For example, the case that we give ball 1&2, 4&5, 6&7 to the first, second, last student respectively and the ball 3 is given to the first student is the same as the case that we give ball 1&3, 4&5, 6&7 to the first, second, last student respectively and the ball 2 is given to the first student. Each case way has appeared $binom32$ times.
Therefore, the answer is $dfracbinom72binom52binom32binom31binom32=boxed630$
$endgroup$
There are $binom72$ ways of giving two balls to the first student.
There are $binom52$ ways of giving two balls to the second student.
There are $binom32$ ways of giving two balls to the third student.
Lastly, the last ball can be given to any student, so there are $binom31$ ways to give him.
However, there are repeated cases. For example, the case that we give ball 1&2, 4&5, 6&7 to the first, second, last student respectively and the ball 3 is given to the first student is the same as the case that we give ball 1&3, 4&5, 6&7 to the first, second, last student respectively and the ball 2 is given to the first student. Each case way has appeared $binom32$ times.
Therefore, the answer is $dfracbinom72binom52binom32binom31binom32=boxed630$
answered 7 hours ago
Isaac YIU Math StudioIsaac YIU Math Studio
56414 bronze badges
56414 bronze badges
add a comment |
add a comment |
Ashish Dogra is a new contributor. Be nice, and check out our Code of Conduct.
Ashish Dogra is a new contributor. Be nice, and check out our Code of Conduct.
Ashish Dogra is a new contributor. Be nice, and check out our Code of Conduct.
Ashish Dogra is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3337432%2fin-how-many-ways-we-can-distribute-7-distinct-balls-among-3-students-such-that-e%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
You forgot to also subtract the cases where zero balss are given to one or more students.
$endgroup$
– Mark Fischler
8 hours ago
$begingroup$
@MarkFischler I think I have already included it in $$3C1$$ term of 1st equation which means there are only three ways in which all balls are given to anyone of the student.
$endgroup$
– Ashish Dogra
8 hours ago