Catalan numbers and numbers of subsequence












1












$begingroup$


Given a set of numbers {$1,2,...,n$}, I want to find the number of permutations without 3-term subsequence of '1-3-2' pattern



Now this would be $A_n = n! - U_n$, where $A_n$ is the number of acceptable permutations and $U_n$ is the number of unacceptable permutations.



I have a vague idea that I should be using the Catalan numbers to consider cases of $U_n$. I could think of this as the parentheses problem where "(" is the low number, "A" is the high number, and ")" is the high number but I am unsure this works.



Would this be a valid argument? Any ideas?










share|cite|improve this question











$endgroup$

















    1












    $begingroup$


    Given a set of numbers {$1,2,...,n$}, I want to find the number of permutations without 3-term subsequence of '1-3-2' pattern



    Now this would be $A_n = n! - U_n$, where $A_n$ is the number of acceptable permutations and $U_n$ is the number of unacceptable permutations.



    I have a vague idea that I should be using the Catalan numbers to consider cases of $U_n$. I could think of this as the parentheses problem where "(" is the low number, "A" is the high number, and ")" is the high number but I am unsure this works.



    Would this be a valid argument? Any ideas?










    share|cite|improve this question











    $endgroup$















      1












      1








      1





      $begingroup$


      Given a set of numbers {$1,2,...,n$}, I want to find the number of permutations without 3-term subsequence of '1-3-2' pattern



      Now this would be $A_n = n! - U_n$, where $A_n$ is the number of acceptable permutations and $U_n$ is the number of unacceptable permutations.



      I have a vague idea that I should be using the Catalan numbers to consider cases of $U_n$. I could think of this as the parentheses problem where "(" is the low number, "A" is the high number, and ")" is the high number but I am unsure this works.



      Would this be a valid argument? Any ideas?










      share|cite|improve this question











      $endgroup$




      Given a set of numbers {$1,2,...,n$}, I want to find the number of permutations without 3-term subsequence of '1-3-2' pattern



      Now this would be $A_n = n! - U_n$, where $A_n$ is the number of acceptable permutations and $U_n$ is the number of unacceptable permutations.



      I have a vague idea that I should be using the Catalan numbers to consider cases of $U_n$. I could think of this as the parentheses problem where "(" is the low number, "A" is the high number, and ")" is the high number but I am unsure this works.



      Would this be a valid argument? Any ideas?







      combinatorics catalan-numbers






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Jan 25 at 9:51







      Corp. and Ltd.

















      asked Jan 25 at 4:59









      Corp. and Ltd.Corp. and Ltd.

      16914




      16914






















          1 Answer
          1






          active

          oldest

          votes


















          1












          $begingroup$

          This is a classical problem in the theorem of "permutation avoidance".
          I'm not sure what you mean by "acceptable" permutations; ones which have
          no $132$ patterns or ones which have a $132$ pattern. I'll let $C_n$
          be the permutations with no $132$ patterns; clearly $C_n=n!$ for $nle2$.



          For a general permutation on ${1,ldots,n}$, thought of as a word,
          to be $132$-avoiding it must have the form $w,n,w'$ for some $k$ where
          $w'$ is a $132$-avoiding word on ${1,ldots,k}$ and
          $w'$ is a $132$-avoiding word on ${k+1,ldots,n-1}$. For a given $k$
          the number of such words is $C_kC_{n-k-1}$ and so we get the recurrence
          $$C_n=sum_{k=0}^{n-1}C_kC_{n-k-1}$$
          which may be familiar.






          share|cite|improve this answer











          $endgroup$









          • 1




            $begingroup$
            @Corp.andLtd. In the jargon of permutation patterns, $243$ is a $132$ pattern. There's an order-isomorphism between ${2,3,4}$ and ${1,2,3}$ taking the first to the second.
            $endgroup$
            – Lord Shark the Unknown
            Jan 25 at 8:15













          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%2f3086726%2fcatalan-numbers-and-numbers-of-subsequence%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









          1












          $begingroup$

          This is a classical problem in the theorem of "permutation avoidance".
          I'm not sure what you mean by "acceptable" permutations; ones which have
          no $132$ patterns or ones which have a $132$ pattern. I'll let $C_n$
          be the permutations with no $132$ patterns; clearly $C_n=n!$ for $nle2$.



          For a general permutation on ${1,ldots,n}$, thought of as a word,
          to be $132$-avoiding it must have the form $w,n,w'$ for some $k$ where
          $w'$ is a $132$-avoiding word on ${1,ldots,k}$ and
          $w'$ is a $132$-avoiding word on ${k+1,ldots,n-1}$. For a given $k$
          the number of such words is $C_kC_{n-k-1}$ and so we get the recurrence
          $$C_n=sum_{k=0}^{n-1}C_kC_{n-k-1}$$
          which may be familiar.






          share|cite|improve this answer











          $endgroup$









          • 1




            $begingroup$
            @Corp.andLtd. In the jargon of permutation patterns, $243$ is a $132$ pattern. There's an order-isomorphism between ${2,3,4}$ and ${1,2,3}$ taking the first to the second.
            $endgroup$
            – Lord Shark the Unknown
            Jan 25 at 8:15


















          1












          $begingroup$

          This is a classical problem in the theorem of "permutation avoidance".
          I'm not sure what you mean by "acceptable" permutations; ones which have
          no $132$ patterns or ones which have a $132$ pattern. I'll let $C_n$
          be the permutations with no $132$ patterns; clearly $C_n=n!$ for $nle2$.



          For a general permutation on ${1,ldots,n}$, thought of as a word,
          to be $132$-avoiding it must have the form $w,n,w'$ for some $k$ where
          $w'$ is a $132$-avoiding word on ${1,ldots,k}$ and
          $w'$ is a $132$-avoiding word on ${k+1,ldots,n-1}$. For a given $k$
          the number of such words is $C_kC_{n-k-1}$ and so we get the recurrence
          $$C_n=sum_{k=0}^{n-1}C_kC_{n-k-1}$$
          which may be familiar.






          share|cite|improve this answer











          $endgroup$









          • 1




            $begingroup$
            @Corp.andLtd. In the jargon of permutation patterns, $243$ is a $132$ pattern. There's an order-isomorphism between ${2,3,4}$ and ${1,2,3}$ taking the first to the second.
            $endgroup$
            – Lord Shark the Unknown
            Jan 25 at 8:15
















          1












          1








          1





          $begingroup$

          This is a classical problem in the theorem of "permutation avoidance".
          I'm not sure what you mean by "acceptable" permutations; ones which have
          no $132$ patterns or ones which have a $132$ pattern. I'll let $C_n$
          be the permutations with no $132$ patterns; clearly $C_n=n!$ for $nle2$.



          For a general permutation on ${1,ldots,n}$, thought of as a word,
          to be $132$-avoiding it must have the form $w,n,w'$ for some $k$ where
          $w'$ is a $132$-avoiding word on ${1,ldots,k}$ and
          $w'$ is a $132$-avoiding word on ${k+1,ldots,n-1}$. For a given $k$
          the number of such words is $C_kC_{n-k-1}$ and so we get the recurrence
          $$C_n=sum_{k=0}^{n-1}C_kC_{n-k-1}$$
          which may be familiar.






          share|cite|improve this answer











          $endgroup$



          This is a classical problem in the theorem of "permutation avoidance".
          I'm not sure what you mean by "acceptable" permutations; ones which have
          no $132$ patterns or ones which have a $132$ pattern. I'll let $C_n$
          be the permutations with no $132$ patterns; clearly $C_n=n!$ for $nle2$.



          For a general permutation on ${1,ldots,n}$, thought of as a word,
          to be $132$-avoiding it must have the form $w,n,w'$ for some $k$ where
          $w'$ is a $132$-avoiding word on ${1,ldots,k}$ and
          $w'$ is a $132$-avoiding word on ${k+1,ldots,n-1}$. For a given $k$
          the number of such words is $C_kC_{n-k-1}$ and so we get the recurrence
          $$C_n=sum_{k=0}^{n-1}C_kC_{n-k-1}$$
          which may be familiar.







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Jan 25 at 8:18

























          answered Jan 25 at 5:13









          Lord Shark the UnknownLord Shark the Unknown

          106k1161133




          106k1161133








          • 1




            $begingroup$
            @Corp.andLtd. In the jargon of permutation patterns, $243$ is a $132$ pattern. There's an order-isomorphism between ${2,3,4}$ and ${1,2,3}$ taking the first to the second.
            $endgroup$
            – Lord Shark the Unknown
            Jan 25 at 8:15
















          • 1




            $begingroup$
            @Corp.andLtd. In the jargon of permutation patterns, $243$ is a $132$ pattern. There's an order-isomorphism between ${2,3,4}$ and ${1,2,3}$ taking the first to the second.
            $endgroup$
            – Lord Shark the Unknown
            Jan 25 at 8:15










          1




          1




          $begingroup$
          @Corp.andLtd. In the jargon of permutation patterns, $243$ is a $132$ pattern. There's an order-isomorphism between ${2,3,4}$ and ${1,2,3}$ taking the first to the second.
          $endgroup$
          – Lord Shark the Unknown
          Jan 25 at 8:15






          $begingroup$
          @Corp.andLtd. In the jargon of permutation patterns, $243$ is a $132$ pattern. There's an order-isomorphism between ${2,3,4}$ and ${1,2,3}$ taking the first to the second.
          $endgroup$
          – Lord Shark the Unknown
          Jan 25 at 8:15




















          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%2f3086726%2fcatalan-numbers-and-numbers-of-subsequence%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

          Can a sorcerer learn a 5th-level spell early by creating spell slots using the Font of Magic feature?

          Does disintegrating a polymorphed enemy still kill it after the 2018 errata?

          A Topological Invariant for $pi_3(U(n))$