Distinct sequences of characters












0












$begingroup$


I'm new to combinatorial calculus. I have a question for you that I am trying to answer.



How many distinct sequences can be formed using exactly 5 times the letter A, 6 times the letter B and 7 times the letter C?
How many can be formed by choosing an additional letter of the alphabet from the remaining 23?



I asked the first question with the following calculation: $(18!)/(5!6!7!) $ (sorry for the fraction but I have not found a way to write it correctly).



For the second question, I have my doubts as to how to resolve it. Do I have to approach this question thinking that I only have one more place in the sequence, or do I have to understand how many ways I can occupy one of the 19 places by selecting a letter from 23?










share|cite|improve this question









$endgroup$












  • $begingroup$
    Visit this page for information on how to properly typeset mathematics here using MathJax and $LaTeX$ commands. Your answer for the first part of the question is correct. Now... for the second part of the question, approach it in two steps. First, count how many sequences there are using five $A$'s, six $B$'s, seven $C$'s, and one $heartsuit$. Next, find how many ways there are to replace the $heartsuit$ with a letter and then apply multiplication principle.
    $endgroup$
    – JMoravitz
    Jan 15 at 19:30










  • $begingroup$
    If your question is just how to interpret the question, be it we are only wanting to count sequences of the form (AAA..BB..CC..)(D), (AAA..BB..CC..)(E), ... where the new letter is only appended at the end, that is not how I interpret it. I interpret it as the new letter can be anywhere, not just at the end, so AAXABBBCCCBBBCCCCAA would be a valid sequence which we wish to count for example.
    $endgroup$
    – JMoravitz
    Jan 15 at 19:33










  • $begingroup$
    @JMoravitz I am also of the same opinion as you and I think that the additional letter can be placed anywhere in the sequence. My question is aimed at trying to understand if I answered the first question well and understand how to answer the second. EDIT: because of the slow network I have not seen your answer divided into two parts. Thank you for the suggestion, I will try to proceed as you suggested.
    $endgroup$
    – PCNF
    Jan 15 at 19:36


















0












$begingroup$


I'm new to combinatorial calculus. I have a question for you that I am trying to answer.



How many distinct sequences can be formed using exactly 5 times the letter A, 6 times the letter B and 7 times the letter C?
How many can be formed by choosing an additional letter of the alphabet from the remaining 23?



I asked the first question with the following calculation: $(18!)/(5!6!7!) $ (sorry for the fraction but I have not found a way to write it correctly).



For the second question, I have my doubts as to how to resolve it. Do I have to approach this question thinking that I only have one more place in the sequence, or do I have to understand how many ways I can occupy one of the 19 places by selecting a letter from 23?










share|cite|improve this question









$endgroup$












  • $begingroup$
    Visit this page for information on how to properly typeset mathematics here using MathJax and $LaTeX$ commands. Your answer for the first part of the question is correct. Now... for the second part of the question, approach it in two steps. First, count how many sequences there are using five $A$'s, six $B$'s, seven $C$'s, and one $heartsuit$. Next, find how many ways there are to replace the $heartsuit$ with a letter and then apply multiplication principle.
    $endgroup$
    – JMoravitz
    Jan 15 at 19:30










  • $begingroup$
    If your question is just how to interpret the question, be it we are only wanting to count sequences of the form (AAA..BB..CC..)(D), (AAA..BB..CC..)(E), ... where the new letter is only appended at the end, that is not how I interpret it. I interpret it as the new letter can be anywhere, not just at the end, so AAXABBBCCCBBBCCCCAA would be a valid sequence which we wish to count for example.
    $endgroup$
    – JMoravitz
    Jan 15 at 19:33










  • $begingroup$
    @JMoravitz I am also of the same opinion as you and I think that the additional letter can be placed anywhere in the sequence. My question is aimed at trying to understand if I answered the first question well and understand how to answer the second. EDIT: because of the slow network I have not seen your answer divided into two parts. Thank you for the suggestion, I will try to proceed as you suggested.
    $endgroup$
    – PCNF
    Jan 15 at 19:36
















0












0








0





$begingroup$


I'm new to combinatorial calculus. I have a question for you that I am trying to answer.



How many distinct sequences can be formed using exactly 5 times the letter A, 6 times the letter B and 7 times the letter C?
How many can be formed by choosing an additional letter of the alphabet from the remaining 23?



