\[\frac{(2p + 1)^{2} - 3p + 2}{p} =\]
\[= \frac{4p^{2} + 4p + 1 - 3p + 2}{p} =\]
\[= \frac{4p^{2} + p + 3}{p} = \frac{4p^{2}}{p} + \frac{p}{p} + \frac{3}{p} =\]
\[= 4p + 1 + \frac{3}{p};\]
\[p = 1;p = 3.\]
\[Ответ:при\ p = 1;p = 3.\]