In how many different ways can I arrange $n$ girls and $m$ boys with no at least $k$ boys or $k$ girls sit...











up vote
2
down vote

favorite












For example, we have $n = 5$ boys and $m = 6$ girls, we don't want $k le min(n, m)$ | $k = 3$ boys or girls to sit next to each other.



A valid arrangement: $BBGGBGGBGG$



An invalid arrangement: $BBBGGBGGBGG$ - There are $3$ boys sit next to each other.



And we ignore the permutation between any group of boys and girls so $BBGGBGGBGG$ is considered only $1$ way










share|cite|improve this question
























  • elcome to MSE. For some basic information about writing mathematics at this site see, e.g., basic help on mathjax notation, mathjax tutorial and quick reference, main meta site math tutorial and equation editing how-to.
    – José Carlos Santos
    Nov 18 at 9:58










  • Note that sometimes it is impossible, for example if you have 10 boys and 2 girls and k=3, because in any arrangement you use there will be 3 or more boys sitting next to each other. I think for the general case you must have $k>frac{|m-n|}{2}-2$ But I might be wrong in this one
    – Fareed AF
    Nov 18 at 10:20










  • I'm sorry, It should be like this $k le min(n, m)$.
    – Nhân Nguyễn
    Nov 18 at 10:22












  • @FareedAF If that scenario happens, the answer can only be 0 because there are no way we can arrange, right?
    – Nhân Nguyễn
    Nov 18 at 10:32










  • Yes thats what I meant by impossible, 0 ways
    – Fareed AF
    Nov 18 at 10:33















up vote
2
down vote

favorite












For example, we have $n = 5$ boys and $m = 6$ girls, we don't want $k le min(n, m)$ | $k = 3$ boys or girls to sit next to each other.



A valid arrangement: $BBGGBGGBGG$



An invalid arrangement: $BBBGGBGGBGG$ - There are $3$ boys sit next to each other.



And we ignore the permutation between any group of boys and girls so $BBGGBGGBGG$ is considered only $1$ way










share|cite|improve this question
























  • elcome to MSE. For some basic information about writing mathematics at this site see, e.g., basic help on mathjax notation, mathjax tutorial and quick reference, main meta site math tutorial and equation editing how-to.
    – José Carlos Santos
    Nov 18 at 9:58










  • Note that sometimes it is impossible, for example if you have 10 boys and 2 girls and k=3, because in any arrangement you use there will be 3 or more boys sitting next to each other. I think for the general case you must have $k>frac{|m-n|}{2}-2$ But I might be wrong in this one
    – Fareed AF
    Nov 18 at 10:20










  • I'm sorry, It should be like this $k le min(n, m)$.
    – Nhân Nguyễn
    Nov 18 at 10:22












  • @FareedAF If that scenario happens, the answer can only be 0 because there are no way we can arrange, right?
    – Nhân Nguyễn
    Nov 18 at 10:32










  • Yes thats what I meant by impossible, 0 ways
    – Fareed AF
    Nov 18 at 10:33













up vote
2
down vote

favorite









up vote
2
down vote

favorite











For example, we have $n = 5$ boys and $m = 6$ girls, we don't want $k le min(n, m)$ | $k = 3$ boys or girls to sit next to each other.



A valid arrangement: $BBGGBGGBGG$



An invalid arrangement: $BBBGGBGGBGG$ - There are $3$ boys sit next to each other.



And we ignore the permutation between any group of boys and girls so $BBGGBGGBGG$ is considered only $1$ way










share|cite|improve this question















For example, we have $n = 5$ boys and $m = 6$ girls, we don't want $k le min(n, m)$ | $k = 3$ boys or girls to sit next to each other.



A valid arrangement: $BBGGBGGBGG$



An invalid arrangement: $BBBGGBGGBGG$ - There are $3$ boys sit next to each other.



And we ignore the permutation between any group of boys and girls so $BBGGBGGBGG$ is considered only $1$ way







combinatorics permutations






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 18 at 10:24

























asked Nov 18 at 9:53









Nhân Nguyễn

113




