How could compute the centralizers by GAP?

704 Views Asked by At

Let $G$ be a finite group. How could we obtain all conjugacy classes of element centralizers of $G$ by GAP?

(By the centralizer of an element $g$ in $G$, I mean the subgroup $C_G(g):=\{x\in G | xg=gx \}$ of $G$ and by the conjugacy class of $C_G(g)$ I mean the set $\{x^{-1}C_G(g)x | x\in G\}$).

Thank you so much!

1

There are 1 best solutions below

2
On BEST ANSWER

If you compute ConjugacyClasses you get a list of classes, each having a Representative and a Centralizer, these centralizers are (with duplicates if two classes have the same centralizer, e.g. Galois-conjugate elements) the different possible centralizers in $G$:

List(ConjugacyClasses(G),Centralizer);