Consider we have some numbers for example $3,4,8$ that its mean is, $5$. It is easy to follow that, $$\left(3-4\right)^2+\left(4-8\right)^2+\left(3-8\right)^2 = 3\cdot\left( (3-5)^2+(4-5)^2+(8-5)^2 \right)$$. I thought and searched a lot for a proof but I didn't find anything. I would be appreciate if you can provide me a proof for this fact.
thank you