I am solving the exercise from "Linear Algebra" by Georgi E. Shilov. The question asks to prove the following:
\begin{align*} \begin{vmatrix} 1 & 1 & \cdots & 1 \\ x_1 & x_2 & \cdots & x_n \\ x_1^2 & x_2^2 & \cdots & x_n^2 \\ \vdots & \vdots & \ddots &\vdots \\ x_1^{n-2} & x_2^{n-2} & \cdots & x_n^{n-2}\\ x_1^{n} & x_2^{n} & \cdots & x_n^{n}\\ \end{vmatrix} = \begin{vmatrix} 1 & 1 & \cdots & 1 \\ x_1 & x_2 & \cdots & x_n \\ x_1^2 & x_2^2 & \cdots & x_n^2 \\ \vdots & \vdots & \ddots &\vdots \\ x_1^{n-2} & x_2^{n-2} & \cdots & x_n^{n-2}\\ x_1^{n-1} & x_2^{n-2} & \cdots & x_n^{n-1}\\ \end{vmatrix} \times \sum_{k=1}^{n}{x_k} \end{align*}
Initially I thought this was a Vandermonde Determinant, but the power of the second last row is $(n - 2)$ after which we skip $(n - 1)$ and go to $n$.
Second, I don't understand the pattern of the last row of the RHS. Is it alternating $(n - 1)$'s and $(n - 2)$'s?
Hence, not sure how to solve this one. Any help would be appreciated.