## Working with group rings in Sage

Let $\Z[\Z/n]$ denote the integral group ring of the cyclic group $\Z/n$. How would you create $\Z[\Z/n]$ in Sage so that you could easily multiply elements? First, if you’ve already assigned a group to the variable ‘A’, then

1 |
R = GroupAlgebra(A,ZZ) |

will give you the corresponding group ring and store it in the variable ‘R’. The first […]