Number of ways to colour gridcells The 2019 Stack Overflow Developer Survey Results Are InHow many ways to paint a rectangleNumber of $4times K$ board arrangements such that there exist no square of size 2 having all black cellsCalculating the number of all possible connected regions on a discrete gridNumber of ways of selecting cells from a gridNumber of $n^2times n^2$ permutation matrices with a 1 in each $ntimes n$ subgridIn how many ways can the four walls of a room be painted with three colours so that no two adjacent walls have the same colour?Number of ways to colour a $2×N$ gridcount the number of ways to partition a gridIn how many ways can we distribute 6 identical balls between 10 different cells, such that exactly one cell will contain exactly 3 balls?Different ways to count number of ways to colour a $4times4$ grid with 2 colours?

Is "plugging out" electronic devices an American expression?

The difference between dialogue marks

Why isn't airport relocation done gradually?

Where to refill my bottle in India?

Worn-tile Scrabble

Protecting Dualbooting Windows from dangerous code (like rm -rf)

One word riddle: Vowel in the middle

How to save as into a customized destination on macOS?

Am I thawing this London Broil safely?

Did 3000BC Egyptians use meteoric iron weapons?

"as much details as you can remember"

What is the meaning of Triage in Cybersec world?

Apparent duplicates between Haynes service instructions and MOT

Button changing it's text & action. Good or terrible?

Can we generate random numbers using irrational numbers like π and e?

Return to UK after being refused entry years previously

What to do when moving next to a bird sanctuary with a loosely-domesticated cat?

Why do UK politicians seemingly ignore opinion polls on Brexit?

Did Section 31 appear in Star Trek: The Next Generation?

Why hard-Brexiteers don't insist on a hard border to prevent illegal immigration after Brexit?

How technical should a Scrum Master be to effectively remove impediments?

Is this app Icon Browser Safe/Legit?

Geography at the pixel level

Did Scotland spend $250,000 for the slogan "Welcome to Scotland"?



Number of ways to colour gridcells



The 2019 Stack Overflow Developer Survey Results Are InHow many ways to paint a rectangleNumber of $4times K$ board arrangements such that there exist no square of size 2 having all black cellsCalculating the number of all possible connected regions on a discrete gridNumber of ways of selecting cells from a gridNumber of $n^2times n^2$ permutation matrices with a 1 in each $ntimes n$ subgridIn how many ways can the four walls of a room be painted with three colours so that no two adjacent walls have the same colour?Number of ways to colour a $2×N$ gridcount the number of ways to partition a gridIn how many ways can we distribute 6 identical balls between 10 different cells, such that exactly one cell will contain exactly 3 balls?Different ways to count number of ways to colour a $4times4$ grid with 2 colours?










3












$begingroup$


Given a $6times 3$ grid, we would like to colour four cells with black in a way that exactly four of the columns contain one black square each.
How many ways are there to fulfill this colouring ?



My answer would be : $18 times 15 times 12 times 9 $



18 possibilities to colour the first cell,



15 to colour the second,



12 to colour the third,



9 to colour the fouth.



Is my answer correct ?



enter image description here



Thanks










share|cite|improve this question









