\[p_{1}+p_{2}+\dots+p_{n}=1,\]