[step:Place the first $N+1$ fractional parts into $N$ equal intervals]For each real number $x \in \mathbb{R}$, let $\lfloor x \rfloor \in \mathbb{Z}$ denote the greatest integer satisfying $\lfloor x \rfloor \leq x$, and define the fractional part map $\{\cdot\}: \mathbb{R} \to [0,1)$ by
\begin{align*}
\{x\} = x - \lfloor x \rfloor.
\end{align*}
For each integer $j \in \{0,1,\dots,N-1\}$, define the half-open interval
\begin{align*}
I_j := \left[\frac{j}{N},\frac{j+1}{N}\right) \subset [0,1).
\end{align*}
These $N$ intervals are pairwise disjoint and their union is $[0,1)$.
Now consider the $N+1$ [real numbers](/page/Real%20Numbers)
\begin{align*}
\{0\theta\},\{1\theta\},\dots,\{N\theta\} \in [0,1).
\end{align*}
Since $N+1$ objects are assigned to the $N$ intervals $I_0,\dots,I_{N-1}$, there exist integers $r,s \in \{0,1,\dots,N\}$ with $r < s$ and an index $j \in \{0,1,\dots,N-1\}$ such that
\begin{align*}
\{r\theta\},\{s\theta\} \in I_j.
\end{align*}
Because $I_j$ has length $1/N$, this gives
\begin{align*}
|\{s\theta\}-\{r\theta\}| < \frac{1}{N}.
\end{align*}[/step]