TITLE: Existence Problem of pigeonhole, selecting among a set of 50 numbers.
QUESTION [6 upvotes]: I have, a Problem related to the box (pigeonhole) principle. Let me show you the statement:

Prove that any given 50 positive integers, it is always possible to select out 4 numbers $a_{1}$, $a_{2}$, $a_{3}$, $a_{4}$ from them, such that $(a_{2} - a_{1}) \cdot ( a_{4} - a_{3} )$ is divisible by 2009.

To be honest, I'm kind of clueless in how to start to attack this problem, because, I'd usually start with "getting my hands dirty" and checking some cases to try to find a patter and the use box principle. But in this case the set of numbers is too big and to check even a single case would spend many many time, so it's obviously not the way to go.
There is though, a pretty similar problem of selecting 51 arbitrarily chosen number of a set from 100 numbers but again, the solution it's based on looking the fact that any single number can be rewritten as $2^{q} \cdot m$ ...
So, I believe the solution is just based on looking at a clever "pigeonhole" like in the above problem.
Would please anyone of you give me a hint? I don't really want a complete solution, just, a hint.
Thanks y'all for your time (:

REPLY [3 votes]: Denote $r_i$ the remainder of the Euclidean division of $a_i$ by $49$. How many different values $r_i$ can take? How many $r_i$ are there? What can you conclude with the pigeonhole principle? Deduce that you can find $a_i$ and $a_j$ such that $49$ divides $a_j-a_i$ (or equivalently the remainder of $a_j-a_i$ by $49$ is $0$).
Why $49$? Because $2009=49\times41$.