Similar Items: Pfaff's problem and its generalizations