113












  • elcome to MSE. For some basic information about writing mathematics at this site see, e.g., basic help on mathjax notation, mathjax tutorial and quick reference, main meta site math tutorial and equation editing how-to.
    – José Carlos Santos
    Nov 18 at 9:58










  • Note that sometimes it is impossible, for example if you have 10 boys and 2 girls and k=3, because in any arrangement you use there will be 3 or more boys sitting next to each other. I think for the general case you must have $k>frac{|m-n|}{2}-2$ But I might be wrong in this one
    – Fareed AF
    Nov 18 at 10:20










  • I'm sorry, It should be like this $k le min(n, m)$.
    – Nhân Nguyễn
    Nov 18 at 10:22












  • @FareedAF If that scenario happens, the answer can only be 0 because there are no way we can arrange, right?
    – Nhân Nguyễn
    Nov 18 at 10:32










  • Yes thats what I meant by impossible, 0 ways
    – Fareed AF
    Nov 18 at 10:33


















  • elcome to MSE. For some basic information about writing mathematics at this site see, e.g., basic help on mathjax notation, mathjax tutorial and quick reference, main meta site math tutorial and equation editing how-to.
    – José Carlos Santos
    Nov 18 at 9:58










  • Note that sometimes it is impossible, for example if you have 10 boys and 2 girls and k=3, because in any arrangement you use there will be 3 or more boys sitting next to each other. I think for the general case you must have $k>frac{|m-n|}{2}-2$ But I might be wrong in this one
    – Fareed AF
    Nov 18 at 10:20










  • I'm sorry, It should be like this $k le min(n, m)$.
    – Nhân Nguyễn
    Nov 18 at 10:22












  • @FareedAF If that scenario happens, the answer can only be 0 because there are no way we can arrange, right?
    – Nhân Nguyễn
    Nov 18 at 10:32










  • Yes thats what I meant by impossible, 0 ways
    – Fareed AF
    Nov 18 at 10:33
















elcome to MSE. For some basic information about writing mathematics at this site see, e.g., basic help on mathjax notation, mathjax tutorial and quick reference, main meta site math tutorial and equation editing how-to.
– José Carlos Santos
Nov 18 at 9:58




elcome to MSE. For some basic information about writing mathematics at this site see, e.g., basic help on mathjax notation, mathjax tutorial and quick reference, main meta site math tutorial and equation editing how-to.
– José Carlos Santos
Nov 18 at 9:58












Note that sometimes it is impossible, for example if you have 10 boys and 2 girls and k=3, because in any arrangement you use there will be 3 or more boys sitting next to each other. I think for the general case you must have $k>frac{|m-n|}{2}-2$ But I might be wrong in this one
– Fareed AF
Nov 18 at 10:20




Note that sometimes it is impossible, for example if you have 10 boys and 2 girls and k=3, because in any arrangement you use there will be 3 or more boys sitting next to each other. I think for the general case you must have $k>frac{|m-n|}{2}-2$ But I might be wrong in this one
– Fareed AF
Nov 18 at 10:20












I'm sorry, It should be like this $k le min(n, m)$.
– Nhân Nguyễn
Nov 18 at 10:22






I'm sorry, It should be like this $k le min(n, m)$.
– Nhân Nguyễn
Nov 18 at 10:22














@FareedAF If that scenario happens, the answer can only be 0 because there are no way we can arrange, right?
– Nhân Nguyễn
Nov 18 at 10:32




@FareedAF If that scenario happens, the answer can only be 0 because there are no way we can arrange, right?
– Nhân Nguyễn
Nov 18 at 10:32












Yes thats what I meant by impossible, 0 ways
– Fareed AF
Nov 18 at 10:33




Yes thats what I meant by impossible, 0 ways
– Fareed AF
Nov 18 at 10:33















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',
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%2f3003329%2fin-how-many-different-ways-can-i-arrange-n-girls-and-m-boys-with-no-at-least%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


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


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%2f3003329%2fin-how-many-different-ways-can-i-arrange-n-girls-and-m-boys-with-no-at-least%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

AnyDesk - Fatal Program Failure

How to calibrate 16:9 built-in touch-screen to a 4:3 resolution?

QoS: MAC-Priority for clients behind a repeater