Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Iterating over a finite group ring

I'd like to iterate over a group ring $kG$ for small finite $|k|$ and $|G|$ or make a list of its elements so I can run my algorithm on them. (Say A = GroupAlgebra(DihedralGroup(3), GF(2)).) However, attempting to use for i in A or list(A) throws ValueError: variable name '0' does not start with a letter.

How can one circumvent this?

click to hide/show revision 2
retagged

Iterating over a finite group ring

I'd like to iterate over a group ring $kG$ for small finite $|k|$ and $|G|$ or make a list of its elements so I can run my algorithm on them. (Say A = GroupAlgebra(DihedralGroup(3), GF(2)).) However, attempting to use for i in A or list(A) throws ValueError: variable name '0' does not start with a letter.

How can one circumvent this?