π(x)=x-1-pjxxpj+r2(-1)rpj1<pj2<<pjrxxpj1pj2pjr,