The complete set of values of k, for which the quadratic equation x2−kx+k+2=0 has equal roots, consists of