What's the formula for partitions where each group has a different size? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)How does distinguishability of boxes change the number of ways to distribute n objects into separate boxesHow many different sets of groups can be formed so that nobody ever has the same group mates?Partitioning $n$ objects into $k$ boxesGroup forming when the group size is equalSample, randomly & uniformly the partitioning of $n$ objects into $K$ groupsArgue that $binomnn_1,n_2,…,n_r = binomn-1n_1-1,n_2,…,n_r + binomn-1n_1,n_2-1,…,n_r+…+binomn-1n_1,n_2,…,n_r-1 $C compositions of $N$ balls grouped in k types given first and/or last offset …How many ordered sequences of length $n$ can we make with $n_i$ identical objects of each type $i$?Probability that two particular items are grouped in a random partition with fixed sizesAre Complete Sequences Also Sets with Distinct Subset Sums? (Prime Numbers)Number of ways to divide a group of n people into groups of size m to m-1
Is there public access to the Meteor Crater in Arizona?
AppleTVs create a chatty alternate WiFi network
How did Fremen produce and carry enough thumpers to use Sandworms as de facto Ubers?
What to do with repeated rejections for phd position
Would it be easier to apply for a UK visa if there is a host family to sponsor for you in going there?
Google .dev domain strangely redirects to https
Random body shuffle every night—can we still function?
Is it fair for a professor to grade us on the possession of past papers?
Converted a Scalar function to a TVF function for parallel execution-Still running in Serial mode
How long can equipment go unused before powering up runs the risk of damage?
What order were files/directories output in dir?
How to report t statistic from R
preposition before coffee
Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?
Significance of Cersei's obsession with elephants?
Semigroups with no morphisms between them
Is multiple magic items in one inherently imbalanced?
What does it mean that physics no longer uses mechanical models to describe phenomena?
Flash light on something
In musical terms, what properties are varied by the human voice to produce different words / syllables?
Deconstruction is ambiguous
What makes a man succeed?
Why are my pictures showing a dark band on one edge?
Project Euler #1 in C++
What's the formula for partitions where each group has a different size?
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)How does distinguishability of boxes change the number of ways to distribute n objects into separate boxesHow many different sets of groups can be formed so that nobody ever has the same group mates?Partitioning $n$ objects into $k$ boxesGroup forming when the group size is equalSample, randomly & uniformly the partitioning of $n$ objects into $K$ groupsArgue that $binomnn_1,n_2,…,n_r = binomn-1n_1-1,n_2,…,n_r + binomn-1n_1,n_2-1,…,n_r+…+binomn-1n_1,n_2,…,n_r-1 $C compositions of $N$ balls grouped in k types given first and/or last offset …How many ordered sequences of length $n$ can we make with $n_i$ identical objects of each type $i$?Probability that two particular items are grouped in a random partition with fixed sizesAre Complete Sequences Also Sets with Distinct Subset Sums? (Prime Numbers)Number of ways to divide a group of n people into groups of size m to m-1
$begingroup$
I am looking at this formula
My understanding is that the number of partitions is equal to that formula, but only when the order of the partitions matters. eg, That's right, if you can only have $n_1$ in the first group and $n_2$ in the second group and so on.
My understanding is that if the order of the groups does not matter, then it is the same formula except you add $r!$ to the denominator because you need to account for the different orderings that can achieve that result.
Is that right?
combinatorics
$endgroup$
add a comment |
$begingroup$
I am looking at this formula
My understanding is that the number of partitions is equal to that formula, but only when the order of the partitions matters. eg, That's right, if you can only have $n_1$ in the first group and $n_2$ in the second group and so on.
My understanding is that if the order of the groups does not matter, then it is the same formula except you add $r!$ to the denominator because you need to account for the different orderings that can achieve that result.
Is that right?
combinatorics
$endgroup$
$begingroup$
That's correct.
$endgroup$
– Jair Taylor
Apr 2 at 1:40
$begingroup$
Does the denominator need to add up to n in the first case?
$endgroup$
– Sebastian
Apr 2 at 2:13
$begingroup$
Yes, you need $sum_i=1^r n_i = n$ since the sizes of the blocks must add up to the size of the set
$endgroup$
– Jair Taylor
Apr 2 at 2:41
add a comment |
$begingroup$
I am looking at this formula
My understanding is that the number of partitions is equal to that formula, but only when the order of the partitions matters. eg, That's right, if you can only have $n_1$ in the first group and $n_2$ in the second group and so on.
My understanding is that if the order of the groups does not matter, then it is the same formula except you add $r!$ to the denominator because you need to account for the different orderings that can achieve that result.
Is that right?
combinatorics
$endgroup$
I am looking at this formula
My understanding is that the number of partitions is equal to that formula, but only when the order of the partitions matters. eg, That's right, if you can only have $n_1$ in the first group and $n_2$ in the second group and so on.
My understanding is that if the order of the groups does not matter, then it is the same formula except you add $r!$ to the denominator because you need to account for the different orderings that can achieve that result.
Is that right?
combinatorics
combinatorics
asked Apr 2 at 1:01
SebastianSebastian
1486
1486
$begingroup$
That's correct.
$endgroup$
– Jair Taylor
Apr 2 at 1:40
$begingroup$
Does the denominator need to add up to n in the first case?
$endgroup$
– Sebastian
Apr 2 at 2:13
$begingroup$
Yes, you need $sum_i=1^r n_i = n$ since the sizes of the blocks must add up to the size of the set
$endgroup$
– Jair Taylor
Apr 2 at 2:41
add a comment |
$begingroup$
That's correct.
$endgroup$
– Jair Taylor
Apr 2 at 1:40
$begingroup$
Does the denominator need to add up to n in the first case?
$endgroup$
– Sebastian
Apr 2 at 2:13
$begingroup$
Yes, you need $sum_i=1^r n_i = n$ since the sizes of the blocks must add up to the size of the set
$endgroup$
– Jair Taylor
Apr 2 at 2:41
$begingroup$
That's correct.
$endgroup$
– Jair Taylor
Apr 2 at 1:40
$begingroup$
That's correct.
$endgroup$
– Jair Taylor
Apr 2 at 1:40
$begingroup$
Does the denominator need to add up to n in the first case?
$endgroup$
– Sebastian
Apr 2 at 2:13
$begingroup$
Does the denominator need to add up to n in the first case?
$endgroup$
– Sebastian
Apr 2 at 2:13
$begingroup$
Yes, you need $sum_i=1^r n_i = n$ since the sizes of the blocks must add up to the size of the set
$endgroup$
– Jair Taylor
Apr 2 at 2:41
$begingroup$
Yes, you need $sum_i=1^r n_i = n$ since the sizes of the blocks must add up to the size of the set
$endgroup$
– Jair Taylor
Apr 2 at 2:41
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
This is not correct. If all the groups are different sizes, then the answer is $fracn!n_1!n_2!dots n_r!$ regardless whether you care about the order of the groups. It cannot be the case that you divide by $r!$, since for example when $n=3,n_1=1,n_2=2$, then $frac3!1!2!=3$ is not divisible by $2!$.
If all groups are the same size, the you do need to add $r!$ to the denominator to discount for order, so the formula is $fracn!r!(n/r)!^r$.
In general, suppose the numbers $n_i$ are partitioned into several groups, where the $k^th$ group has size $lambda_k$, and the $n_i=n_j$ if and only if $n_i$ and $n_j$ are in the same group. Then the number of ways to partition the objects into groups of size $n_1,dots,n_r$ without respect to order is
$$
fracn!left(prod_i=1^r n_i!right)left(prod_k=1^m lambda_j!right).
$$
$endgroup$
$begingroup$
Of course, you are right.
$endgroup$
– Jair Taylor
Apr 2 at 5:16
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
);
);
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%2f3171336%2fwhats-the-formula-for-partitions-where-each-group-has-a-different-size%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
This is not correct. If all the groups are different sizes, then the answer is $fracn!n_1!n_2!dots n_r!$ regardless whether you care about the order of the groups. It cannot be the case that you divide by $r!$, since for example when $n=3,n_1=1,n_2=2$, then $frac3!1!2!=3$ is not divisible by $2!$.
If all groups are the same size, the you do need to add $r!$ to the denominator to discount for order, so the formula is $fracn!r!(n/r)!^r$.
In general, suppose the numbers $n_i$ are partitioned into several groups, where the $k^th$ group has size $lambda_k$, and the $n_i=n_j$ if and only if $n_i$ and $n_j$ are in the same group. Then the number of ways to partition the objects into groups of size $n_1,dots,n_r$ without respect to order is
$$
fracn!left(prod_i=1^r n_i!right)left(prod_k=1^m lambda_j!right).
$$
$endgroup$
$begingroup$
Of course, you are right.
$endgroup$
– Jair Taylor
Apr 2 at 5:16
add a comment |
$begingroup$
This is not correct. If all the groups are different sizes, then the answer is $fracn!n_1!n_2!dots n_r!$ regardless whether you care about the order of the groups. It cannot be the case that you divide by $r!$, since for example when $n=3,n_1=1,n_2=2$, then $frac3!1!2!=3$ is not divisible by $2!$.
If all groups are the same size, the you do need to add $r!$ to the denominator to discount for order, so the formula is $fracn!r!(n/r)!^r$.
In general, suppose the numbers $n_i$ are partitioned into several groups, where the $k^th$ group has size $lambda_k$, and the $n_i=n_j$ if and only if $n_i$ and $n_j$ are in the same group. Then the number of ways to partition the objects into groups of size $n_1,dots,n_r$ without respect to order is
$$
fracn!left(prod_i=1^r n_i!right)left(prod_k=1^m lambda_j!right).
$$
$endgroup$
$begingroup$
Of course, you are right.
$endgroup$
– Jair Taylor
Apr 2 at 5:16
add a comment |
$begingroup$
This is not correct. If all the groups are different sizes, then the answer is $fracn!n_1!n_2!dots n_r!$ regardless whether you care about the order of the groups. It cannot be the case that you divide by $r!$, since for example when $n=3,n_1=1,n_2=2$, then $frac3!1!2!=3$ is not divisible by $2!$.
If all groups are the same size, the you do need to add $r!$ to the denominator to discount for order, so the formula is $fracn!r!(n/r)!^r$.
In general, suppose the numbers $n_i$ are partitioned into several groups, where the $k^th$ group has size $lambda_k$, and the $n_i=n_j$ if and only if $n_i$ and $n_j$ are in the same group. Then the number of ways to partition the objects into groups of size $n_1,dots,n_r$ without respect to order is
$$
fracn!left(prod_i=1^r n_i!right)left(prod_k=1^m lambda_j!right).
$$
$endgroup$
This is not correct. If all the groups are different sizes, then the answer is $fracn!n_1!n_2!dots n_r!$ regardless whether you care about the order of the groups. It cannot be the case that you divide by $r!$, since for example when $n=3,n_1=1,n_2=2$, then $frac3!1!2!=3$ is not divisible by $2!$.
If all groups are the same size, the you do need to add $r!$ to the denominator to discount for order, so the formula is $fracn!r!(n/r)!^r$.
In general, suppose the numbers $n_i$ are partitioned into several groups, where the $k^th$ group has size $lambda_k$, and the $n_i=n_j$ if and only if $n_i$ and $n_j$ are in the same group. Then the number of ways to partition the objects into groups of size $n_1,dots,n_r$ without respect to order is
$$
fracn!left(prod_i=1^r n_i!right)left(prod_k=1^m lambda_j!right).
$$
edited Apr 2 at 14:17
answered Apr 2 at 4:02
Mike EarnestMike Earnest
28.2k22152
28.2k22152
$begingroup$
Of course, you are right.
$endgroup$
– Jair Taylor
Apr 2 at 5:16
add a comment |
$begingroup$
Of course, you are right.
$endgroup$
– Jair Taylor
Apr 2 at 5:16
$begingroup$
Of course, you are right.
$endgroup$
– Jair Taylor
Apr 2 at 5:16
$begingroup$
Of course, you are right.
$endgroup$
– Jair Taylor
Apr 2 at 5:16
add a comment |
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%2f3171336%2fwhats-the-formula-for-partitions-where-each-group-has-a-different-size%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$
That's correct.
$endgroup$
– Jair Taylor
Apr 2 at 1:40
$begingroup$
Does the denominator need to add up to n in the first case?
$endgroup$
– Sebastian
Apr 2 at 2:13
$begingroup$
Yes, you need $sum_i=1^r n_i = n$ since the sizes of the blocks must add up to the size of the set
$endgroup$
– Jair Taylor
Apr 2 at 2:41