I asked the first question with the following calculation: $(18!)/(5!6!7!) $ (sorry for the fraction but I have not found a way to write it correctly).



For the second question, I have my doubts as to how to resolve it. Do I have to approach this question thinking that I only have one more place in the sequence, or do I have to understand how many ways I can occupy one of the 19 places by selecting a letter from 23?










share|cite|improve this question









$endgroup$




I'm new to combinatorial calculus. I have a question for you that I am trying to answer.



How many distinct sequences can be formed using exactly 5 times the letter A, 6 times the letter B and 7 times the letter C?
How many can be formed by choosing an additional letter of the alphabet from the remaining 23?



I asked the first question with the following calculation: $(18!)/(5!6!7!) $ (sorry for the fraction but I have not found a way to write it correctly).



For the second question, I have my doubts as to how to resolve it. Do I have to approach this question thinking that I only have one more place in the sequence, or do I have to understand how many ways I can occupy one of the 19 places by selecting a letter from 23?







combinatorics






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Jan 15 at 19:20









PCNFPCNF

1338




1338












  • $begingroup$
    Visit this page for information on how to properly typeset mathematics here using MathJax and $LaTeX$ commands. Your answer for the first part of the question is correct. Now... for the second part of the question, approach it in two steps. First, count how many sequences there are using five $A$'s, six $B$'s, seven $C$'s, and one $heartsuit$. Next, find how many ways there are to replace the $heartsuit$ with a letter and then apply multiplication principle.
    $endgroup$
    – JMoravitz
    Jan 15 at 19:30










  • $begingroup$
    If your question is just how to interpret the question, be it we are only wanting to count sequences of the form (AAA..BB..CC..)(D), (AAA..BB..CC..)(E), ... where the new letter is only appended at the end, that is not how I interpret it. I interpret it as the new letter can be anywhere, not just at the end, so AAXABBBCCCBBBCCCCAA would be a valid sequence which we wish to count for example.
    $endgroup$
    – JMoravitz
    Jan 15 at 19:33










  • $begingroup$
    @JMoravitz I am also of the same opinion as you and I think that the additional letter can be placed anywhere in the sequence. My question is aimed at trying to understand if I answered the first question well and understand how to answer the second. EDIT: because of the slow network I have not seen your answer divided into two parts. Thank you for the suggestion, I will try to proceed as you suggested.
    $endgroup$
    – PCNF
    Jan 15 at 19:36




















  • $begingroup$
    Visit this page for information on how to properly typeset mathematics here using MathJax and $LaTeX$ commands. Your answer for the first part of the question is correct. Now... for the second part of the question, approach it in two steps. First, count how many sequences there are using five $A$'s, six $B$'s, seven $C$'s, and one $heartsuit$. Next, find how many ways there are to replace the $heartsuit$ with a letter and then apply multiplication principle.
    $endgroup$
    – JMoravitz
    Jan 15 at 19:30










  • $begingroup$
    If your question is just how to interpret the question, be it we are only wanting to count sequences of the form (AAA..BB..CC..)(D), (AAA..BB..CC..)(E), ... where the new letter is only appended at the end, that is not how I interpret it. I interpret it as the new letter can be anywhere, not just at the end, so AAXABBBCCCBBBCCCCAA would be a valid sequence which we wish to count for example.
    $endgroup$
    – JMoravitz
    Jan 15 at 19:33










  • $begingroup$
    @JMoravitz I am also of the same opinion as you and I think that the additional letter can be placed anywhere in the sequence. My question is aimed at trying to understand if I answered the first question well and understand how to answer the second. EDIT: because of the slow network I have not seen your answer divided into two parts. Thank you for the suggestion, I will try to proceed as you suggested.
    $endgroup$
    – PCNF
    Jan 15 at 19:36


















$begingroup$
Visit this page for information on how to properly typeset mathematics here using MathJax and $LaTeX$ commands. Your answer for the first part of the question is correct. Now... for the second part of the question, approach it in two steps. First, count how many sequences there are using five $A$'s, six $B$'s, seven $C$'s, and one $heartsuit$. Next, find how many ways there are to replace the $heartsuit$ with a letter and then apply multiplication principle.
$endgroup$
– JMoravitz
Jan 15 at 19:30




