p0+nk=1p1p2pk=p0+p11-p21+p2-p31+p3-pn1+pn,