# Prove that at a party with at least two people, there are two people who know the same number of people…

Okay, now, I really want to solve this on my own, and I believe I have the basic idea, I'm just not sure how to put it as an answer on the homework. The problem in full:

"Prove that at a party with at least two people, that there are two people who know the same number of people there (not necessarily the same people - just the same number) given that every person at the party knows at least one person. Also, note that nobody can be his or her own friend. You can solve this with a tricky use of the Pigeonhole Principle."

First of all, I'm treating the concept of "knowing" as A can know B, but B doesn't necessary know A. e.g. If Tom Cruise walks into a party, I "know" him, but he doesn't know me.

So what I did first was proved it to myself using examples of a party with 2 people, 3 people, 4 people, and so on. Indeed, under any condition, there is always at least a pair of people who know the same number of people.

So if we define $n$ as the number of party goers, then we can see that this is true under any circumstance if we assume that the first person knows the maximum number of people possible, which is $(n-1)$ (as a person can't be friends with himself). Then since we're not interested in a case where the second person knows the same number of people (otherwise there's nothing to prove), we want the second person to know one less than than the first, or $(n-2)$, and so on.

Eventually we reach a contradiction where the last person knows $(n-n)$, or 0. Since 0 is not a possible value as defined by the problem, that last person must know any number of people from 1 to $(n-1)$, which equals the number of people that at least one other person knows.

Now...I hope that this is the "right idea." But how can I turn this "general understanding" into an answer for a problem that begins with the word "prove?"

Let me note that we only very briefly touched on the concepts of induction and the pigeonhole principle, and did not go into any examples of how to formally "prove" anything with the pigeonhole principle. We did touch on proving the sum of numbers by induction, but that's all as far as induction goes.

Also: Combinatorics question: Prove 2 people at a party know the same amount of people does not really work for me, because

A) we've not talked about "combinatorics", and

B) that question allows for someone to know 0 people.

-
If knowing 0 people is ruled out, and knowing oneself is ruled out, then with $n$ people there are only $n-1$ possible numbers of people one can know: one could know 1 other person, 2, other people, …, or all $n-1$ other people. Since there are $n$ people and only $n-1$ different numbers of people they could know, two of them must know the same number of people. This is exactly the pigeonhole principle. – MJD Jul 17 '13 at 3:00
If you know someone do they necessarily know you? – frogeyedpeas Jul 17 '13 at 3:04
@MJD Right, exactly, that's basically the short version of what I wrote above. But does this explanation equal a "proof" as the question asks for? If so then that's fine by me! I just felt like there was probably a more formal way to write it :) – CptSupermrkt Jul 17 '13 at 3:09
@frogeyedpeas Nope not necessarily. A knows B but B doesn't necessarily know A. – CptSupermrkt Jul 17 '13 at 3:09
Firstly, +1 for a well-written question that shows your effort. Secondly, the first comment above, by MJD, is a perfectly valid proof. Note one subtle difference between yours and his: you assume that the first person knows $n-1$ people, the second one knows $n-2$ etc., which is hard to justify without some more effort. In the slick way, you just let the number of people known by the first person, second, etc be anything, and just invoke the pigeonhole principle to say you have $n$ numbers taking values in $1$ to $n-1$, so some two must coincide. Anyway this is surely what your teacher wanted. – ShreevatsaR Jul 17 '13 at 3:30

Let $n$ be the number of party-goers. The maximum number of people a person can know is $n-1$ and the minimum number he/she can know is 1 (by assumption), giving us $n-1$ possibilities for the number of people someone can know. Every single person must be assigned one of these $n-1$ possible numbers but since there are $n$ party-goers one of these numbers must be used twice due to the pigeonhole principle i.e. two party-goers know the same number of people.