$begingroup$
Visit this page for information on how to properly typeset mathematics here using MathJax and $LaTeX$ commands. Your answer for the first part of the question is correct. Now... for the second part of the question, approach it in two steps. First, count how many sequences there are using five $A$'s, six $B$'s, seven $C$'s, and one $heartsuit$. Next, find how many ways there are to replace the $heartsuit$ with a letter and then apply multiplication principle.
$endgroup$
– JMoravitz
Jan 15 at 19:30












$begingroup$
If your question is just how to interpret the question, be it we are only wanting to count sequences of the form (AAA..BB..CC..)(D), (AAA..BB..CC..)(E), ... where the new letter is only appended at the end, that is not how I interpret it. I interpret it as the new letter can be anywhere, not just at the end, so AAXABBBCCCBBBCCCCAA would be a valid sequence which we wish to count for example.
$endgroup$
– JMoravitz
Jan 15 at 19:33




$begingroup$
If your question is just how to interpret the question, be it we are only wanting to count sequences of the form (AAA..BB..CC..)(D), (AAA..BB..CC..)(E), ... where the new letter is only appended at the end, that is not how I interpret it. I interpret it as the new letter can be anywhere, not just at the end, so AAXABBBCCCBBBCCCCAA would be a valid sequence which we wish to count for example.
$endgroup$
– JMoravitz
Jan 15 at 19:33












$begingroup$
@JMoravitz I am also of the same opinion as you and I think that the additional letter can be placed anywhere in the sequence. My question is aimed at trying to understand if I answered the first question well and understand how to answer the second. EDIT: because of the slow network I have not seen your answer divided into two parts. Thank you for the suggestion, I will try to proceed as you suggested.
$endgroup$
– PCNF
Jan 15 at 19:36






$begingroup$
@JMoravitz I am also of the same opinion as you and I think that the additional letter can be placed anywhere in the sequence. My question is aimed at trying to understand if I answered the first question well and understand how to answer the second. EDIT: because of the slow network I have not seen your answer divided into two parts. Thank you for the suggestion, I will try to proceed as you suggested.
$endgroup$
– PCNF
Jan 15 at 19:36












1 Answer
1






active

oldest

votes


















1












$begingroup$

First answer is correct and is the multinomial coefficient $binom{18}{5,6,7}=dfrac{18!}{5!6!7!}$.



The second answer can be found a number of ways, most introductory ways will involve multiplication principle and binomial or multinomial coefficients in some way.



As alluded to in comments above, one way would be to arrange five $A$'s, six $B$'s, seven $C$'s, and one $heartsuit$ into a line and then pick which letter the $heartsuit$ is replaced with.




$binom{19}{5,6,7,1}cdot 23=frac{19!}{5!6!7!1!}cdot 23$




This is equivalent to first arranging five $A$'s, six $B$'s, seven $C$'s in a line and then picking a spot to insert a $heartsuit$ inbetween two characters or the front or back and then choosing which letter $heartsuit$ represents.




$binom{18}{5,6,7}cdot 19cdot 23$




You could completely reverse the order of steps as well in this case by first picking what the new letter is, then picking where it goes, then picking where the $A$'s go, then where the $B$'s, finally the $C$'s




$23cdot 19cdot binom{18}{5}cdot binom{13}{6}cdot 1$




In the end, just check that each outcome you wish to count is counted, and further each outcome is counted only once and not multiple times each.






share|cite|improve this answer









