Consider a Vandermonde matrix $$V = \begin{bmatrix} 1 & x_1 & x_1^2 & \cdots & x_1^{n-1} \\ 1 & x_2 & x_2^2 & \cdots & x_2^{n-1} \\ & & \vdots \\ 1 & x_n & x_n^2 & \cdots & x_n^{n-1} \end{bmatrix}$$ It is a simple exercise to prove that if the rank of the Vandermonde is $< n$, then the determinant is $0$ and not all of the $x_i$ can be distinct. But is the following more fine-grained statement true?
Question: If a Vandermonde matrix has rank $k$, then does the set $\{ x_1,\cdots,x_n \}$ contain exactly $k$ distinct elements?