3
$\begingroup$

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.

  • 1
    Thanks Jack Schmidt! This command solved the problem! Thank you very much.2011-01-20

1 Answers 1

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.

  • 1
    $\LARGE{+1}$ for my GAPy friend. :-)2013-05-03