$A$ is a set of integers and $\lvert A \rvert = 501$.
For any $a \in A$, $1 \le a \le 1000$.
Prove that there are integers $a,b \in A$, such that $a \vert b$. (a divides b)
The question doesn't specify it, but I assume that $a \neq b$.
(Hint: Note that every integer $x$ can be uniquely presented as $x = y · 2 ^k$ where $k > 0$ and $y$ is odd. Consider the function $x \to y$)
Can I get some help?