p^4+(4choose3)(p^4)(1-p)