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 documented rationale why the House Ways and Means chairman can demand tax info?

How can players take actions together that are impossible otherwise?

Stars Make Stars

Can a zero nonce be safely used with AES-GCM if the key is random and never used again?

Cold is to Refrigerator as warm is to?

Why does tar appear to skip file contents when output file is /dev/null?

If A makes B more likely then B makes A more likely"

What to do with post with dry rot?

What is the largest species of polychaete?

Can a non-EU citizen traveling with me come with me through the EU passport line?

Statistical model of ligand substitution

How does modal jazz use chord progressions?

How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time

Strange behaviour of Check

What are the performance impacts of 'functional' Rust?

Fishing simulator

What is the electric potential inside a point charge?

Blender game recording at the wrong time

What do you call the holes in a flute?

What computer would be fastest for Mathematica Home Edition?

Problem when applying foreach loop

Who can trigger ship-wide alerts in Star Trek?

Is there folklore associating late breastfeeding with low intelligence and/or gullibility?

Can a monk deflect thrown melee weapons?



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 19 hours ago









      Peter

      49.2k1240138




      49.2k1240138










      asked 19 hours ago









      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.
                  18 hours ago











                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 19 hours ago









                    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 19 hours ago









                            Nathanael SkrepekNathanael Skrepek

                            1,7921615




                            1,7921615





















                                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 19 hours ago









                                    tonychow0929tonychow0929

                                    42137




                                    42137





















                                        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.
                                          18 hours ago















                                        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.
                                          18 hours ago













                                        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 5 hours ago

























                                        answered 19 hours ago









                                        jflippjflipp

                                        3,7711711




                                        3,7711711











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
















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















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




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

















                                        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







                                        -pigeonhole-principle

                                        Popular posts from this blog

                                        Frič See also Navigation menuinternal link

                                        Identify plant with long narrow paired leaves and reddish stems Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?What is this plant with long sharp leaves? Is it a weed?What is this 3ft high, stalky plant, with mid sized narrow leaves?What is this young shrub with opposite ovate, crenate leaves and reddish stems?What is this plant with large broad serrated leaves?Identify this upright branching weed with long leaves and reddish stemsPlease help me identify this bulbous plant with long, broad leaves and white flowersWhat is this small annual with narrow gray/green leaves and rust colored daisy-type flowers?What is this chilli plant?Does anyone know what type of chilli plant this is?Help identify this plant

                                        fontconfig warning: “/etc/fonts/fonts.conf”, line 100: unknown “element blank” The 2019 Stack Overflow Developer Survey Results Are In“tar: unrecognized option --warning” during 'apt-get install'How to fix Fontconfig errorHow do I figure out which font file is chosen for a system generic font alias?Why are some apt-get-installed fonts being ignored by fc-list, xfontsel, etc?Reload settings in /etc/fonts/conf.dTaking 30 seconds longer to boot after upgrade from jessie to stretchHow to match multiple font names with a single <match> element?Adding a custom font to fontconfigRemoving fonts from fontconfig <match> resultsBroken fonts after upgrading Firefox ESR to latest Firefox