> < ^ Date: Wed, 28 Mar 2001 11:10:33 +0200
> < ^ From: Stefan Kohl <kohl@mathematik.uni-stuttgart.de >
> < ^ Subject: Re: intrinsic properties of groups

Dear gap-forum,

Igor Schein wrote:

I'm far from being sophisticated in group theory and GAP, so please
bear with me. In GAP 4.x I can access database of groups by using
function SmallGroup, e.g. SmallGroup(32,1). What I need is to
find out the number of quadratic residues for, say, the group above.
Is it possible for arbitrary SmallGroup(n,k) as long as the group is
in the database? Going further, I would like to construct a
multiplication table for SmallGroup(32,k). Is it possible in GAP?

You can get the number of quadratic residues in the group G
by using the function

NumQuadRes := G -> Length(Set(List(AsList(G),g->g^2)));

You can get a multiplication table of the group G by


Hope this helps,


Miles-Receive-Header: reply

> < [top]