$endgroup$
















    3












    $begingroup$


    Given a $6times 3$ grid, we would like to colour four cells with black in a way that exactly four of the columns contain one black square each.
    How many ways are there to fulfill this colouring ?



    My answer would be : $18 times 15 times 12 times 9 $



    18 possibilities to colour the first cell,



    15 to colour the second,



    12 to colour the third,



    9 to colour the fouth.



    Is my answer correct ?



    enter image description here



    Thanks










    share|cite|improve this question









    $endgroup$














      3












      3








      3


      1



      $begingroup$


      Given a $6times 3$ grid, we would like to colour four cells with black in a way that exactly four of the columns contain one black square each.
      How many ways are there to fulfill this colouring ?



      My answer would be : $18 times 15 times 12 times 9 $



      18 possibilities to colour the first cell,



      15 to colour the second,



      12 to colour the third,



      9 to colour the fouth.



      Is my answer correct ?



      enter image description here



      Thanks










      share|cite|improve this question









      $endgroup$




      Given a $6times 3$ grid, we would like to colour four cells with black in a way that exactly four of the columns contain one black square each.
      How many ways are there to fulfill this colouring ?



      My answer would be : $18 times 15 times 12 times 9 $



      18 possibilities to colour the first cell,



      15 to colour the second,



      12 to colour the third,



      9 to colour the fouth.



      Is my answer correct ?



      enter image description here



      Thanks







      combinatorics






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Apr 6 at 21:56









      ahmedahmed

      474




      474




















          2 Answers
          2






          active

          oldest

          votes


















          2












          $begingroup$

          Your answer is almost correct; you have overcounted by the number of different orders in which you can pick the same black squares. You can pick the same $4$ black squares in $4!$ different ways, so you should divide your current answer by $24$.



          Another way to see this, is that you can pick $4$ different columns out of $6$ for the black squares, and then pick $1$ row out of $3$ for each of the $4$ black squares. This gives you $binom64times3^4$.






          share|cite|improve this answer











          $endgroup$








          • 2




            $begingroup$
            Unfortunately the OP's answer is not the same. Your solution is $1215$, while the OP's solution is $29160$
            $endgroup$
            – Haris Gusic
            Apr 6 at 22:16






          • 1




            $begingroup$
            @HarisGusic You are absolutely right, I have updated my answer.
            $endgroup$
            – Servaes
            Apr 6 at 22:18


















          1












          $begingroup$

          No, your answer is not correct. Let's say that the first cells you color in order are $(1,1), (1,2), (1,3), (1,4)$. Then, in another attempt you can color them in another order, say in reverse, $(1,4), (1,3), (1,2), (1,1)$. See that these two approaches give you the same configuration. Therefore, by using your approach, you have counted some configurations twice.



          The correct way to solve this problem is to first pick which columns are going to contain black cells. This can be done in $binom64$ ways. Then, you need to fill one cell of each of these rows, which can be done in $3^4$ ways. Applying the multiplicative rule, you get the result $binom64cdot 3^4$.






          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%2f3177490%2fnumber-of-ways-to-colour-gridcells%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2












            $begingroup$

            Your answer is almost correct; you have overcounted by the number of different orders in which you can pick the same black squares. You can pick the same $4$ black squares in $4!$ different ways, so you should divide your current answer by $24$.



            Another way to see this, is that you can pick $4$ different columns out of $6$ for the black squares, and then pick $1$ row out of $3$ for each of the $4$ black squares. This gives you $binom64times3^4$.






            share|cite|improve this answer











            $endgroup$








            • 2




              $begingroup$
              Unfortunately the OP's answer is not the same. Your solution is $1215$, while the OP's solution is $29160$
              $endgroup$
              – Haris Gusic
              Apr 6 at 22:16






            • 1




              $begingroup$
              @HarisGusic You are absolutely right, I have updated my answer.
              $endgroup$
              – Servaes
              Apr 6 at 22:18















            2












            $begingroup$

            Your answer is almost correct; you have overcounted by the number of different orders in which you can pick the same black squares. You can pick the same $4$ black squares in $4!$ different ways, so you should divide your current answer by $24$.



            Another way to see this, is that you can pick $4$ different columns out of $6$ for the black squares, and then pick $1$ row out of $3$ for each of the $4$ black squares. This gives you $binom64times3^4$.






            share|cite|improve this answer











            $endgroup$








            • 2




              $begingroup$
              Unfortunately the OP's answer is not the same. Your solution is $1215$, while the OP's solution is $29160$
              $endgroup$
              – Haris Gusic
              Apr 6 at 22:16






            • 1




              $begingroup$
              @HarisGusic You are absolutely right, I have updated my answer.
              $endgroup$
              – Servaes
              Apr 6 at 22:18













            2












            2








            2





            $begingroup$

            Your answer is almost correct; you have overcounted by the number of different orders in which you can pick the same black squares. You can pick the same $4$ black squares in $4!$ different ways, so you should divide your current answer by $24$.



            Another way to see this, is that you can pick $4$ different columns out of $6$ for the black squares, and then pick $1$ row out of $3$ for each of the $4$ black squares. This gives you $binom64times3^4$.






            share|cite|improve this answer











            $endgroup$



            Your answer is almost correct; you have overcounted by the number of different orders in which you can pick the same black squares. You can pick the same $4$ black squares in $4!$ different ways, so you should divide your current answer by $24$.



            Another way to see this, is that you can pick $4$ different columns out of $6$ for the black squares, and then pick $1$ row out of $3$ for each of the $4$ black squares. This gives you $binom64times3^4$.







            share|cite|improve this answer














            share|cite|improve this answer



            share|cite|improve this answer








            edited Apr 6 at 22:18

























            answered Apr 6 at 22:07









            ServaesServaes

            30.3k342101




            30.3k342101







            • 2




              $begingroup$
              Unfortunately the OP's answer is not the same. Your solution is $1215$, while the OP's solution is $29160$
              $endgroup$
              – Haris Gusic
              Apr 6 at 22:16






            • 1




              $begingroup$
              @HarisGusic You are absolutely right, I have updated my answer.
              $endgroup$
              – Servaes
              Apr 6 at 22:18












            • 2




              $begingroup$
              Unfortunately the OP's answer is not the same. Your solution is $1215$, while the OP's solution is $29160$
              $endgroup$
              – Haris Gusic
              Apr 6 at 22:16






            • 1




              $begingroup$
              @HarisGusic You are absolutely right, I have updated my answer.
              $endgroup$
              – Servaes
              Apr 6 at 22:18







            2




            2




            $begingroup$
            Unfortunately the OP's answer is not the same. Your solution is $1215$, while the OP's solution is $29160$
            $endgroup$
            – Haris Gusic
            Apr 6 at 22:16




            $begingroup$
            Unfortunately the OP's answer is not the same. Your solution is $1215$, while the OP's solution is $29160$
            $endgroup$
            – Haris Gusic
            Apr 6 at 22:16




            1




            1




            $begingroup$
            @HarisGusic You are absolutely right, I have updated my answer.
            $endgroup$
            – Servaes
            Apr 6 at 22:18




            $begingroup$
            @HarisGusic You are absolutely right, I have updated my answer.
            $endgroup$
            – Servaes
            Apr 6 at 22:18











            1












            $begingroup$

            No, your answer is not correct. Let's say that the first cells you color in order are $(1,1), (1,2), (1,3), (1,4)$. Then, in another attempt you can color them in another order, say in reverse, $(1,4), (1,3), (1,2), (1,1)$. See that these two approaches give you the same configuration. Therefore, by using your approach, you have counted some configurations twice.



            The correct way to solve this problem is to first pick which columns are going to contain black cells. This can be done in $binom64$ ways. Then, you need to fill one cell of each of these rows, which can be done in $3^4$ ways. Applying the multiplicative rule, you get the result $binom64cdot 3^4$.






            share|cite|improve this answer









            $endgroup$

















              1












              $begingroup$

              No, your answer is not correct. Let's say that the first cells you color in order are $(1,1), (1,2), (1,3), (1,4)$. Then, in another attempt you can color them in another order, say in reverse, $(1,4), (1,3), (1,2), (1,1)$. See that these two approaches give you the same configuration. Therefore, by using your approach, you have counted some configurations twice.



              The correct way to solve this problem is to first pick which columns are going to contain black cells. This can be done in $binom64$ ways. Then, you need to fill one cell of each of these rows, which can be done in $3^4$ ways. Applying the multiplicative rule, you get the result $binom64cdot 3^4$.






              share|cite|improve this answer









              $endgroup$















                1












                1








                1





                $begingroup$

                No, your answer is not correct. Let's say that the first cells you color in order are $(1,1), (1,2), (1,3), (1,4)$. Then, in another attempt you can color them in another order, say in reverse, $(1,4), (1,3), (1,2), (1,1)$. See that these two approaches give you the same configuration. Therefore, by using your approach, you have counted some configurations twice.



                The correct way to solve this problem is to first pick which columns are going to contain black cells. This can be done in $binom64$ ways. Then, you need to fill one cell of each of these rows, which can be done in $3^4$ ways. Applying the multiplicative rule, you get the result $binom64cdot 3^4$.






                share|cite|improve this answer









                $endgroup$



                No, your answer is not correct. Let's say that the first cells you color in order are $(1,1), (1,2), (1,3), (1,4)$. Then, in another attempt you can color them in another order, say in reverse, $(1,4), (1,3), (1,2), (1,1)$. See that these two approaches give you the same configuration. Therefore, by using your approach, you have counted some configurations twice.



                The correct way to solve this problem is to first pick which columns are going to contain black cells. This can be done in $binom64$ ways. Then, you need to fill one cell of each of these rows, which can be done in $3^4$ ways. Applying the multiplicative rule, you get the result $binom64cdot 3^4$.







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Apr 6 at 22:12









                Haris GusicHaris Gusic

                3,531627




                3,531627



























                    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%2f3177490%2fnumber-of-ways-to-colour-gridcells%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

                    Hidroelektrana Sadržaj Povijest | Podjela hidroelektrana | Snaga dobivena u hidroelektranama | Dijelovi hidroelektrane | Uloga hidroelektrana u suvremenom svijetu | Prednosti hidroelektrana | Nedostaci hidroelektrana | Države s najvećom proizvodnjom hidro-električne energije | Deset najvećih hidroelektrana u svijetu | Hidroelektrane u Hrvatskoj | Izvori | Poveznice | Vanjske poveznice | Navigacijski izbornikTechnical Report, Version 2Zajedničkom poslužiteljuHidroelektranaHEP Proizvodnja d.o.o. - Hidroelektrane u Hrvatskoj

                    WordPress Information needed

                    Oconto (Nebraska) Índice Demografia | Geografia | Localidades na vizinhança | Referências Ligações externas | Menu de navegação41° 8' 29" N 99° 45' 41" O41° 8' 29" N 99° 45' 41" OU.S. Census Bureau. Census 2000 Summary File 1U.S. Census Bureau. Estimativa da população (julho de 2006)U.S. Board on Geographic Names. Topical Gazetteers Populated Places. Gráficos do banco de dados de altitudes dos Estados Unidos da AméricaEstatísticas, mapas e outras informações sobre Oconto em city-data.com