Can anyone tell me whether or not it is possible to input the following 2-group into GAP? The question is the order of element $a$ is $2^m$, where $m$ could be any integer $\geq 2$. For example, I input $a*b*a$, then the system returns $b*a^{2+2^{m-1}}$.
$G_1$=$\langle a,b$ $|a^{2^m}$=$b^{2^n}$=$1,\ b^{-1}ab=a^{1+{2^{m-1}}}\rangle$.
Thanks in advance!
You can't have a "generic" group where
mis a symbolic variable, if that's what you mean. OTOH, you can assign a value tomand then have a relator of the forma^m, and even write a GAP function which will take an integer argumentmand return the group given by the presentation above for a particularm.In your example, this may work as follows:
Most likely, you may want then to convert this group into a polycyclic group that uses the polycyclic presentation for element arithmetic. For 2-groups, GAP would operate with pc groups work much much faster than with fp groups. For example, compare
with
where the last calculation is about 15 times faster.
P.S. Just rewriting my former comments with some more details to remove this from the unanswered queue.