Hi Simon, You can use CodePcGroup and PcGroupCode, see example below.
Hope this helps Alexander gap> g:=SmallGroup(243,13); <pc group of size 243 with 5 generators> gap> c:=CodePcGroup(g); 1003339825 gap> H:=PcGroupCode(c,243); <pc group of size 243 with 5 generators> gap> IdGroup(H); [ 243, 13 ] -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.