When px^3 – 2px^2 + 3x – p is divided by (x – 1), the remainder is -5. Find p.

that is:

f(1) = -5

p - 2p + 3 - p = -5
-2p = -8
p = 4