On a combinatorial problem in group theory