p^4 + 4 \cdot p^4(1-p) + 10 \cdot p^4(1-p)^2 + 20 \cdot p^3(1-p)^3 \cdot \frac{p^2}{1-2p(1-p)}