$endgroup$













    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%2f3074828%2fdistinct-sequences-of-characters%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$

    First answer is correct and is the multinomial coefficient $binom{18}{5,6,7}=dfrac{18!}{5!6!7!}$.



    The second answer can be found a number of ways, most introductory ways will involve multiplication principle and binomial or multinomial coefficients in some way.



    As alluded to in comments above, one way would be to arrange five $A$'s, six $B$'s, seven $C$'s, and one $heartsuit$ into a line and then pick which letter the $heartsuit$ is replaced with.




    $binom{19}{5,6,7,1}cdot 23=frac{19!}{5!6!7!1!}cdot 23$




    This is equivalent to first arranging five $A$'s, six $B$'s, seven $C$'s in a line and then picking a spot to insert a $heartsuit$ inbetween two characters or the front or back and then choosing which letter $heartsuit$ represents.




    $binom{18}{5,6,7}cdot 19cdot 23$




    You could completely reverse the order of steps as well in this case by first picking what the new letter is, then picking where it goes, then picking where the $A$'s go, then where the $B$'s, finally the $C$'s




    $23cdot 19cdot binom{18}{5}cdot binom{13}{6}cdot 1$




    In the end, just check that each outcome you wish to count is counted, and further each outcome is counted only once and not multiple times each.






    share|cite|improve this answer









    $endgroup$


















      1












      $begingroup$

      First answer is correct and is the multinomial coefficient $binom{18}{5,6,7}=dfrac{18!}{5!6!7!}$.



      The second answer can be found a number of ways, most introductory ways will involve multiplication principle and binomial or multinomial coefficients in some way.



      As alluded to in comments above, one way would be to arrange five $A$'s, six $B$'s, seven $C$'s, and one $heartsuit$ into a line and then pick which letter the $heartsuit$ is replaced with.




      $binom{19}{5,6,7,1}cdot 23=frac{19!}{5!6!7!1!}cdot 23$




      This is equivalent to first arranging five $A$'s, six $B$'s, seven $C$'s in a line and then picking a spot to insert a $heartsuit$ inbetween two characters or the front or back and then choosing which letter $heartsuit$ represents.




      $binom{18}{5,6,7}cdot 19cdot 23$




      You could completely reverse the order of steps as well in this case by first picking what the new letter is, then picking where it goes, then picking where the $A$'s go, then where the $B$'s, finally the $C$'s




      $23cdot 19cdot binom{18}{5}cdot binom{13}{6}cdot 1$




      In the end, just check that each outcome you wish to count is counted, and further each outcome is counted only once and not multiple times each.






      share|cite|improve this answer









      $endgroup$
















        1












        1








        1





        $begingroup$

        First answer is correct and is the multinomial coefficient $binom{18}{5,6,7}=dfrac{18!}{5!6!7!}$.



        The second answer can be found a number of ways, most introductory ways will involve multiplication principle and binomial or multinomial coefficients in some way.



        As alluded to in comments above, one way would be to arrange five $A$'s, six $B$'s, seven $C$'s, and one $heartsuit$ into a line and then pick which letter the $heartsuit$ is replaced with.




        $binom{19}{5,6,7,1}cdot 23=frac{19!}{5!6!7!1!}cdot 23$




        This is equivalent to first arranging five $A$'s, six $B$'s, seven $C$'s in a line and then picking a spot to insert a $heartsuit$ inbetween two characters or the front or back and then choosing which letter $heartsuit$ represents.




        $binom{18}{5,6,7}cdot 19cdot 23$




        You could completely reverse the order of steps as well in this case by first picking what the new letter is, then picking where it goes, then picking where the $A$'s go, then where the $B$'s, finally the $C$'s




        $23cdot 19cdot binom{18}{5}cdot binom{13}{6}cdot 1$




        In the end, just check that each outcome you wish to count is counted, and further each outcome is counted only once and not multiple times each.






        share|cite|improve this answer









        $endgroup$



        First answer is correct and is the multinomial coefficient $binom{18}{5,6,7}=dfrac{18!}{5!6!7!}$.



        The second answer can be found a number of ways, most introductory ways will involve multiplication principle and binomial or multinomial coefficients in some way.



        As alluded to in comments above, one way would be to arrange five $A$'s, six $B$'s, seven $C$'s, and one $heartsuit$ into a line and then pick which letter the $heartsuit$ is replaced with.




        $binom{19}{5,6,7,1}cdot 23=frac{19!}{5!6!7!1!}cdot 23$




        This is equivalent to first arranging five $A$'s, six $B$'s, seven $C$'s in a line and then picking a spot to insert a $heartsuit$ inbetween two characters or the front or back and then choosing which letter $heartsuit$ represents.




        $binom{18}{5,6,7}cdot 19cdot 23$




        You could completely reverse the order of steps as well in this case by first picking what the new letter is, then picking where it goes, then picking where the $A$'s go, then where the $B$'s, finally the $C$'s




        $23cdot 19cdot binom{18}{5}cdot binom{13}{6}cdot 1$




        In the end, just check that each outcome you wish to count is counted, and further each outcome is counted only once and not multiple times each.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Jan 15 at 19:44









        JMoravitzJMoravitz

        47.9k33886




        47.9k33886






























            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%2f3074828%2fdistinct-sequences-of-characters%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

            android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

            SQL update select statement

            'app-layout' is not a known element: how to share Component with different Modules