test if a permutation is in a given group
the permutation to test
the permutation group
Important: The group package has been deprecated. Use the superseding commands in (membership in a set or list) or member (membership in a data structure, function or module) instead.
The function returns true or false, indicating whether perm is in pg.
The command with(group,groupmember) allows the use of the abbreviated form of this command.
pg ≔ permgroup⁡7,1,2,3,3,4,5,6,7:
Download Help Document