x^2-p^2+2p-1=0