How many sequences a of length $N$ consisting of positive integers satisfy $a_1 times a_2 times … times a_n...











up vote
0
down vote

favorite












You are given positive integers $N$ and $M$ .



How many sequences a of length N consisting of positive integers satisfy $a_1 times a_2 times ... times a_n = M$ ?



Here , two sequences $a'$ and $a''$ are considered different when there exists some $i$ such that $ai' != ai''$ .



For example $N = 2$ and $M = 6$, the answer is $4$.



${a_1 , a_2 } = { (1,6) (2,3) (3,2) (6,1) }$










share|cite|improve this question




























    up vote
    0
    down vote

    favorite












    You are given positive integers $N$ and $M$ .



    How many sequences a of length N consisting of positive integers satisfy $a_1 times a_2 times ... times a_n = M$ ?



    Here , two sequences $a'$ and $a''$ are considered different when there exists some $i$ such that $ai' != ai''$ .



    For example $N = 2$ and $M = 6$, the answer is $4$.



    ${a_1 , a_2 } = { (1,6) (2,3) (3,2) (6,1) }$










    share|cite|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      You are given positive integers $N$ and $M$ .



      How many sequences a of length N consisting of positive integers satisfy $a_1 times a_2 times ... times a_n = M$ ?



      Here , two sequences $a'$ and $a''$ are considered different when there exists some $i$ such that $ai' != ai''$ .



      For example $N = 2$ and $M = 6$, the answer is $4$.



      ${a_1 , a_2 } = { (1,6) (2,3) (3,2) (6,1) }$










      share|cite|improve this question















      You are given positive integers $N$ and $M$ .



      How many sequences a of length N consisting of positive integers satisfy $a_1 times a_2 times ... times a_n = M$ ?



      Here , two sequences $a'$ and $a''$ are considered different when there exists some $i$ such that $ai' != ai''$ .



      For example $N = 2$ and $M = 6$, the answer is $4$.



      ${a_1 , a_2 } = { (1,6) (2,3) (3,2) (6,1) }$







      number-theory






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Nov 18 at 6:52









      Joey Kilpatrick

      1,163121




      1,163121










      asked Nov 18 at 6:36









      Tanu kumar

      11




      11






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote













          The different prime factors are independent.

          In your example, the 2 could appearas $(1,2)$ or $(2,1)$, and the 3 could be $(1,3)$ or $(3,1)$. Multiply them together, for example $(1,2)times(1,3)=(1times1,2times3)=(1,6)$.

          Now how many ways can $p^k$ be placed in $N$ spots? This is a good use of stars and bars.






          share|cite|improve this answer





















            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%2f3003209%2fhow-many-sequences-a-of-length-n-consisting-of-positive-integers-satisfy-a-1%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













            The different prime factors are independent.

            In your example, the 2 could appearas $(1,2)$ or $(2,1)$, and the 3 could be $(1,3)$ or $(3,1)$. Multiply them together, for example $(1,2)times(1,3)=(1times1,2times3)=(1,6)$.

            Now how many ways can $p^k$ be placed in $N$ spots? This is a good use of stars and bars.






            share|cite|improve this answer

























              up vote
              1
              down vote













              The different prime factors are independent.

              In your example, the 2 could appearas $(1,2)$ or $(2,1)$, and the 3 could be $(1,3)$ or $(3,1)$. Multiply them together, for example $(1,2)times(1,3)=(1times1,2times3)=(1,6)$.

              Now how many ways can $p^k$ be placed in $N$ spots? This is a good use of stars and bars.






              share|cite|improve this answer























                up vote
                1
                down vote










                up vote
                1
                down vote









                The different prime factors are independent.

                In your example, the 2 could appearas $(1,2)$ or $(2,1)$, and the 3 could be $(1,3)$ or $(3,1)$. Multiply them together, for example $(1,2)times(1,3)=(1times1,2times3)=(1,6)$.

                Now how many ways can $p^k$ be placed in $N$ spots? This is a good use of stars and bars.






                share|cite|improve this answer












                The different prime factors are independent.

                In your example, the 2 could appearas $(1,2)$ or $(2,1)$, and the 3 could be $(1,3)$ or $(3,1)$. Multiply them together, for example $(1,2)times(1,3)=(1times1,2times3)=(1,6)$.

                Now how many ways can $p^k$ be placed in $N$ spots? This is a good use of stars and bars.







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Nov 18 at 7:43









                Empy2

                33k12159




                33k12159






























                     

                    draft saved


                    draft discarded



















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3003209%2fhow-many-sequences-a-of-length-n-consisting-of-positive-integers-satisfy-a-1%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

                    Quarter-circle Tiles

                    build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

                    Mont Emei