Can someone help me with this question? I'm having trouble solving this problem. I don't know where start.
Let $S$ be a set of integers with the following properties:
Every element of $S$ is between $1$ and $2014$ (inclusive).
$S$ has at least $1008$ elements.
Use the Pigeonhole Principle to show that $S$ contains two numbers whose sum is exactly $2015$.
Set $S$ has $1008$ integer elements in the range $[1,2014]$. Take $S' = \{2015-s \mid s \in S\}$. This set $S'$ also has $1008$ elements. If we we look at $S \cap S'$, this intersection must be nonempty (why? $^{\mathrm{[1]}}$). Take some $x \in (S \cap S')$. For this $x$ there is the element $(2015-x) \in S$. These values $x$ and $(2015-x)$ are two elements of $S$ that sum to $2015$.
Footnotes: