Skip to content

Commit

Permalink
Tell Sylow subgroups of natural An or Sn their size when we make them
Browse files Browse the repository at this point in the history
  • Loading branch information
stevelinton committed Jan 24, 2016
1 parent f53dab9 commit 01e166b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lib/gpprmsya.gi
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ function ( G, p )

# make the Sylow subgroup
S := SubgroupNC( G, sgs );
SetSize(S,p^Length(sgs));


# add the stabilizer chain
#MakeStabChainStrongGenerators( S, Reversed([1..G.degree]), sgs );
Expand Down Expand Up @@ -1569,8 +1571,10 @@ local S, # <p>-Sylow subgroup of <G>, result
od;

# make the Sylow subgroup
S := Subgroup( G , sgs );

S := SubgroupNC( G , sgs );
SetSize(S,p^Length(sgs));


if Size( S ) > 1 then
SetIsPGroup( S, true );
SetPrimePGroup( S, p );
Expand Down

0 comments on commit 01e166b

Please sign in to comment.