If a,b are the roots of the equation (p2+p+1)x2+(p−1)x+p2=0 such that unity lies between the roots then the set of values of p is
Number of different values of p for which the equation x2−2(p+q)x+(q2+2qp)=0 has integral roots is (p,qϵN,pϵ[5,10])