Problem: Prove that if 53 points are chosen from a $13\times 13$ grid then there will necessarily exist a rectangle whose vertices are among the 53 points chosen.
My try: I am guessing we have to use Pigeonhole principle. I have observed that at least one of the 13 rows will contain at least 5 lattice points. But I can't proceed further.
Also, I observed that it's enough to prove that the number of non rectangle quadrilaterals is less than $\dbinom {53}{4}$. But it turns out that this is not true.
So please help.
Let's count, chosen one column, how many different pairs of points we can have in that column: this is $ {13 \choose 2}=78.$ Call $a_i$ the number of points that appear in one column, we have that $$a_1+a_2+...+a_{13}=53.$$ In the column $i$ there are $a_i \choose 2$ different column-pairs of points, if we prove that $${a_1 \choose 2}+{a_2 \choose 2}+...+{a_{13} \choose 2}>78$$ we are done. Now $${a_1 \choose 2}+{a_2 \choose 2}+...+{a_{13} \choose 2}=\frac{a_1^2+...+a_{13}^2-53}{2}.$$ But we have also that $$ \frac{a_1^2+...+a_{13}^2}{13}\ge\frac{(a_1+...+a_{13})^2}{13^2}=\frac{53^2}{13^2}$$ hence $a_1^2+...+a_{13}^2\ge216$ and so $${a_1 \choose 2}+{a_2 \choose 2}+...+{a_{13} \choose 2}\ge81>78.$$