Problem

Source:

Tags: rational numbers



Let $S=\{x_0, x_1, \cdots, x_n\} \subset [0,1]$ be a finite set of real numbers with $x_{0}=0$ and $x_{1}=1$, such that every distance between pairs of elements occurs at least twice, except for the distance $1$. Prove that all of the $x_i$ are rational.