On Tuesday, February 21, 2017 at 10:21:53 AM UTC, Jeroen Demeyer wrote:
>
> Can somebody please provide some example "hello-world" GAP computation? 
> Just something which can be used to showcase the abilities of GAP but 
> which takes at most a few seconds to run. 
>
> I need this to make a "Demo" GAP notebook for OpenDreamKit. 
>

gap> G:=AlternatingGroup(6);
Alt( [ 1 .. 6 ] )
gap> a:=AutomorphismGroup(G);
<group with 4 generators>
gap> SylowSubgroup(a,2);
<group>
gap> s:=SylowSubgroup(a,2);
<group>
gap> Order(s);
32           
gap> IdGroup(s);
[ 32, 43 ]
gap> List(LowerCentralSeries(s), Order);
[ 32, 4, 2, 1 ]
 

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to