In how many ways can 24 items be split into 12 groups of 2 but with multiple rules applied to the grouping...
$begingroup$
I need to know a way to solve this question when there are rules applied to the grouping. For example 2 items of the same color can't be in a group or 2 items of the same size can't be in a group. Any match of a rule should rule the group out of the list of possibilities.
As requested per comment I will provide an actual use case. Suppose I have 24 wooden blocks. They can have different colors and can be of different sizes, let's say small, medium or large. They also have different shapes for example a cube, cylinder or pyramid.
So, suppose we have:
8 blue blocks: 3 small cubes, 3 medium cylinders, 2 large pyramids
8 red blocks: 3 small pyramids, 3 medium cylinders, 4 large pyramids
3 green blocks: 1 small cube, 1 large cube
3 purple blocks: 1 large pyramid, 1 large cube
2 yellow blocks: 2 large cubes
My question which I need to answer is how many groups of 2 (pairs) can there be made when none of the properties are the same. So you can't have 2 blue blocks as a group. You can't have 2 small blocks in a group. You can't have 2 cubes in a group. If a rule matches the pair is out.
Right now, I'm counting the distinct numbers of a rule (like 8 blue, 8 red, 3 green etc) and divide the total number of possibilities with 8!, 8! and 3! etc. However, somehow I think this is not totally correct ;)
I hope this makes sense and hope that someone could give me a big push in the right direction.
combinatorics
$endgroup$
add a comment |
$begingroup$
I need to know a way to solve this question when there are rules applied to the grouping. For example 2 items of the same color can't be in a group or 2 items of the same size can't be in a group. Any match of a rule should rule the group out of the list of possibilities.
As requested per comment I will provide an actual use case. Suppose I have 24 wooden blocks. They can have different colors and can be of different sizes, let's say small, medium or large. They also have different shapes for example a cube, cylinder or pyramid.
So, suppose we have:
8 blue blocks: 3 small cubes, 3 medium cylinders, 2 large pyramids
8 red blocks: 3 small pyramids, 3 medium cylinders, 4 large pyramids
3 green blocks: 1 small cube, 1 large cube
3 purple blocks: 1 large pyramid, 1 large cube
2 yellow blocks: 2 large cubes
My question which I need to answer is how many groups of 2 (pairs) can there be made when none of the properties are the same. So you can't have 2 blue blocks as a group. You can't have 2 small blocks in a group. You can't have 2 cubes in a group. If a rule matches the pair is out.
Right now, I'm counting the distinct numbers of a rule (like 8 blue, 8 red, 3 green etc) and divide the total number of possibilities with 8!, 8! and 3! etc. However, somehow I think this is not totally correct ;)
I hope this makes sense and hope that someone could give me a big push in the right direction.
combinatorics
$endgroup$
3
$begingroup$
Stating the actual problem would make your question clearer.
$endgroup$
– N. F. Taussig
Jan 14 at 22:52
$begingroup$
I have updated the original question with an acutal problem. Hope this will make things clearer.
$endgroup$
– Martijn
Jan 15 at 13:21
add a comment |
$begingroup$
I need to know a way to solve this question when there are rules applied to the grouping. For example 2 items of the same color can't be in a group or 2 items of the same size can't be in a group. Any match of a rule should rule the group out of the list of possibilities.
As requested per comment I will provide an actual use case. Suppose I have 24 wooden blocks. They can have different colors and can be of different sizes, let's say small, medium or large. They also have different shapes for example a cube, cylinder or pyramid.
So, suppose we have:
8 blue blocks: 3 small cubes, 3 medium cylinders, 2 large pyramids
8 red blocks: 3 small pyramids, 3 medium cylinders, 4 large pyramids
3 green blocks: 1 small cube, 1 large cube
3 purple blocks: 1 large pyramid, 1 large cube
2 yellow blocks: 2 large cubes
My question which I need to answer is how many groups of 2 (pairs) can there be made when none of the properties are the same. So you can't have 2 blue blocks as a group. You can't have 2 small blocks in a group. You can't have 2 cubes in a group. If a rule matches the pair is out.
Right now, I'm counting the distinct numbers of a rule (like 8 blue, 8 red, 3 green etc) and divide the total number of possibilities with 8!, 8! and 3! etc. However, somehow I think this is not totally correct ;)
I hope this makes sense and hope that someone could give me a big push in the right direction.
combinatorics
$endgroup$
I need to know a way to solve this question when there are rules applied to the grouping. For example 2 items of the same color can't be in a group or 2 items of the same size can't be in a group. Any match of a rule should rule the group out of the list of possibilities.
As requested per comment I will provide an actual use case. Suppose I have 24 wooden blocks. They can have different colors and can be of different sizes, let's say small, medium or large. They also have different shapes for example a cube, cylinder or pyramid.
So, suppose we have:
8 blue blocks: 3 small cubes, 3 medium cylinders, 2 large pyramids
8 red blocks: 3 small pyramids, 3 medium cylinders, 4 large pyramids
3 green blocks: 1 small cube, 1 large cube
3 purple blocks: 1 large pyramid, 1 large cube
2 yellow blocks: 2 large cubes
My question which I need to answer is how many groups of 2 (pairs) can there be made when none of the properties are the same. So you can't have 2 blue blocks as a group. You can't have 2 small blocks in a group. You can't have 2 cubes in a group. If a rule matches the pair is out.
Right now, I'm counting the distinct numbers of a rule (like 8 blue, 8 red, 3 green etc) and divide the total number of possibilities with 8!, 8! and 3! etc. However, somehow I think this is not totally correct ;)
I hope this makes sense and hope that someone could give me a big push in the right direction.
combinatorics
combinatorics
edited Jan 15 at 13:20
Martijn
asked Jan 14 at 22:47
MartijnMartijn
62
62
3
$begingroup$
Stating the actual problem would make your question clearer.
$endgroup$
– N. F. Taussig
Jan 14 at 22:52
$begingroup$
I have updated the original question with an acutal problem. Hope this will make things clearer.
$endgroup$
– Martijn
Jan 15 at 13:21
add a comment |
3
$begingroup$
Stating the actual problem would make your question clearer.
$endgroup$
– N. F. Taussig
Jan 14 at 22:52
$begingroup$
I have updated the original question with an acutal problem. Hope this will make things clearer.
$endgroup$
– Martijn
Jan 15 at 13:21
3
3
$begingroup$
Stating the actual problem would make your question clearer.
$endgroup$
– N. F. Taussig
Jan 14 at 22:52
$begingroup$
Stating the actual problem would make your question clearer.
$endgroup$
– N. F. Taussig
Jan 14 at 22:52
$begingroup$
I have updated the original question with an acutal problem. Hope this will make things clearer.
$endgroup$
– Martijn
Jan 15 at 13:21
$begingroup$
I have updated the original question with an acutal problem. Hope this will make things clearer.
$endgroup$
– Martijn
Jan 15 at 13:21
add a comment |
0
active
oldest
votes
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',
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%2f3073860%2fin-how-many-ways-can-24-items-be-split-into-12-groups-of-2-but-with-multiple-rul%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f3073860%2fin-how-many-ways-can-24-items-be-split-into-12-groups-of-2-but-with-multiple-rul%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
3
$begingroup$
Stating the actual problem would make your question clearer.
$endgroup$
– N. F. Taussig
Jan 14 at 22:52
$begingroup$
I have updated the original question with an acutal problem. Hope this will make things clearer.
$endgroup$
– Martijn
Jan 15 at 13:21