Identifier
Identifier
Values
[[1]] => 1
[[1],[1]] => 2
[[2]] => 2
[[1,1]] => 2
[[1],[1],[1]] => 3
[[2],[1]] => 3
[[1,1],[1]] => 3
[[3]] => 3
[[2,1]] => 3
[[1,1,1]] => 3
[[1],[1],[1],[1]] => 4
[[2],[1],[1]] => 4
[[2],[2]] => 4
[[1,1],[1],[1]] => 4
[[1,1],[1,1]] => 4
[[3],[1]] => 4
[[2,1],[1]] => 4
[[1,1,1],[1]] => 4
[[4]] => 4
[[3,1]] => 4
[[2,2]] => 4
[[2,1,1]] => 4
[[1,1,1,1]] => 4
[[1],[1],[1],[1],[1]] => 5
[[2],[1],[1],[1]] => 5
[[2],[2],[1]] => 5
[[1,1],[1],[1],[1]] => 5
[[1,1],[1,1],[1]] => 5
[[3],[1],[1]] => 5
[[3],[2]] => 5
[[2,1],[1],[1]] => 5
[[2,1],[2]] => 5
[[2,1],[1,1]] => 5
[[1,1,1],[1],[1]] => 5
[[1,1,1],[1,1]] => 5
[[4],[1]] => 5
[[3,1],[1]] => 5
[[2,2],[1]] => 5
[[2,1,1],[1]] => 5
[[1,1,1,1],[1]] => 5
[[5]] => 5
[[4,1]] => 5
[[3,2]] => 5
[[3,1,1]] => 5
[[2,2,1]] => 5
[[2,1,1,1]] => 5
[[1,1,1,1,1]] => 5
Description
The number of boxes of a plane partition.
Code
def statistic(P):
return sum(sum(L) for L in P)

Created
Jun 18, 2019 at 20:51 by Christian Stump
Updated
Jun 18, 2019 at 20:51 by Christian Stump