[GAP Forum] A Question about For Loops
Robert Morse
rm43 at evansville.edu
Tue Feb 11 12:04:38 GMT 2014
Try
gennames:= Concatenation(List([1..5],
x->Concatenation("a",String(x))),
List([1..100],x->Concatenation("b",String(x))),
List([1..95],x->Concatenation("c",String(x))));
F := FreeGroup(gennames);
Robert
On Tue, Feb 11, 2014 at 12:53 PM, Minghui Liu <matliumh at gmail.com> wrote:
> Thanks Robert! What if I need to modify some subscript? Say I will define
> the first five generators as a1, a2, a3, a4, a5, then the next 100
> generators as b1, b2, ..., b100, then the last 95 as c1, ..., c95?
>
> Thank you!!
>
More information about the Forum
mailing list