I am examining properties of mass moments of probability densities:
$$ m_{i}\equiv\int_{-\infty}^{\infty}x^{i}f\left(x\right)dx $$
Define a $\,n\times n\,$ covariance of the first $\,n\,$ moments:
$$ M_{ij}\equiv\int_{-\infty}^{\infty}f\left(x\right)\left(x^{i}-m_{i}\right)\left(x^{j}-m_{j}\right)dx=m_{i+j}-m_{i}m_{j} $$ where $1\leq i\leq n$ and $1\leq j\leq n$
I suspect but have failed to prove that:
$$ \left|M_{n\times n}\right|=0\iff\left\{ \begin{array}{c} f\left(x\right)=\frac{1}{r}\sum_{j=1}^{r}\delta\left(x-x_{j}\right)\\ r\leq n\end{array}\right\} $$
In other words if $M$ is $n\times n$ and its Determinant is $0$, then $f(x)$ is a set of $n$ or fewer spikes.
If $f(x)$ has more than $n$ spikes or has any continuous portion then $|M|>0$ for all $n$.
It's easy enough to demonstrate for chosen values of $r$ that $|M|=0$ ; the Mathematica code below does that. But I need a proof that if $\,|M|=0$ , then $\,f(x)\,$ consists of $\,r\,$ spikes, where $\,r\le n$ .
(*Demonstrate that for any n, Det[M]==0 if r==n, Det[M]>0 if r>n *)
n = 4;
M = Table[m[i + j] - m[i]*m[j], {i, 1, n}, {j, 1, n}];
Print[n, "-particle Det = ", Det[M] /. m[q_] -> (Sum[x[i]^q, {i, 1, n}]/n) // Simplify];
Print[n + 1, "-particle Det = ", Det[M] /. m[q_] -> (Sum[x[i]^q, {i, 1, n + 1}]/(n + 1)) // Simplify];