I am new to Sagemath, so apologies if this is trivial.
Is there any command to calculate the p-part of any group ? (finite/infinite, abelian/non-abelian). In particular, I am interested in the p-part of the class group. I found the command "sylow_subgroup" but doesn't seem to work. If I have K=CyclotomicField(3) for example and type G=K.class_group and C.sylow_subgroup(5), then I get an error.
Is there an easy way to get around this, or am I doing something wrong?
Some groups in Sage have
sylow_subgroupimplemented, but not all.You can try converting to the gap implementation and investigate that instead:
According to Sage, this group has order 1, so it's not going to have very many interesting Sylow subgroups: