Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
663 views

How does Sage order the elements of the symmetric group?

In Sage, the symmetric group is a list. For instance if G = SymmetricGroup(3), we have \begin{align*} G[0] & = e \\ G[1] & = (1,3,2)\\ G[2] & = (1,2,3) \\ G[3] &= (2,3)\\ G[4] &= (...
Dan1618's user avatar
  • 197
1 vote
0 answers
206 views

Units in group rings in SAGE

Is there a recorded/known SAGE code to compute units in integral group rings for finite abelian groups ? I would be happy with a code that only works for cyclic groups. I sort of know how to ...
Maxime Ramzi's user avatar
  • 15.9k
4 votes
0 answers
260 views

Indexed character tables for wreath products in Sage and GAP

I am trying to obtain character table for the Hyperoctahedral group $\mathcal{H}_n$ in Sage using GAP. This group arises as the wreath product $\mathcal{C}_2 \wr \mathcal{S}_n$, so of course I can ...
Josh's user avatar
  • 41
5 votes
0 answers
185 views

normal form for some finite groups, extending the small groups library

I am in need of a normal (that is, canonical) form for (some) finite groups, computable with - for example - gap or sage or any other freely available package. The goal is to make finite groups ...
Martin Rubey's user avatar
  • 5,822
1 vote
1 answer
295 views

How to return elements of a given length in a symmetric group using Sage?

Let $S_n$ be the symmetric group over $\{1,2,\ldots,n\}$. How to return elements of length $m$ in $S_n$ using Sage? I try to find such function in Sage but didn't find one. Thank you very much. Edit: ...
Jianrong Li's user avatar
  • 6,211