User:Bobkybetgo/sandbox

\Sum_{i=0}^\infty i*{(1-P)^2+P^2}^i*2P(1-P)