Combinatorics: $N$ couples sitting in a row, $M$ couples in the $N$ couples can't sit together.











up vote
1
down vote

favorite













$N$ couples sitting in a row, $M$ couples in the $N$ couples can't sit together. How many ways are there to arrange the seat?




This is a variation of ménage problem, I thought I could arrange the M couples first using ménage problem's solution(https://www.math.dartmouth.edu//~doyle/docs/menage/menage/menage.html), but then it does not count ACaBcb, where $M=2$ (that is Aa, Bb) and $N=3$. Thanks!



It is not necessary that women and men alternate, ACaBcb










share|cite|improve this question




























    up vote
    1
    down vote

    favorite













    $N$ couples sitting in a row, $M$ couples in the $N$ couples can't sit together. How many ways are there to arrange the seat?




    This is a variation of ménage problem, I thought I could arrange the M couples first using ménage problem's solution(https://www.math.dartmouth.edu//~doyle/docs/menage/menage/menage.html), but then it does not count ACaBcb, where $M=2$ (that is Aa, Bb) and $N=3$. Thanks!



    It is not necessary that women and men alternate, ACaBcb










    share|cite|improve this question


























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite












      $N$ couples sitting in a row, $M$ couples in the $N$ couples can't sit together. How many ways are there to arrange the seat?




      This is a variation of ménage problem, I thought I could arrange the M couples first using ménage problem's solution(https://www.math.dartmouth.edu//~doyle/docs/menage/menage/menage.html), but then it does not count ACaBcb, where $M=2$ (that is Aa, Bb) and $N=3$. Thanks!



      It is not necessary that women and men alternate, ACaBcb










      share|cite|improve this question
















      $N$ couples sitting in a row, $M$ couples in the $N$ couples can't sit together. How many ways are there to arrange the seat?




      This is a variation of ménage problem, I thought I could arrange the M couples first using ménage problem's solution(https://www.math.dartmouth.edu//~doyle/docs/menage/menage/menage.html), but then it does not count ACaBcb, where $M=2$ (that is Aa, Bb) and $N=3$. Thanks!



      It is not necessary that women and men alternate, ACaBcb







      combinatorics






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Nov 18 at 7:56









      Robert Z

      91.6k1058129




      91.6k1058129










      asked Nov 18 at 7:11









      kevin

      1056




      1056






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          Hint. By the inclusion-exclusion principle we have
          $$(2N)!-binom{M}{1}cdotunderbrace{2binom{2N-1}{1}1!(2N-2)!}_{text{at least one of the $M$ couples together}}+binom{M}{2}cdotunderbrace{2^2binom{2N-2}{2}2!(2N-4)!}_{text{at least two of the $M$ couples together}}-dots$$
          Can you take it from here?






          share|cite|improve this answer























          • Thanks! Alternate till M couples right?
            – kevin
            Nov 18 at 7:38






          • 1




            @kevin Yes, that's correct.
            – Robert Z
            Nov 18 at 7:39










          • Hi Prof, from a logical point of view, isn't the complement of "At least $1$ of the $M$ couples together" equal to "None of the $M$ couples together"? Suppose that's true, why alternate with additional terms? Thanks!
            – kevin
            Nov 18 at 8:29








          • 1




            No, "at least 1 of the M couples together" means a particular couple of the M couples together multiplied by $M$. Revise the inclusion-exclusion principle: en.wikipedia.org/wiki/Inclusion%E2%80%93exclusion_principle
            – Robert Z
            Nov 18 at 8:44












          • Hi Prof, thanks! Now I see that $A_i$ stands for the event that the $i^{th}$ couple sits together.
            – kevin
            Nov 18 at 9:22











          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%2f3003227%2fcombinatorics-n-couples-sitting-in-a-row-m-couples-in-the-n-couples-can%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








          up vote
          1
          down vote



          accepted










          Hint. By the inclusion-exclusion principle we have
          $$(2N)!-binom{M}{1}cdotunderbrace{2binom{2N-1}{1}1!(2N-2)!}_{text{at least one of the $M$ couples together}}+binom{M}{2}cdotunderbrace{2^2binom{2N-2}{2}2!(2N-4)!}_{text{at least two of the $M$ couples together}}-dots$$
          Can you take it from here?






          share|cite|improve this answer























          • Thanks! Alternate till M couples right?
            – kevin
            Nov 18 at 7:38






          • 1




            @kevin Yes, that's correct.
            – Robert Z
            Nov 18 at 7:39










          • Hi Prof, from a logical point of view, isn't the complement of "At least $1$ of the $M$ couples together" equal to "None of the $M$ couples together"? Suppose that's true, why alternate with additional terms? Thanks!
            – kevin
            Nov 18 at 8:29








          • 1




            No, "at least 1 of the M couples together" means a particular couple of the M couples together multiplied by $M$. Revise the inclusion-exclusion principle: en.wikipedia.org/wiki/Inclusion%E2%80%93exclusion_principle
            – Robert Z
            Nov 18 at 8:44












          • Hi Prof, thanks! Now I see that $A_i$ stands for the event that the $i^{th}$ couple sits together.
            – kevin
            Nov 18 at 9:22















          up vote
          1
          down vote



          accepted










          Hint. By the inclusion-exclusion principle we have
          $$(2N)!-binom{M}{1}cdotunderbrace{2binom{2N-1}{1}1!(2N-2)!}_{text{at least one of the $M$ couples together}}+binom{M}{2}cdotunderbrace{2^2binom{2N-2}{2}2!(2N-4)!}_{text{at least two of the $M$ couples together}}-dots$$
          Can you take it from here?






          share|cite|improve this answer























          • Thanks! Alternate till M couples right?
            – kevin
            Nov 18 at 7:38






          • 1




            @kevin Yes, that's correct.
            – Robert Z
            Nov 18 at 7:39










          • Hi Prof, from a logical point of view, isn't the complement of "At least $1$ of the $M$ couples together" equal to "None of the $M$ couples together"? Suppose that's true, why alternate with additional terms? Thanks!
            – kevin
            Nov 18 at 8:29








          • 1




            No, "at least 1 of the M couples together" means a particular couple of the M couples together multiplied by $M$. Revise the inclusion-exclusion principle: en.wikipedia.org/wiki/Inclusion%E2%80%93exclusion_principle
            – Robert Z
            Nov 18 at 8:44












          • Hi Prof, thanks! Now I see that $A_i$ stands for the event that the $i^{th}$ couple sits together.
            – kevin
            Nov 18 at 9:22













          up vote
          1
          down vote



          accepted







          up vote
          1
          down vote



          accepted






          Hint. By the inclusion-exclusion principle we have
          $$(2N)!-binom{M}{1}cdotunderbrace{2binom{2N-1}{1}1!(2N-2)!}_{text{at least one of the $M$ couples together}}+binom{M}{2}cdotunderbrace{2^2binom{2N-2}{2}2!(2N-4)!}_{text{at least two of the $M$ couples together}}-dots$$
          Can you take it from here?






          share|cite|improve this answer














          Hint. By the inclusion-exclusion principle we have
          $$(2N)!-binom{M}{1}cdotunderbrace{2binom{2N-1}{1}1!(2N-2)!}_{text{at least one of the $M$ couples together}}+binom{M}{2}cdotunderbrace{2^2binom{2N-2}{2}2!(2N-4)!}_{text{at least two of the $M$ couples together}}-dots$$
          Can you take it from here?







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Nov 18 at 8:47

























          answered Nov 18 at 7:31









          Robert Z

          91.6k1058129




          91.6k1058129












          • Thanks! Alternate till M couples right?
            – kevin
            Nov 18 at 7:38






          • 1




            @kevin Yes, that's correct.
            – Robert Z
            Nov 18 at 7:39










          • Hi Prof, from a logical point of view, isn't the complement of "At least $1$ of the $M$ couples together" equal to "None of the $M$ couples together"? Suppose that's true, why alternate with additional terms? Thanks!
            – kevin
            Nov 18 at 8:29








          • 1




            No, "at least 1 of the M couples together" means a particular couple of the M couples together multiplied by $M$. Revise the inclusion-exclusion principle: en.wikipedia.org/wiki/Inclusion%E2%80%93exclusion_principle
            – Robert Z
            Nov 18 at 8:44












          • Hi Prof, thanks! Now I see that $A_i$ stands for the event that the $i^{th}$ couple sits together.
            – kevin
            Nov 18 at 9:22


















          • Thanks! Alternate till M couples right?
            – kevin
            Nov 18 at 7:38






          • 1




            @kevin Yes, that's correct.
            – Robert Z
            Nov 18 at 7:39










          • Hi Prof, from a logical point of view, isn't the complement of "At least $1$ of the $M$ couples together" equal to "None of the $M$ couples together"? Suppose that's true, why alternate with additional terms? Thanks!
            – kevin
            Nov 18 at 8:29








          • 1




            No, "at least 1 of the M couples together" means a particular couple of the M couples together multiplied by $M$. Revise the inclusion-exclusion principle: en.wikipedia.org/wiki/Inclusion%E2%80%93exclusion_principle
            – Robert Z
            Nov 18 at 8:44












          • Hi Prof, thanks! Now I see that $A_i$ stands for the event that the $i^{th}$ couple sits together.
            – kevin
            Nov 18 at 9:22
















          Thanks! Alternate till M couples right?
          – kevin
          Nov 18 at 7:38




          Thanks! Alternate till M couples right?
          – kevin
          Nov 18 at 7:38




          1




          1




          @kevin Yes, that's correct.
          – Robert Z
          Nov 18 at 7:39




          @kevin Yes, that's correct.
          – Robert Z
          Nov 18 at 7:39












          Hi Prof, from a logical point of view, isn't the complement of "At least $1$ of the $M$ couples together" equal to "None of the $M$ couples together"? Suppose that's true, why alternate with additional terms? Thanks!
          – kevin
          Nov 18 at 8:29






          Hi Prof, from a logical point of view, isn't the complement of "At least $1$ of the $M$ couples together" equal to "None of the $M$ couples together"? Suppose that's true, why alternate with additional terms? Thanks!
          – kevin
          Nov 18 at 8:29






          1




          1




          No, "at least 1 of the M couples together" means a particular couple of the M couples together multiplied by $M$. Revise the inclusion-exclusion principle: en.wikipedia.org/wiki/Inclusion%E2%80%93exclusion_principle
          – Robert Z
          Nov 18 at 8:44






          No, "at least 1 of the M couples together" means a particular couple of the M couples together multiplied by $M$. Revise the inclusion-exclusion principle: en.wikipedia.org/wiki/Inclusion%E2%80%93exclusion_principle
          – Robert Z
          Nov 18 at 8:44














          Hi Prof, thanks! Now I see that $A_i$ stands for the event that the $i^{th}$ couple sits together.
          – kevin
          Nov 18 at 9:22




          Hi Prof, thanks! Now I see that $A_i$ stands for the event that the $i^{th}$ couple sits together.
          – kevin
          Nov 18 at 9:22


















          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%2f3003227%2fcombinatorics-n-couples-sitting-in-a-row-m-couples-in-the-n-couples-can%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

          Plaza Victoria

          In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

          How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...