3

I'm always needing to learn more about GAP. Can anyone help me on the following question? Question: I have a list of 500 sublists where each sublist consists of six groups. Is there a command to display or renumber only those sublists with trivial intersection? Is there a function in GAP can solve this?

This questioning arose when I studied a problem on coverage of finite groups.

Olexandr Konovalov
  • 7,002
  • 2
  • 34
  • 72

1 Answers1

5

This question is in fact answered in the comment by Jack Schmidt (thanks!):

coreFreeList := Filtered( list, sublist -> IsTrivial( Intersection( sublist ) ) );;

so I'm just answering it formally to prevent it from appearing in the list of unanswered questions.

Olexandr Konovalov
  • 7,002
  • 2
  • 34
  • 72