In how many ways can 24 items be split into 12 groups of 2 but with multiple rules applied to the grouping...












1












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










share|cite|improve this question











$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
















1












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










share|cite|improve this question











$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














1












1








1





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










share|cite|improve this question











$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






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








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














  • 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










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
});


}
});














draft saved

draft discarded


















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
















draft saved

draft discarded




















































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





















































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

MongoDB - Not Authorized To Execute Command

How to fix TextFormField cause rebuild widget in Flutter

in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith