CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

| Download

GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it

Views: 418384
gap> START_TEST("HAP library");
gap> K:=PureCubicalKnot(3,1);
prime knot 1 with 3 crossings

gap> G:=WirtingerGroup(K);
<fp group on the generators [ f1, f2, f3 ]>
gap> S:=SimplifiedFpGroup(G);
<fp group of size infinity on the generators [ f2, f3 ]>
gap> RelatorsOfFpGroup(S);
[ f2*f3*f2^-1*f3^-1*f2^-1*f3 ]
gap> STOP_TEST( "tst.tst", 1000 );