Ask Your Question

About SymmetricGroupRepresentation()

asked 2018-06-17 00:18:04 +0200

sleeve chen gravatar image

updated 2018-06-17 07:35:01 +0200

I am a new student in SAGE. I read the following discussion:
evaluation of character of symmetric group
and then also read the manual.

However, I am still confused about some fundamental problem:
(I cannot find these function in "Sage Reference Manual: Groups, Release 8.2". Are both new functions?).

  1. About

    SymmetricGroupRepresentation(partition, implementation='specht', ring=None, cache_matrices=True)

    I am confused about "partition". Suppose for $S_3$, and partition $=[2,1]$. What does it mean? (It seems $[1,2]$ is not valid)

  2. About

    spc = SymmetricGroupRepresentation([2,1], 'specht')

    When I use


    error pops out. However, as far as I know, $(1,2)$ is a valid permutation, which represent the matrix representation: $$\begin{bmatrix}0 & 1 & 0 \\ 1 & 0 & 0 \\ 0 & 0 & 1\end{bmatrix}$$

However, if I use 'orthogonal' instead of 'specht', the answer becomes

$$\begin{bmatrix}1 & 0 \\ 0 & 1\end{bmatrix}$$

But I test another permutation: $[1,2,3]$, the answer is the same. However, $[1,2]$ and $[1,2,3]$ are in the different conjugacy classes; they should not have the same character.

I cannot find "Permutation" in "Sage Reference Manual: Group". Where can I find this function?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-06-17 10:11:34 +0200

eric_g gravatar image

updated 2018-06-17 10:13:45 +0200

You may find answers to your questions by typing, in a Sage session,


as well as




In particular, you will see that the documentation returned by Partition? says: A partition p of a nonnegative integer n is a non-increasing list of positive integers (the parts of the partition) with total sum n

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2018-06-17 00:15:58 +0200

Seen: 473 times

Last updated: Jun 17 '18