Pigeon Hole explanation Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Min Number of Values from 1,2,…,9 Such that diff of 2 picked values is 5Pigeon Hole Principle AlgorithmThe Probabilistic Pigeon Hole PrinciplePigeon Hole Priciple and Genaralized Pigeon Hole Principle QuestionPigeonhole problem - Can solve it but can't model how it works…Tips on identifying pigeon and pigeonholeleast number of items required to satisfy one of three given conditions?Not quite understanding parts of Pigeon Hole Principle GeneralizationK-subsets, counting, and the pigeon hole principlePigeon hole principle proof writing

Is there a Spanish version of "dot your i's and cross your t's" that includes the letter 'ñ'?

Is there a "higher Segal conjecture"?

If Jon Snow became King of the Seven Kingdoms what would his regnal number be?

How to recreate this effect in Photoshop?

Is a manifold-with-boundary with given interior and non-empty boundary essentially unique?

"Seemed to had" is it correct?

Do I really need recursive chmod to restrict access to a folder?

Is there a service that would inform me whenever a new direct route is scheduled from a given airport?

The logistics of corpse disposal

Is it true that "carbohydrates are of no use for the basal metabolic need"?

Should I discuss the type of campaign with my players?

Is above average number of years spent on PhD considered a red flag in future academia or industry positions?

What would be the ideal power source for a cybernetic eye?

Why did the IBM 650 use bi-quinary?

Check which numbers satisfy the condition [A*B*C = A! + B! + C!]

Why was the term "discrete" used in discrete logarithm?

How can I fade player when goes inside or outside of the area?

Did Xerox really develop the first LAN?

What causes the vertical darker bands in my photo?

What do you call a plan that's an alternative plan in case your initial plan fails?

Java 8 stream max() function argument type Comparator vs Comparable

Stars Make Stars

If 'B is more likely given A', then 'A is more likely given B'

Can inflation occur in a positive-sum game currency system such as the Stack Exchange reputation system?



Pigeon Hole explanation



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Min Number of Values from 1,2,…,9 Such that diff of 2 picked values is 5Pigeon Hole Principle AlgorithmThe Probabilistic Pigeon Hole PrinciplePigeon Hole Priciple and Genaralized Pigeon Hole Principle QuestionPigeonhole problem - Can solve it but can't model how it works…Tips on identifying pigeon and pigeonholeleast number of items required to satisfy one of three given conditions?Not quite understanding parts of Pigeon Hole Principle GeneralizationK-subsets, counting, and the pigeon hole principlePigeon hole principle proof writing










2












$begingroup$


I understand that the pigeonhole principle is supposedly a quite simple concept. However could you please explain to me the reasoning of how you reach this answer. Thank you.



Question: A basket cannot contain more than $24$ apples. What is the minimum amount of baskets you must have, to ensure you have at least $5$ baskets with the same number of apples in them (all baskets have at least $1$ apple contained within).



Answer of this question being $97$ baskets.










share|cite|improve this question











