Given $k\in\mathbb{N}^+$ and $P = \{p : p \in [0, 1]^k \wedge \sum_{i=1}^k p_i = 1 \}$, we choose a random element $q$ of $P$. What is the probability distribution of $S = \sum_{i=1}^k q_i^2$?
I have made some plots with synthetic examples and all I have figured out is that the mean seems to be something similar to $1/k$ (although I could be wrong) and the kurtosis appears to decrease with $k$.