I usually find the hypercenter of a finite group by the command
Hypercenter:=Union(UpperCentralSeries(g));
Its look odd, since I take the union of all the $i$th center of $g$ and "Hypercenter" is treated as a set and not as a subgroup. Is there any other way to find the hypercentral of a finite group?
Thanks for any help?
Try