solve px^2+2 = y^2 over integers