21 integers are selected from {1, 2, 3, ..., 400}. Prove that two of them, say x and y, satisfy 0 < |$\sqrt{x} - \sqrt{y}$| < 1.
I am confident you have to use and apply the Pigeon Hole Principle. From what I gathered, there are 400 numbers in the set and $\sqrt{400} = 20$. The minimal difference is obtained by looking at consecutive integers. I don't know where to go from here.
Divide the 400 integers into 20 groups $g_1\ldots g_{20}$, where $n\in g_i$ if $i\le\sqrt n\lt i+1$. That is: $$\begin{align} g_1 & = \{\mathbf{1}, 2, 3\} \\ g_2 & = \{\mathbf{4}, 5, 6, 7, 8\} \\ g_3 & = \{\mathbf{9}, 10, \ldots, 15\} \\ & \;\vdots \\ g_{19} & = \{\mathbf{361}, 362, \ldots, 399\} \\ g_{20} & = \{\mathbf{400}\} \end{align} $$
Of the 21 pigeons, two must be in the same group $g_i$.