Identifier
Identifier
Values
[2] generating graphics... => 2
[1,1] generating graphics... => 1
[3] generating graphics... => 3
[2,1] generating graphics... => 1
[1,1,1] generating graphics... => 2
[4] generating graphics... => 5
[3,1] generating graphics... => 2
[2,2] generating graphics... => 2
[2,1,1] generating graphics... => 2
[1,1,1,1] generating graphics... => 3
[5] generating graphics... => 7
[4,1] generating graphics... => 3
[3,2] generating graphics... => 4
[3,1,1] generating graphics... => 2
[2,2,1] generating graphics... => 3
[2,1,1,1] generating graphics... => 3
[1,1,1,1,1] generating graphics... => 4
[6] generating graphics... => 11
[5,1] generating graphics... => 5
[4,2] generating graphics... => 5
[4,1,1] generating graphics... => 5
[3,3] generating graphics... => 5
[3,2,1] generating graphics... => 2
[3,1,1,1] generating graphics... => 5
[2,2,2] generating graphics... => 5
[2,2,1,1] generating graphics... => 4
[2,1,1,1,1] generating graphics... => 5
[1,1,1,1,1,1] generating graphics... => 6
[7] generating graphics... => 15
[6,1] generating graphics... => 7
[5,2] generating graphics... => 7
[5,1,1] generating graphics... => 6
[4,3] generating graphics... => 6
[4,2,1] generating graphics... => 5
[4,1,1,1] generating graphics... => 4
[3,3,1] generating graphics... => 7
[3,2,2] generating graphics... => 7
[3,2,1,1] generating graphics... => 5
[3,1,1,1,1] generating graphics... => 5
[2,2,2,1] generating graphics... => 5
[2,2,1,1,1] generating graphics... => 5
[2,1,1,1,1,1] generating graphics... => 6
[1,1,1,1,1,1,1] generating graphics... => 8
[8] generating graphics... => 22
[7,1] generating graphics... => 11
[6,2] generating graphics... => 12
[6,1,1] generating graphics... => 9
[5,3] generating graphics... => 11
[5,2,1] generating graphics... => 5
[5,1,1,1] generating graphics... => 10
[4,4] generating graphics... => 9
[4,3,1] generating graphics... => 8
[4,2,2] generating graphics... => 8
[4,2,1,1] generating graphics... => 3
[4,1,1,1,1] generating graphics... => 8
[3,3,2] generating graphics... => 5
[3,3,1,1] generating graphics... => 6
[3,2,2,1] generating graphics... => 7
[3,2,1,1,1] generating graphics... => 5
[3,1,1,1,1,1] generating graphics... => 9
[2,2,2,2] generating graphics... => 8
[2,2,2,1,1] generating graphics... => 9
[2,2,1,1,1,1] generating graphics... => 8
[2,1,1,1,1,1,1] generating graphics... => 9
[1,1,1,1,1,1,1,1] generating graphics... => 12
[9] generating graphics... => 30
[8,1] generating graphics... => 15
[7,2] generating graphics... => 16
[7,1,1] generating graphics... => 13
[6,3] generating graphics... => 11
[6,2,1] generating graphics... => 10
[6,1,1,1] generating graphics... => 13
[5,4] generating graphics... => 12
[5,3,1] generating graphics... => 7
[5,2,2] generating graphics... => 9
[5,2,1,1] generating graphics... => 12
[5,1,1,1,1] generating graphics... => 6
[4,4,1] generating graphics... => 11
[4,3,2] generating graphics... => 10
[4,3,1,1] generating graphics... => 10
[4,2,2,1] generating graphics... => 9
[4,2,1,1,1] generating graphics... => 10
[4,1,1,1,1,1] generating graphics... => 12
[3,3,3] generating graphics... => 7
[3,3,2,1] generating graphics... => 11
[3,3,1,1,1] generating graphics... => 7
[3,2,2,2] generating graphics... => 12
[3,2,2,1,1] generating graphics... => 7
[3,2,1,1,1,1] generating graphics... => 13
[3,1,1,1,1,1,1] generating graphics... => 12
[2,2,2,2,1] generating graphics... => 11
[2,2,2,1,1,1] generating graphics... => 9
[2,2,1,1,1,1,1] generating graphics... => 11
[2,1,1,1,1,1,1,1] generating graphics... => 12
[1,1,1,1,1,1,1,1,1] generating graphics... => 16
[10] generating graphics... => 42
[9,1] generating graphics... => 22
[8,2] generating graphics... => 24
[8,1,1] generating graphics... => 17
[7,3] generating graphics... => 18
[7,2,1] generating graphics... => 11
[7,1,1,1] generating graphics... => 21
[6,4] generating graphics... => 19
[6,3,1] generating graphics... => 16
[6,2,2] generating graphics... => 17
[6,2,1,1] generating graphics... => 13
[6,1,1,1,1] generating graphics... => 16
[5,5] generating graphics... => 15
[5,4,1] generating graphics... => 11
[5,3,2] generating graphics... => 14
[5,3,1,1] generating graphics... => 9
[5,2,2,1] generating graphics... => 14
[5,2,1,1,1] generating graphics... => 6
[5,1,1,1,1,1] generating graphics... => 16
[4,4,2] generating graphics... => 16
[4,4,1,1] generating graphics... => 15
[4,3,3] generating graphics... => 14
[4,3,2,1] generating graphics... => 4
[4,3,1,1,1] generating graphics... => 13
[4,2,2,2] generating graphics... => 15
[4,2,2,1,1] generating graphics... => 10
[4,2,1,1,1,1] generating graphics... => 13
[4,1,1,1,1,1,1] generating graphics... => 13
[3,3,3,1] generating graphics... => 16
[3,3,2,2] generating graphics... => 15
[3,3,2,1,1] generating graphics... => 15
[3,3,1,1,1,1] generating graphics... => 14
[3,2,2,2,1] generating graphics... => 11
[3,2,2,1,1,1] generating graphics... => 17
[3,2,1,1,1,1,1] generating graphics... => 11
[3,1,1,1,1,1,1,1] generating graphics... => 16
[2,2,2,2,2] generating graphics... => 17
[2,2,2,2,1,1] generating graphics... => 16
[2,2,2,1,1,1,1] generating graphics... => 15
[2,2,1,1,1,1,1,1] generating graphics... => 15
[2,1,1,1,1,1,1,1,1] generating graphics... => 18
[1,1,1,1,1,1,1,1,1,1] generating graphics... => 22
[11] generating graphics... => 56
[10,1] generating graphics... => 30
[9,2] generating graphics... => 33
[9,1,1] generating graphics... => 24
[8,3] generating graphics... => 27
[8,2,1] generating graphics... => 19
[8,1,1,1] generating graphics... => 25
[7,4] generating graphics... => 33
[7,3,1] generating graphics... => 18
[7,2,2] generating graphics... => 24
[7,2,1,1] generating graphics... => 15
[7,1,1,1,1] generating graphics... => 23
[6,5] generating graphics... => 21
[6,4,1] generating graphics... => 20
[6,3,2] generating graphics... => 18
[6,3,1,1] generating graphics... => 13
[6,2,2,1] generating graphics... => 14
[6,2,1,1,1] generating graphics... => 19
[6,1,1,1,1,1] generating graphics... => 12
[5,5,1] generating graphics... => 22
[5,4,2] generating graphics... => 17
[5,4,1,1] generating graphics... => 24
[5,3,3] generating graphics... => 21
[5,3,2,1] generating graphics... => 20
[5,3,1,1,1] generating graphics... => 21
[5,2,2,2] generating graphics... => 16
[5,2,2,1,1] generating graphics... => 21
[5,2,1,1,1,1] generating graphics... => 22
[5,1,1,1,1,1,1] generating graphics... => 20
[4,4,3] generating graphics... => 22
[4,4,2,1] generating graphics... => 19
[4,4,1,1,1] generating graphics... => 15
[4,3,3,1] generating graphics... => 9
[4,3,2,2] generating graphics... => 19
[4,3,2,1,1] generating graphics... => 18
[4,3,1,1,1,1] generating graphics... => 14
[4,2,2,2,1] generating graphics... => 20
[4,2,2,1,1,1] generating graphics... => 14
[4,2,1,1,1,1,1] generating graphics... => 14
[4,1,1,1,1,1,1,1] generating graphics... => 21
[3,3,3,2] generating graphics... => 20
[3,3,3,1,1] generating graphics... => 20
[3,3,2,2,1] generating graphics... => 14
[3,3,2,1,1,1] generating graphics... => 18
[3,3,1,1,1,1,1] generating graphics... => 19
[3,2,2,2,2] generating graphics... => 22
[3,2,2,2,1,1] generating graphics... => 21
[3,2,2,1,1,1,1] generating graphics... => 17
[3,2,1,1,1,1,1,1] generating graphics... => 20
[3,1,1,1,1,1,1,1,1] generating graphics... => 22
[2,2,2,2,2,1] generating graphics... => 20
[2,2,2,2,1,1,1] generating graphics... => 25
[2,2,2,1,1,1,1,1] generating graphics... => 21
[2,2,1,1,1,1,1,1,1] generating graphics... => 21
[2,1,1,1,1,1,1,1,1,1] generating graphics... => 23
[1,1,1,1,1,1,1,1,1,1,1] generating graphics... => 29
[12] generating graphics... => 77
[11,1] generating graphics... => 42
[10,2] generating graphics... => 46
[10,1,1] generating graphics... => 34
[9,3] generating graphics... => 40
[9,2,1] generating graphics... => 22
[9,1,1,1] generating graphics... => 37
[8,4] generating graphics... => 36
[8,3,1] generating graphics... => 25
[8,2,2] generating graphics... => 33
[8,2,1,1] generating graphics... => 31
[8,1,1,1,1] generating graphics... => 31
[7,5] generating graphics... => 35
[7,4,1] generating graphics... => 19
[7,3,2] generating graphics... => 24
[7,3,1,1] generating graphics... => 29
[7,2,2,1] generating graphics... => 24
[7,2,1,1,1] generating graphics... => 20
[7,1,1,1,1,1] generating graphics... => 31
[6,6] generating graphics... => 29
[6,5,1] generating graphics... => 30
[6,4,2] generating graphics... => 17
[6,4,1,1] generating graphics... => 27
[6,3,3] generating graphics... => 24
[6,3,2,1] generating graphics... => 11
[6,3,1,1,1] generating graphics... => 20
[6,2,2,2] generating graphics... => 24
[6,2,2,1,1] generating graphics... => 19
[6,2,1,1,1,1] generating graphics... => 13
[6,1,1,1,1,1,1] generating graphics... => 26
[5,5,2] generating graphics... => 26
[5,5,1,1] generating graphics... => 26
[5,4,3] generating graphics... => 23
[5,4,2,1] generating graphics... => 22
[5,4,1,1,1] generating graphics... => 19
[5,3,3,1] generating graphics... => 27
[5,3,2,2] generating graphics... => 21
[5,3,2,1,1] generating graphics... => 12
[5,3,1,1,1,1] generating graphics... => 19
[5,2,2,2,1] generating graphics... => 20
[5,2,2,1,1,1] generating graphics... => 18
[5,2,1,1,1,1,1] generating graphics... => 20
[5,1,1,1,1,1,1,1] generating graphics... => 29
[4,4,4] generating graphics... => 30
[4,4,3,1] generating graphics... => 26
[4,4,2,2] generating graphics... => 13
[4,4,2,1,1] generating graphics... => 19
[4,4,1,1,1,1] generating graphics... => 20
[4,3,3,2] generating graphics... => 26
[4,3,3,1,1] generating graphics... => 25
[4,3,2,2,1] generating graphics... => 22
[4,3,2,1,1,1] generating graphics... => 11
[4,3,1,1,1,1,1] generating graphics... => 24
[4,2,2,2,2] generating graphics... => 25
[4,2,2,2,1,1] generating graphics... => 26
[4,2,2,1,1,1,1] generating graphics... => 25
[4,2,1,1,1,1,1,1] generating graphics... => 30
[4,1,1,1,1,1,1,1,1] generating graphics... => 30
[3,3,3,3] generating graphics... => 27
[3,3,3,2,1] generating graphics... => 23
[3,3,3,1,1,1] generating graphics... => 25
[3,3,2,2,2] generating graphics... => 23
[3,3,2,2,1,1] generating graphics... => 17
[3,3,2,1,1,1,1] generating graphics... => 22
[3,3,1,1,1,1,1,1] generating graphics... => 28
[3,2,2,2,2,1] generating graphics... => 31
[3,2,2,2,1,1,1] generating graphics... => 19
[3,2,2,1,1,1,1,1] generating graphics... => 24
[3,2,1,1,1,1,1,1,1] generating graphics... => 23
[3,1,1,1,1,1,1,1,1,1] generating graphics... => 30
[2,2,2,2,2,2] generating graphics... => 29
[2,2,2,2,2,1,1] generating graphics... => 31
[2,2,2,2,1,1,1,1] generating graphics... => 27
[2,2,2,1,1,1,1,1,1] generating graphics... => 30
[2,2,1,1,1,1,1,1,1,1] generating graphics... => 29
[2,1,1,1,1,1,1,1,1,1,1] generating graphics... => 32
[1,1,1,1,1,1,1,1,1,1,1,1] generating graphics... => 40
click to show generating function       
Description
The number of positive values of the symmetric group character corresponding to the partition.
For example, the character values of the irreducible representation $S^{(2,2)}$ are $2$ on the conjugacy classes $(4)$ and $(2,2)$, $0$ on the conjugacy classes $(3,1)$ and $(1,1,1,1)$, and $-1$ on the conjugacy class $(2,1,1)$. Therefore, the statistic on the partition $(2,2)$ is $2$.
References
[1] Miller, A. R. Note on parity and the irreducible characters of the symmetric group arXiv:1708.03267
Code
@cached_function
def table(n):
    s = SymmetricFunctions(ZZ).s()
    p = SymmetricFunctions(ZZ).p()
    res = dict()
    P = Partitions(n)
    r = P.cardinality()
    for mu in P:
        res[mu] = [0]*r
    for i, la in enumerate(P):
        for mu, v in s(p(la)):
            res[mu][i] = v
    return res

def statistic(la):
    t = table(la.size())
    return len([1 for e in t[la] if e > 0])

Created
Aug 11, 2017 at 23:10 by Martin Rubey
Updated
Aug 11, 2017 at 23:10 by Martin Rubey