7700=3p^2-100p