Number of numbers - P&C












1












$begingroup$


Consider all the $5$ digit numbers where each of the digits is chosen from the set ${1,2,3,4}$. Then the number of numbers which contain all the $4$ digits is?



I don't know where to start. Would love some help/hints.










share|cite|improve this question











$endgroup$

















    1












    $begingroup$


    Consider all the $5$ digit numbers where each of the digits is chosen from the set ${1,2,3,4}$. Then the number of numbers which contain all the $4$ digits is?



    I don't know where to start. Would love some help/hints.










    share|cite|improve this question











    $endgroup$















      1












      1








      1





      $begingroup$


      Consider all the $5$ digit numbers where each of the digits is chosen from the set ${1,2,3,4}$. Then the number of numbers which contain all the $4$ digits is?



      I don't know where to start. Would love some help/hints.










      share|cite|improve this question











      $endgroup$




      Consider all the $5$ digit numbers where each of the digits is chosen from the set ${1,2,3,4}$. Then the number of numbers which contain all the $4$ digits is?



      I don't know where to start. Would love some help/hints.







      combinatorics permutations combinations






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Dec 22 '18 at 12:22









      Ankit Kumar

      1,514221




      1,514221










      asked Dec 22 '18 at 12:05









      user3508140user3508140

      14438




      14438






















          1 Answer
          1






          active

          oldest

          votes


















          2












          $begingroup$

          HINT:



          Since there are just 4 numbers, and 5 digits and you want all of them to be present, you'll have to take care only of a few things. Note that you'll have to pick only one extra digit. In how many ways can you do that? After choosing that digit, in how many ways can you arrange them?



          SOLUTION:



          Ways to choose extra digit$=4$



          Ways to arrange them$=5!/2$



          Answer = Total combinations$=2*5!$






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            4c1*5!? This omes out to be 480. But the answer is 240.
            $endgroup$
            – user3508140
            Dec 22 '18 at 12:18










          • $begingroup$
            Nope. It is 240. $5!=120, 2*120=240$.
            $endgroup$
            – Ankit Kumar
            Dec 22 '18 at 12:18






          • 1




            $begingroup$
            Missed the 2. Yes. Got it. Thanks.
            $endgroup$
            – user3508140
            Dec 22 '18 at 12:20













          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%2f3049380%2fnumber-of-numbers-pc%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









          2












          $begingroup$

          HINT:



          Since there are just 4 numbers, and 5 digits and you want all of them to be present, you'll have to take care only of a few things. Note that you'll have to pick only one extra digit. In how many ways can you do that? After choosing that digit, in how many ways can you arrange them?



          SOLUTION:



          Ways to choose extra digit$=4$



          Ways to arrange them$=5!/2$



          Answer = Total combinations$=2*5!$






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            4c1*5!? This omes out to be 480. But the answer is 240.
            $endgroup$
            – user3508140
            Dec 22 '18 at 12:18










          • $begingroup$
            Nope. It is 240. $5!=120, 2*120=240$.
            $endgroup$
            – Ankit Kumar
            Dec 22 '18 at 12:18






          • 1




            $begingroup$
            Missed the 2. Yes. Got it. Thanks.
            $endgroup$
            – user3508140
            Dec 22 '18 at 12:20


















          2












          $begingroup$

          HINT:



          Since there are just 4 numbers, and 5 digits and you want all of them to be present, you'll have to take care only of a few things. Note that you'll have to pick only one extra digit. In how many ways can you do that? After choosing that digit, in how many ways can you arrange them?



          SOLUTION:



          Ways to choose extra digit$=4$



          Ways to arrange them$=5!/2$



          Answer = Total combinations$=2*5!$






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            4c1*5!? This omes out to be 480. But the answer is 240.
            $endgroup$
            – user3508140
            Dec 22 '18 at 12:18










          • $begingroup$
            Nope. It is 240. $5!=120, 2*120=240$.
            $endgroup$
            – Ankit Kumar
            Dec 22 '18 at 12:18






          • 1




            $begingroup$
            Missed the 2. Yes. Got it. Thanks.
            $endgroup$
            – user3508140
            Dec 22 '18 at 12:20
















          2












          2








          2





          $begingroup$

          HINT:



          Since there are just 4 numbers, and 5 digits and you want all of them to be present, you'll have to take care only of a few things. Note that you'll have to pick only one extra digit. In how many ways can you do that? After choosing that digit, in how many ways can you arrange them?



          SOLUTION:



          Ways to choose extra digit$=4$



          Ways to arrange them$=5!/2$



          Answer = Total combinations$=2*5!$






          share|cite|improve this answer











          $endgroup$



          HINT:



          Since there are just 4 numbers, and 5 digits and you want all of them to be present, you'll have to take care only of a few things. Note that you'll have to pick only one extra digit. In how many ways can you do that? After choosing that digit, in how many ways can you arrange them?



          SOLUTION:



          Ways to choose extra digit$=4$



          Ways to arrange them$=5!/2$



          Answer = Total combinations$=2*5!$







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Dec 22 '18 at 12:16

























          answered Dec 22 '18 at 12:09









          Ankit KumarAnkit Kumar

          1,514221




          1,514221












          • $begingroup$
            4c1*5!? This omes out to be 480. But the answer is 240.
            $endgroup$
            – user3508140
            Dec 22 '18 at 12:18










          • $begingroup$
            Nope. It is 240. $5!=120, 2*120=240$.
            $endgroup$
            – Ankit Kumar
            Dec 22 '18 at 12:18






          • 1




            $begingroup$
            Missed the 2. Yes. Got it. Thanks.
            $endgroup$
            – user3508140
            Dec 22 '18 at 12:20




















          • $begingroup$
            4c1*5!? This omes out to be 480. But the answer is 240.
            $endgroup$
            – user3508140
            Dec 22 '18 at 12:18










          • $begingroup$
            Nope. It is 240. $5!=120, 2*120=240$.
            $endgroup$
            – Ankit Kumar
            Dec 22 '18 at 12:18






          • 1




            $begingroup$
            Missed the 2. Yes. Got it. Thanks.
            $endgroup$
            – user3508140
            Dec 22 '18 at 12:20


















          $begingroup$
          4c1*5!? This omes out to be 480. But the answer is 240.
          $endgroup$
          – user3508140
          Dec 22 '18 at 12:18




          $begingroup$
          4c1*5!? This omes out to be 480. But the answer is 240.
          $endgroup$
          – user3508140
          Dec 22 '18 at 12:18












          $begingroup$
          Nope. It is 240. $5!=120, 2*120=240$.
          $endgroup$
          – Ankit Kumar
          Dec 22 '18 at 12:18




          $begingroup$
          Nope. It is 240. $5!=120, 2*120=240$.
          $endgroup$
          – Ankit Kumar
          Dec 22 '18 at 12:18




          1




          1




          $begingroup$
          Missed the 2. Yes. Got it. Thanks.
          $endgroup$
          – user3508140
          Dec 22 '18 at 12:20






          $begingroup$
          Missed the 2. Yes. Got it. Thanks.
          $endgroup$
          – user3508140
          Dec 22 '18 at 12:20




















          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%2f3049380%2fnumber-of-numbers-pc%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

          To store a contact into the json file from server.js file using a class in NodeJS

          Redirect URL with Chrome Remote Debugging Android Devices

          Dieringhausen