The source of the problem: https://courses.csail.mit.edu/6.042/spring18/mcs.pdf
The problem:
Suppose $2n + 1$ numbers are selected from $\{1,\ldots,4n\}$. Using the Pigeonhole Principle, show that for any positive integer $j$ that divides $2n$, there must be two selected numbers whose difference is $j$.
My Attempt at a Solution
Let the pigeons be the $2n+1$ numbers, and the holes be the equivalence classes of $\bmod j$. $j \mid 2n \Rightarrow j \leq 2n$, so by Pigeonhole principle there is at least one equivalence class with at least 2 integers. This means there are two integers, $x, y$ in the same equivalence $\bmod j$, so $x \equiv y \pmod {j} \Rightarrow j \mid x - y$.
Now here is where I am stuck. I don't know how I can show that there difference is exactly $j$. So far, I've only shown that there must be 2 selected numbers whose difference is a multiple of $j$. I'm thinking I might want to reuse the Pigeonhole principle, but I am not sure what I would use for pigeons and holes again.
If $j$ divides $2n$ then let $k=\frac{2n}{j}$
Each of the $j$ equivalence classes $\bmod j$ partitioning $\{1,2,\ldots, 4n\}$ has $\frac{4n}{j}=2k$ holes.
At least one of theses equivalence classes must have at least $k+1$ pigeons as $jk =2n < 2n+1$.
$k+1$ pigeons and $k$ gaps between them would need at least $2k+1$ holes so, with only $2k$ holes, two of the pigeons must be in "adjacent" holes in their equivalence class, meaning they differ by exactly $j$