Dear Lopo Apelo Kosho,
> On 12 Oct 2019, at 13:17, lopo apelo kosho <helo...@yahoo.com> wrote: > > Dear friends, > I am writing a GAP code to check the following property: The join of any two > permutable subgroup is a PERMUTABLE subgroup. I have a code that gives all > permutable subgroups in a given group (PermutableSubgroups(g)). Here is my > code: > I think the problem is here: > > for i in[1..Size(n)] do > > for j in [i+1..n]do > The second loop seems to assume that n is a number, but it is in fact a list of subgroups. Maybe that should be Size(n)? Steve _______________________________________________ Forum mailing list Forum@gap-system.org https://mail.gap-system.org/mailman/listinfo/forum