In a simple graph with $2000$ vertices without any vertex with $\deg(a)=0$, we have exactly two vertices which have the same degree. What is the degree of these two?
I think I should use pigeon hole principle because we have two elements with the same property. But I don,t know how. Can someone guide me to solve this please?
My attempt:
The graph vertices can have degrees $0$ to $n-1$. But we can't have both $0$ degree and $n-1$ degree in the same graph. So for any vertex $a$, $\deg(a)$ is either in $\{1,2,\dots,1999\}$ or $\{0,1,\dots,1998\}$. We don’t have any vertex with degree $0$. So for any vertex $a$,degree $a$ is in $\{1,2,\dots,1999\}$. Handshake theorem states that sum of all the degrees of vertices is $2m$. So we can say $1+2+\dots+1999+x=2m$ where $x$ is the degree shared by two different vertices (By pigeon hole principle, such $x$ exists). But we don’t know $m$. So... Now what?
Some intuition: