GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
#g1 3 0 1 0 -1 0 0 0 0 1 2^2 = 4 % order of the group