The sum of p consecutive positive integers is 45. What is the value of p?
(1) p is even. (2) p<9.
Find the values of p for which the quadratic equation (p+1)x2−6(p+1)x+3(p+9)=0,p≠−1 has equal roots. Hence, find the roots of the equation.