Debian Codegraph @

examples/PqDescendants-3

raw
1 #Example: "PqDescendants-3" . . . based on manual example
2 #(demonstrates `PqDescendants' usage)
3 #We compute all capable descendants of order 25 which have
4 #exponent-5 class at most 3, exponent 5 and are metabelian.
5 #vars: F, procId, G, des;
6 #options:
7 F := FreeGroup( 2, "g" );
8 G := PcGroupFpGroup( F / [ F.1^5, F.2^5, Comm(F.2, F.1) ] );
9 #alt: do
10 #procId := PqStart( G );
11 #alt: sub <procId> for <G>
12 des := PqDescendants( G : Metabelian, ClassBound := 3,
13 Exponent := 5, CapableDescendants );
14 List(des, d -> Length( PCentralSeries( d, 5 ) ) - 1 );
15 List(des, d -> Length( DerivedSeries( d ) ) );
16 List(des, d -> Maximum( List( Elements(d), Order ) ) );