Let us take a list/vector x and another one y, both of them composed of non-negative integers; e.g., x=[0,3,2] and y=[1,2,3]. And their size is equal; i.e., |x|=|y|.
Is the following statement true?
Given, non-negative x and y, where |x|=|y|: if mean of x and mean of y are the same (i.e., $\overline{x}=\overline{y}$) and their standard deviations are the same (i.e., $\sigma(x)=\sigma(y)$), then x=y.
I cannot find anything about this, but it sounds perfectly fine to me.
In other words, my question is: can there be x and y such that $x \neq y$, but $\overline{x}=\overline{y}$ and $\sigma(x)=\sigma(y)$? That is: is there a counter-example to my statement?
If not (this is what I think), how can I prove it? I guess there is simple proof, but I am not used to do this kind of reasonings.
I want the proof simple, so as I can try to encode it in a theorem prover.
Counterexample: $$x=[0,5,5,10], y=[1,2,8,9]$$ $$\sum (x_i^2-\overline x) = \sum (y_i^2-\overline y)=50$$