MHB Solve Pigeon Hole Theory Problems

  • Thread starter Thread starter JProgrammer
  • Start date Start date
  • Tags Tags
    Hole Theory
JProgrammer
Messages
20
Reaction score
0
So I need to use pigeon hole theory to solve these problems:

3. A man has 10 black socks, 11 brown socks and 12 blue socks in a drawer. He isn’t a morning person, so every morning he just reaches in and pulls out socks until he gets two that match.
a. Use the generalized pigeonhole principle to determine how many socks he has to pull out before he gets two of the same color.
b. How many must he pull out to be certain of getting a blue pair?

a. I am thinking that the pigeons are the colors and the pigeon holes are the number of socks that are pulled out. If that were the case, I believe the answer would be 5. But the number of each color of socks is not the same. So am I right about this or do I need to take into consideration the different amount of socks?

b. The most I could go with this problem is that since there are 33 socks total and 12 of those socks are blue, the pigeon hold theory would yield 3. My question is: where would I go from here?
 
Physics news on Phys.org
JProgrammer said:
So I need to use pigeon hole theory to solve these problems:

3. A man has 10 black socks, 11 brown socks and 12 blue socks in a drawer. He isn’t a morning person, so every morning he just reaches in and pulls out socks until he gets two that match.
a. Use the generalized pigeonhole principle to determine how many socks he has to pull out before he gets two of the same color.
b. How many must he pull out to be certain of getting a blue pair?

a. I am thinking that the pigeons are the colors and the pigeon holes are the number of socks that are pulled out. If that were the case, I believe the answer would be 5. But the number of each color of socks is not the same. So am I right about this or do I need to take into consideration the different amount of socks?

b. The most I could go with this problem is that since there are 33 socks total and 12 of those socks are blue, the pigeon hold theory would yield 3. My question is: where would I go from here?

Hey JProgrammer! ;)

a. We're talking about a bad day here.
Worst case scenario is that he pulls out a black sock, a brown sock, and a blue sock.
After that there is no choice anymore - he will pull out one of the colors he already has.
So that means that with 4 socks he will get a pair.
That is, the pidgeon hole theory says that if you pull 4 items when there are only 3 choices, you'll get at least 2 identical choices.

b. Same thing - a bad day.
He can pick 10 black socks and 11 brown socks before getting to blue socks.
And then he still has to pull 2 blue socks.
 
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Thread 'Detail of Diagonalization Lemma'
The following is more or less taken from page 6 of C. Smorynski's "Self-Reference and Modal Logic". (Springer, 1985) (I couldn't get raised brackets to indicate codification (Gödel numbering), so I use a box. The overline is assigning a name. The detail I would like clarification on is in the second step in the last line, where we have an m-overlined, and we substitute the expression for m. Are we saying that the name of a coded term is the same as the coded term? Thanks in advance.

Similar threads

Back
Top