[GAP Forum] IsPNilpotent for nonsolvable groups
    Benjamin Sambale 
    BSambale at gmx.de
       
    Fri Feb  3 16:04:12 GMT 2012
    
    
  
Dear GAP users,
I got the following error message:
IsPNilpotent(GL(3,2),2);
Error, no method found! For debugging hints type ?Recovery from NoMethodFound
Error, no 3rd choice method found for `HallSubgroupOp' on 2 arguments
So, it seems that IsPNilpotent doesn't work for nonsolvable groups, since it relies on HallSubgroup. Wouldn't it be easier to use the following code?
IsPNilpotent:=function(G,p)
if AsGroup(Filtered(G,x->Order(x) mod p<>0))=fail then return false; else return true; fi;
end;
Best wishes,
Benjamin 
-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
    
    
More information about the Forum
mailing list