Specifically, I want to compute the set of values of $|G:\text{ker}(\chi)|/\chi(1)$ for all the characters of a p-group, for a lot of p-groups. I don't know how to use either program, so before I invest in learning it, I'm wondering about the pros and cons of GAP and MAGMA (when compared to each other).



Which is better for creating tables of group theory info, GAP or MAGMA?
The corresponding Magma function (using the same name as Stefan) is



```
CharacterKernelIndicesDividedByValueAtOne := function ( G )
  return [Index(G,Kernel(c))/Degree(c) : c in CharacterTable(G) ];
end function;

```

Both the GAP and Magma versions returned the answer almost instantly on SmallGroup(3^6,300). The Magma version was slightly faster on a group of order $2^{15}$.


