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

web scraping images

Did the Apollo Guidance Computer really use 60% of the world's ICs in 1963?

Count the number of triangles

Is this password scheme legit?

Is the internet in Madagascar faster than in UK?

Why nature prefers simultaneous events?

How to say "I only speak one language which is English" in French?

Defending Castle from Zombies

Does Mirrorwing Dragon's ability trigger when redirects are involved?

Do multi-engine jets need all engines with equal age to reduce asymmetry in thrust and fuel consumption arising out of deterioration?

Should I ask for a raise one month before the end of an internship?

What checks exist against overuse of presidential pardons in the USA?

Should I judge the efficacy of Samadhi based on the ethical qualities of the meditator?

Why did the population of Bhutan drop by 70% between 2007 and 2008?

Alternatives to Network Backup

What is Soda Fountain Etiquette?

Can I get a PhD for developing educational software?

RAID0 instead of RAID1 or 5, is this crazy?

What is the sound/audio equivalent of "unsightly"?

Template factorial function without template specialization

Why is there not a willingness from the world to step in between Pakistan and India?

Why does the `ls` command sort files like this?

Is there a word or phrase that means "use other people's wifi or Internet service without consent"?

Which polygons can be turned inside out by a smooth deformation?



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;








5












$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










share|cite|improve this question









New contributor



Ashish Dogra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$endgroup$













  • $begingroup$
    You forgot to also subtract the cases where zero balss are given to one or more students.
    $endgroup$
    – Mark Fischler
    10 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
    10 hours ago

















5












$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










share|cite|improve this question









New contributor



Ashish Dogra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$endgroup$













  • $begingroup$
    You forgot to also subtract the cases where zero balss are given to one or more students.
    $endgroup$
    – Mark Fischler
    10 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
    10 hours ago













5












5








5





$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










share|cite|improve this question









New contributor



Ashish Dogra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$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






share|cite|improve this question









New contributor



Ashish Dogra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










share|cite|improve this question









New contributor



Ashish Dogra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








share|cite|improve this question




share|cite|improve this question








edited 6 hours ago









kraDracsO

33 bronze badges




33 bronze badges






New contributor



Ashish Dogra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








asked 10 hours ago









Ashish DograAshish Dogra

1263 bronze badges




1263 bronze badges




New contributor



Ashish Dogra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




New contributor




Ashish Dogra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • $begingroup$
    You forgot to also subtract the cases where zero balss are given to one or more students.
    $endgroup$
    – Mark Fischler
    10 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
    10 hours ago
















  • $begingroup$
    You forgot to also subtract the cases where zero balss are given to one or more students.
    $endgroup$
    – Mark Fischler
    10 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
    10 hours ago















$begingroup$
You forgot to also subtract the cases where zero balss are given to one or more students.
$endgroup$
– Mark Fischler
10 hours ago




$begingroup$
You forgot to also subtract the cases where zero balss are given to one or more students.
$endgroup$
– Mark Fischler
10 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
10 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
10 hours ago










3 Answers
3






active

oldest

votes


















6













$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.






share|cite|improve this answer









$endgroup$






















    5













    $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$






    share|cite|improve this answer









    $endgroup$






















      3













      $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.






      share|cite|improve this answer









      $endgroup$

















        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.









        draft saved

        draft discarded


















        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









        6













        $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.






        share|cite|improve this answer









        $endgroup$



















          6













          $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.






          share|cite|improve this answer









          $endgroup$

















            6














            6










            6







            $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.






            share|cite|improve this answer









            $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.







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered 9 hours ago









            saulspatzsaulspatz

            23.4k4 gold badges16 silver badges39 bronze badges




            23.4k4 gold badges16 silver badges39 bronze badges


























                5













                $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$






                share|cite|improve this answer









                $endgroup$



















                  5













                  $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$






                  share|cite|improve this answer









                  $endgroup$

















                    5














                    5










                    5







                    $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$






                    share|cite|improve this answer









                    $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$







                    share|cite|improve this answer












                    share|cite|improve this answer



                    share|cite|improve this answer










                    answered 9 hours ago









                    Isaac YIU Math StudioIsaac YIU Math Studio

                    59314 bronze badges




                    59314 bronze badges
























                        3













                        $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.






                        share|cite|improve this answer









                        $endgroup$



















                          3













                          $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.






                          share|cite|improve this answer









                          $endgroup$

















                            3














                            3










                            3







                            $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.






                            share|cite|improve this answer









                            $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.







                            share|cite|improve this answer












                            share|cite|improve this answer



                            share|cite|improve this answer










                            answered 9 hours ago









                            Mark FischlerMark Fischler

                            36k1 gold badge28 silver badges55 bronze badges




                            36k1 gold badge28 silver badges55 bronze badges























                                Ashish Dogra is a new contributor. Be nice, and check out our Code of Conduct.









                                draft saved

                                draft discarded


















                                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.




                                draft saved


                                draft discarded














                                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





















































                                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







                                Popular posts from this blog

                                Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

                                Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

                                199年 目錄 大件事 到箇年出世嗰人 到箇年死嗰人 節慶、風俗習慣 導覽選單