$endgroup$
















    2












    $begingroup$


    I understand that the pigeonhole principle is supposedly a quite simple concept. However could you please explain to me the reasoning of how you reach this answer. Thank you.



    Question: A basket cannot contain more than $24$ apples. What is the minimum amount of baskets you must have, to ensure you have at least $5$ baskets with the same number of apples in them (all baskets have at least $1$ apple contained within).



    Answer of this question being $97$ baskets.










    share|cite|improve this question











    $endgroup$














      2












      2








      2





      $begingroup$


      I understand that the pigeonhole principle is supposedly a quite simple concept. However could you please explain to me the reasoning of how you reach this answer. Thank you.



      Question: A basket cannot contain more than $24$ apples. What is the minimum amount of baskets you must have, to ensure you have at least $5$ baskets with the same number of apples in them (all baskets have at least $1$ apple contained within).



      Answer of this question being $97$ baskets.










      share|cite|improve this question











      $endgroup$




      I understand that the pigeonhole principle is supposedly a quite simple concept. However could you please explain to me the reasoning of how you reach this answer. Thank you.



      Question: A basket cannot contain more than $24$ apples. What is the minimum amount of baskets you must have, to ensure you have at least $5$ baskets with the same number of apples in them (all baskets have at least $1$ apple contained within).



      Answer of this question being $97$ baskets.







      pigeonhole-principle






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited yesterday









      Peter

      49.2k1240138




      49.2k1240138










      asked yesterday









      LaykenLayken

      324




      324




















          4 Answers
          4






          active

          oldest

          votes


















          3












          $begingroup$

          The basic idea of the pigeonhole principle is trivial , but the application can be much more difficult.



          Main idea : If we distribute $n+1$ pigeons among $n$ cages, at least one cage must have more than one pigeon.



          The problem here :



          There are $24$ possibilities for the number of apples in a basket.



          Therefore, $96$ baskets cannot be enough because every number from $1$ to $24$ can appear exactly four times.



          But if we add another basket, it is not possible anymore that all the numbers appear at most $4$ times because then, at most $96$ baskets would be possible.






          share|cite|improve this answer









          $endgroup$




















            3












            $begingroup$

            Why $96$ is not enought:



            For every number $x$ between $1$ and $24$ you take $4$ baskets with $x$ apples inside. Then you have $4cdot 24 = 96$ baskets. By construction, there is no number such that $5$ baskets have this number of apples.



            On the other hand if you have $97$ baskets and assume there are maximum $4$ baskets with the same number of apples. Then again the number of baskets is limited to $4cdot 24$ which is less than your number of baskets. So you have a contradiction. Hence, there is no configuration with max $4$ baskets with the same number of apples for $97$ baskets.






            share|cite|improve this answer









            $endgroup$




















              2












              $begingroup$

              Since a basket cannot contain more than $24$ apples, we consider a basket to be a collection of $24$ pigeonholes. Hence if we have $4$ baskets, there are altogether $24 times 4 = 96$ pigeonholes. Indeed $96$ pigeonholes can contain $96$ pigeons (apples). But if we have $97$ pigeons, by pigeonhole principle, at least one of the pigeonhole must have two pigeons, which is not allowed (the $4$ baskets are full, so we need an extra one). Hence $97$ is the answer.






              share|cite|improve this answer









              $endgroup$




















                2












                $begingroup$

                The number of apples in a basket is between 1 and 24. That's 24 different values.



                Suppose that in our collection of baskets, none of these numbers occurs at least five times.



                This means that in our collection of baskets each of these numbers occurs at most four times.



                But then we can have at most 24 times 4 baskets.



                Now, $24 times 4 = 96$. So if we have more than that number of baskets, that is if we have at least 97 baskets, then one of those numbers between 1 and 24 must occur at least five times, that is then we have at least five baskets with the same number of apples.






                share|cite|improve this answer











                $endgroup$












                • $begingroup$
                  Please don't use $24 * 4 = 96$, it looks bad ... Use $24 times 4$ or $24 cdot 4$.
                  $endgroup$
                  – L. F.
                  yesterday











                Your Answer








                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%2f3187132%2fpigeon-hole-explanation%23new-answer', 'question_page');

                );

                Post as a guest















                Required, but never shown

























                4 Answers
                4






                active

                oldest

                votes








                4 Answers
                4






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes









                3












                $begingroup$

                The basic idea of the pigeonhole principle is trivial , but the application can be much more difficult.



                Main idea : If we distribute $n+1$ pigeons among $n$ cages, at least one cage must have more than one pigeon.



                The problem here :



                There are $24$ possibilities for the number of apples in a basket.



                Therefore, $96$ baskets cannot be enough because every number from $1$ to $24$ can appear exactly four times.



                But if we add another basket, it is not possible anymore that all the numbers appear at most $4$ times because then, at most $96$ baskets would be possible.






                share|cite|improve this answer









                $endgroup$

















                  3












                  $begingroup$

                  The basic idea of the pigeonhole principle is trivial , but the application can be much more difficult.



                  Main idea : If we distribute $n+1$ pigeons among $n$ cages, at least one cage must have more than one pigeon.



                  The problem here :



                  There are $24$ possibilities for the number of apples in a basket.



                  Therefore, $96$ baskets cannot be enough because every number from $1$ to $24$ can appear exactly four times.



                  But if we add another basket, it is not possible anymore that all the numbers appear at most $4$ times because then, at most $96$ baskets would be possible.






                  share|cite|improve this answer









                  $endgroup$















                    3












                    3








                    3





                    $begingroup$

                    The basic idea of the pigeonhole principle is trivial , but the application can be much more difficult.



                    Main idea : If we distribute $n+1$ pigeons among $n$ cages, at least one cage must have more than one pigeon.



                    The problem here :



                    There are $24$ possibilities for the number of apples in a basket.



                    Therefore, $96$ baskets cannot be enough because every number from $1$ to $24$ can appear exactly four times.



                    But if we add another basket, it is not possible anymore that all the numbers appear at most $4$ times because then, at most $96$ baskets would be possible.






                    share|cite|improve this answer









                    $endgroup$



                    The basic idea of the pigeonhole principle is trivial , but the application can be much more difficult.



                    Main idea : If we distribute $n+1$ pigeons among $n$ cages, at least one cage must have more than one pigeon.



                    The problem here :



                    There are $24$ possibilities for the number of apples in a basket.



                    Therefore, $96$ baskets cannot be enough because every number from $1$ to $24$ can appear exactly four times.



                    But if we add another basket, it is not possible anymore that all the numbers appear at most $4$ times because then, at most $96$ baskets would be possible.







                    share|cite|improve this answer












                    share|cite|improve this answer



                    share|cite|improve this answer










                    answered yesterday









                    PeterPeter

                    49.2k1240138




                    49.2k1240138





















                        3












                        $begingroup$

                        Why $96$ is not enought:



                        For every number $x$ between $1$ and $24$ you take $4$ baskets with $x$ apples inside. Then you have $4cdot 24 = 96$ baskets. By construction, there is no number such that $5$ baskets have this number of apples.



                        On the other hand if you have $97$ baskets and assume there are maximum $4$ baskets with the same number of apples. Then again the number of baskets is limited to $4cdot 24$ which is less than your number of baskets. So you have a contradiction. Hence, there is no configuration with max $4$ baskets with the same number of apples for $97$ baskets.






                        share|cite|improve this answer









                        $endgroup$

















                          3












                          $begingroup$

                          Why $96$ is not enought:



                          For every number $x$ between $1$ and $24$ you take $4$ baskets with $x$ apples inside. Then you have $4cdot 24 = 96$ baskets. By construction, there is no number such that $5$ baskets have this number of apples.



                          On the other hand if you have $97$ baskets and assume there are maximum $4$ baskets with the same number of apples. Then again the number of baskets is limited to $4cdot 24$ which is less than your number of baskets. So you have a contradiction. Hence, there is no configuration with max $4$ baskets with the same number of apples for $97$ baskets.






                          share|cite|improve this answer









                          $endgroup$















                            3












                            3








                            3





                            $begingroup$

                            Why $96$ is not enought:



                            For every number $x$ between $1$ and $24$ you take $4$ baskets with $x$ apples inside. Then you have $4cdot 24 = 96$ baskets. By construction, there is no number such that $5$ baskets have this number of apples.



                            On the other hand if you have $97$ baskets and assume there are maximum $4$ baskets with the same number of apples. Then again the number of baskets is limited to $4cdot 24$ which is less than your number of baskets. So you have a contradiction. Hence, there is no configuration with max $4$ baskets with the same number of apples for $97$ baskets.






                            share|cite|improve this answer









                            $endgroup$



                            Why $96$ is not enought:



                            For every number $x$ between $1$ and $24$ you take $4$ baskets with $x$ apples inside. Then you have $4cdot 24 = 96$ baskets. By construction, there is no number such that $5$ baskets have this number of apples.



                            On the other hand if you have $97$ baskets and assume there are maximum $4$ baskets with the same number of apples. Then again the number of baskets is limited to $4cdot 24$ which is less than your number of baskets. So you have a contradiction. Hence, there is no configuration with max $4$ baskets with the same number of apples for $97$ baskets.







                            share|cite|improve this answer












                            share|cite|improve this answer



                            share|cite|improve this answer










                            answered yesterday









                            Nathanael SkrepekNathanael Skrepek

                            1,8021615




                            1,8021615





















                                2












                                $begingroup$

                                Since a basket cannot contain more than $24$ apples, we consider a basket to be a collection of $24$ pigeonholes. Hence if we have $4$ baskets, there are altogether $24 times 4 = 96$ pigeonholes. Indeed $96$ pigeonholes can contain $96$ pigeons (apples). But if we have $97$ pigeons, by pigeonhole principle, at least one of the pigeonhole must have two pigeons, which is not allowed (the $4$ baskets are full, so we need an extra one). Hence $97$ is the answer.






                                share|cite|improve this answer









                                $endgroup$

















                                  2












                                  $begingroup$

                                  Since a basket cannot contain more than $24$ apples, we consider a basket to be a collection of $24$ pigeonholes. Hence if we have $4$ baskets, there are altogether $24 times 4 = 96$ pigeonholes. Indeed $96$ pigeonholes can contain $96$ pigeons (apples). But if we have $97$ pigeons, by pigeonhole principle, at least one of the pigeonhole must have two pigeons, which is not allowed (the $4$ baskets are full, so we need an extra one). Hence $97$ is the answer.






                                  share|cite|improve this answer









                                  $endgroup$















                                    2












                                    2








                                    2





                                    $begingroup$

                                    Since a basket cannot contain more than $24$ apples, we consider a basket to be a collection of $24$ pigeonholes. Hence if we have $4$ baskets, there are altogether $24 times 4 = 96$ pigeonholes. Indeed $96$ pigeonholes can contain $96$ pigeons (apples). But if we have $97$ pigeons, by pigeonhole principle, at least one of the pigeonhole must have two pigeons, which is not allowed (the $4$ baskets are full, so we need an extra one). Hence $97$ is the answer.






                                    share|cite|improve this answer









                                    $endgroup$



                                    Since a basket cannot contain more than $24$ apples, we consider a basket to be a collection of $24$ pigeonholes. Hence if we have $4$ baskets, there are altogether $24 times 4 = 96$ pigeonholes. Indeed $96$ pigeonholes can contain $96$ pigeons (apples). But if we have $97$ pigeons, by pigeonhole principle, at least one of the pigeonhole must have two pigeons, which is not allowed (the $4$ baskets are full, so we need an extra one). Hence $97$ is the answer.







                                    share|cite|improve this answer












                                    share|cite|improve this answer



                                    share|cite|improve this answer










                                    answered yesterday









                                    tonychow0929tonychow0929

                                    43137




                                    43137





















                                        2












                                        $begingroup$

                                        The number of apples in a basket is between 1 and 24. That's 24 different values.



                                        Suppose that in our collection of baskets, none of these numbers occurs at least five times.



                                        This means that in our collection of baskets each of these numbers occurs at most four times.



                                        But then we can have at most 24 times 4 baskets.



                                        Now, $24 times 4 = 96$. So if we have more than that number of baskets, that is if we have at least 97 baskets, then one of those numbers between 1 and 24 must occur at least five times, that is then we have at least five baskets with the same number of apples.






                                        share|cite|improve this answer











                                        $endgroup$












                                        • $begingroup$
                                          Please don't use $24 * 4 = 96$, it looks bad ... Use $24 times 4$ or $24 cdot 4$.
                                          $endgroup$
                                          – L. F.
                                          yesterday















                                        2












                                        $begingroup$

                                        The number of apples in a basket is between 1 and 24. That's 24 different values.



                                        Suppose that in our collection of baskets, none of these numbers occurs at least five times.



                                        This means that in our collection of baskets each of these numbers occurs at most four times.



                                        But then we can have at most 24 times 4 baskets.



                                        Now, $24 times 4 = 96$. So if we have more than that number of baskets, that is if we have at least 97 baskets, then one of those numbers between 1 and 24 must occur at least five times, that is then we have at least five baskets with the same number of apples.






                                        share|cite|improve this answer











                                        $endgroup$












                                        • $begingroup$
                                          Please don't use $24 * 4 = 96$, it looks bad ... Use $24 times 4$ or $24 cdot 4$.
                                          $endgroup$
                                          – L. F.
                                          yesterday













                                        2












                                        2








                                        2





                                        $begingroup$

                                        The number of apples in a basket is between 1 and 24. That's 24 different values.



                                        Suppose that in our collection of baskets, none of these numbers occurs at least five times.



                                        This means that in our collection of baskets each of these numbers occurs at most four times.



                                        But then we can have at most 24 times 4 baskets.



                                        Now, $24 times 4 = 96$. So if we have more than that number of baskets, that is if we have at least 97 baskets, then one of those numbers between 1 and 24 must occur at least five times, that is then we have at least five baskets with the same number of apples.






                                        share|cite|improve this answer











                                        $endgroup$



                                        The number of apples in a basket is between 1 and 24. That's 24 different values.



                                        Suppose that in our collection of baskets, none of these numbers occurs at least five times.



                                        This means that in our collection of baskets each of these numbers occurs at most four times.



                                        But then we can have at most 24 times 4 baskets.



                                        Now, $24 times 4 = 96$. So if we have more than that number of baskets, that is if we have at least 97 baskets, then one of those numbers between 1 and 24 must occur at least five times, that is then we have at least five baskets with the same number of apples.







                                        share|cite|improve this answer














                                        share|cite|improve this answer



                                        share|cite|improve this answer








                                        edited yesterday

























                                        answered yesterday









                                        jflippjflipp

                                        3,7811711




                                        3,7811711











                                        • $begingroup$
                                          Please don't use $24 * 4 = 96$, it looks bad ... Use $24 times 4$ or $24 cdot 4$.
                                          $endgroup$
                                          – L. F.
                                          yesterday
















                                        • $begingroup$
                                          Please don't use $24 * 4 = 96$, it looks bad ... Use $24 times 4$ or $24 cdot 4$.
                                          $endgroup$
                                          – L. F.
                                          yesterday















                                        $begingroup$
                                        Please don't use $24 * 4 = 96$, it looks bad ... Use $24 times 4$ or $24 cdot 4$.
                                        $endgroup$
                                        – L. F.
                                        yesterday




                                        $begingroup$
                                        Please don't use $24 * 4 = 96$, it looks bad ... Use $24 times 4$ or $24 cdot 4$.
                                        $endgroup$
                                        – L. F.
                                        yesterday

















                                        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%2f3187132%2fpigeon-hole-explanation%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

                                        Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

                                        Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                                        Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form