Set Partition of N elements into K groups. All equal elements.

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I am trying to get the total number of possible set partitions of N elements into K groups, in a case where all the elements are the same. For example, in the case of $N=2$ and $K=3$ the possible partitions are 6 and would be:



(the numbers are the total of elements in each group)



2 0 0



1 1 0



1 0 1



0 1 1



0 2 0



0 0 2



The case for $N=3$ and $K=3$ seems to result in 10.



I know it is a sum that depends on how many elements were put in the
"first" group (it starts with $K+...$, which is the case where all the elements went into one group) , but I can't grasp what is the exact pattern here. This looks like a special case of the Bell number I think, but I wasn't able to use that either.







share|cite|improve this question

















  • 1




    $0,, 1,, 1$ looks like a possibility too. There will be a stars and bars calculation of these compositions and $6=4choose 2$ while $10=5choose 2$
    – Henry
    Jul 24 at 9:09











  • Oh, it definitely is a possibility I forgot (I'll edit). I had never heard of stars and bars, I'll look into it
    – mechanical_fan
    Jul 24 at 9:19














up vote
1
down vote

favorite












I am trying to get the total number of possible set partitions of N elements into K groups, in a case where all the elements are the same. For example, in the case of $N=2$ and $K=3$ the possible partitions are 6 and would be:



(the numbers are the total of elements in each group)



2 0 0



1 1 0



1 0 1



0 1 1



0 2 0



0 0 2



The case for $N=3$ and $K=3$ seems to result in 10.



I know it is a sum that depends on how many elements were put in the
"first" group (it starts with $K+...$, which is the case where all the elements went into one group) , but I can't grasp what is the exact pattern here. This looks like a special case of the Bell number I think, but I wasn't able to use that either.







share|cite|improve this question

















  • 1




    $0,, 1,, 1$ looks like a possibility too. There will be a stars and bars calculation of these compositions and $6=4choose 2$ while $10=5choose 2$
    – Henry
    Jul 24 at 9:09











  • Oh, it definitely is a possibility I forgot (I'll edit). I had never heard of stars and bars, I'll look into it
    – mechanical_fan
    Jul 24 at 9:19












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I am trying to get the total number of possible set partitions of N elements into K groups, in a case where all the elements are the same. For example, in the case of $N=2$ and $K=3$ the possible partitions are 6 and would be:



(the numbers are the total of elements in each group)



2 0 0



1 1 0



1 0 1



0 1 1



0 2 0



0 0 2



The case for $N=3$ and $K=3$ seems to result in 10.



I know it is a sum that depends on how many elements were put in the
"first" group (it starts with $K+...$, which is the case where all the elements went into one group) , but I can't grasp what is the exact pattern here. This looks like a special case of the Bell number I think, but I wasn't able to use that either.







share|cite|improve this question













I am trying to get the total number of possible set partitions of N elements into K groups, in a case where all the elements are the same. For example, in the case of $N=2$ and $K=3$ the possible partitions are 6 and would be:



(the numbers are the total of elements in each group)



2 0 0



1 1 0



1 0 1



0 1 1



0 2 0



0 0 2



The case for $N=3$ and $K=3$ seems to result in 10.



I know it is a sum that depends on how many elements were put in the
"first" group (it starts with $K+...$, which is the case where all the elements went into one group) , but I can't grasp what is the exact pattern here. This looks like a special case of the Bell number I think, but I wasn't able to use that either.









share|cite|improve this question












share|cite|improve this question




share|cite|improve this question








edited Jul 24 at 9:19
























asked Jul 24 at 8:59









mechanical_fan

776




776







  • 1




    $0,, 1,, 1$ looks like a possibility too. There will be a stars and bars calculation of these compositions and $6=4choose 2$ while $10=5choose 2$
    – Henry
    Jul 24 at 9:09











  • Oh, it definitely is a possibility I forgot (I'll edit). I had never heard of stars and bars, I'll look into it
    – mechanical_fan
    Jul 24 at 9:19












  • 1




    $0,, 1,, 1$ looks like a possibility too. There will be a stars and bars calculation of these compositions and $6=4choose 2$ while $10=5choose 2$
    – Henry
    Jul 24 at 9:09











  • Oh, it definitely is a possibility I forgot (I'll edit). I had never heard of stars and bars, I'll look into it
    – mechanical_fan
    Jul 24 at 9:19







1




1




$0,, 1,, 1$ looks like a possibility too. There will be a stars and bars calculation of these compositions and $6=4choose 2$ while $10=5choose 2$
– Henry
Jul 24 at 9:09





$0,, 1,, 1$ looks like a possibility too. There will be a stars and bars calculation of these compositions and $6=4choose 2$ while $10=5choose 2$
– Henry
Jul 24 at 9:09













Oh, it definitely is a possibility I forgot (I'll edit). I had never heard of stars and bars, I'll look into it
– mechanical_fan
Jul 24 at 9:19




Oh, it definitely is a possibility I forgot (I'll edit). I had never heard of stars and bars, I'll look into it
– mechanical_fan
Jul 24 at 9:19










1 Answer
1






active

oldest

votes

















up vote
0
down vote













Think of your elements as of $n$ balls which are to be placed into $k$ urns. We can place the balls in a row, and then insert $k-1$ dividors, separating thge balls into $k$ groups. Each group containing the balls which are to be placed into the corresponding urn. We have $n+k-1$ places for dividors and balls, and k-1 dividors to choose from them. So there are:
$binomn+k-1k-1$
possibilities.






share|cite|improve this answer





















    Your Answer




    StackExchange.ifUsing("editor", function ()
    return StackExchange.using("mathjaxEditing", function ()
    StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
    StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
    );
    );
    , "mathjax-editing");

    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',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    noCode: true, onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );








     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2861137%2fset-partition-of-n-elements-into-k-groups-all-equal-elements%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    Think of your elements as of $n$ balls which are to be placed into $k$ urns. We can place the balls in a row, and then insert $k-1$ dividors, separating thge balls into $k$ groups. Each group containing the balls which are to be placed into the corresponding urn. We have $n+k-1$ places for dividors and balls, and k-1 dividors to choose from them. So there are:
    $binomn+k-1k-1$
    possibilities.






    share|cite|improve this answer

























      up vote
      0
      down vote













      Think of your elements as of $n$ balls which are to be placed into $k$ urns. We can place the balls in a row, and then insert $k-1$ dividors, separating thge balls into $k$ groups. Each group containing the balls which are to be placed into the corresponding urn. We have $n+k-1$ places for dividors and balls, and k-1 dividors to choose from them. So there are:
      $binomn+k-1k-1$
      possibilities.






      share|cite|improve this answer























        up vote
        0
        down vote










        up vote
        0
        down vote









        Think of your elements as of $n$ balls which are to be placed into $k$ urns. We can place the balls in a row, and then insert $k-1$ dividors, separating thge balls into $k$ groups. Each group containing the balls which are to be placed into the corresponding urn. We have $n+k-1$ places for dividors and balls, and k-1 dividors to choose from them. So there are:
        $binomn+k-1k-1$
        possibilities.






        share|cite|improve this answer













        Think of your elements as of $n$ balls which are to be placed into $k$ urns. We can place the balls in a row, and then insert $k-1$ dividors, separating thge balls into $k$ groups. Each group containing the balls which are to be placed into the corresponding urn. We have $n+k-1$ places for dividors and balls, and k-1 dividors to choose from them. So there are:
        $binomn+k-1k-1$
        possibilities.







        share|cite|improve this answer













        share|cite|improve this answer



        share|cite|improve this answer











        answered Jul 24 at 10:41









        Eulerrr

        1646




        1646






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2861137%2fset-partition-of-n-elements-into-k-groups-all-equal-elements%23new-answer', 'question_page');

            );

            Post as a guest













































































            Comments

            Popular posts from this blog

            What is the equation of a 3D cone with generalised tilt?

            Color the edges and diagonals of a regular polygon

            Relationship between determinant of matrix and determinant of adjoint?