The condition for which the quadratic equation (p2−3p+2)x2+(p2−4)x+(p−1)=0 will have a graph which is a downward opening parabola is