Abstract. In this paper we will prove that the groups D p+1 (2) and D p+1 (3), where p is an odd prime number, are uniquely determined by their sets of order components. A main consequence of our result is the validity of Thompson's conjecture for the groups D p+1 (2) and D p+1 (3).