Your data matches 3 different statistics following compositions of up to 3 maps.
(click to perform a complete search on your data)
St000862: Permutations ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1] => 1
[1,2] => 1
[2,1] => 1
[1,2,3] => 1
[1,3,2] => 2
[2,1,3] => 1
[2,3,1] => 1
[3,1,2] => 2
[3,2,1] => 1
[1,2,3,4] => 1
[1,2,4,3] => 2
[1,3,2,4] => 2
[1,3,4,2] => 2
[1,4,2,3] => 2
[1,4,3,2] => 2
[2,1,3,4] => 1
[2,1,4,3] => 2
[2,3,1,4] => 1
[2,3,4,1] => 1
[2,4,1,3] => 2
[2,4,3,1] => 2
[3,1,2,4] => 2
[3,1,4,2] => 2
[3,2,1,4] => 1
[3,2,4,1] => 1
[3,4,1,2] => 2
[3,4,2,1] => 1
[4,1,2,3] => 2
[4,1,3,2] => 2
[4,2,1,3] => 2
[4,2,3,1] => 2
[4,3,1,2] => 2
[4,3,2,1] => 1
[1,2,3,4,5] => 1
[1,2,3,5,4] => 2
[1,2,4,3,5] => 2
[1,2,4,5,3] => 2
[1,2,5,3,4] => 2
[1,2,5,4,3] => 2
[1,3,2,4,5] => 2
[1,3,2,5,4] => 2
[1,3,4,2,5] => 2
[1,3,4,5,2] => 2
[1,3,5,2,4] => 2
[1,3,5,4,2] => 2
[1,4,2,3,5] => 2
[1,4,2,5,3] => 2
[1,4,3,2,5] => 2
[1,4,3,5,2] => 2
[1,4,5,2,3] => 2
Description
The number of parts of the shifted shape of a permutation. The diagram of a strict partition $\lambda_1 < \lambda_2 < \dots < \lambda_\ell$ of $n$ is a tableau with $\ell$ rows, the $i$-th row being indented by $i$ cells. A shifted standard Young tableau is a filling of such a diagram, where entries in rows and columns are strictly increasing. The shifted Robinson-Schensted algorithm [1] associates to a permutation a pair $(P, Q)$ of standard shifted Young tableaux of the same shape, where off-diagonal entries in $Q$ may be circled. This statistic records the number of parts of the shifted shape.
Matching statistic: St000455
Mp00059: Permutations Robinson-Schensted insertion tableauStandard tableaux
Mp00294: Standard tableaux peak compositionInteger compositions
Mp00184: Integer compositions to threshold graphGraphs
St000455: Graphs ⟶ ℤResult quality: 23% values known / values provided: 23%distinct values known / distinct values provided: 25%
Values
[1] => [[1]]
=> [1] => ([],1)
=> ? = 1 - 2
[1,2] => [[1,2]]
=> [2] => ([],2)
=> ? = 1 - 2
[2,1] => [[1],[2]]
=> [2] => ([],2)
=> ? = 1 - 2
[1,2,3] => [[1,2,3]]
=> [3] => ([],3)
=> ? = 1 - 2
[1,3,2] => [[1,2],[3]]
=> [2,1] => ([(0,2),(1,2)],3)
=> 0 = 2 - 2
[2,1,3] => [[1,3],[2]]
=> [3] => ([],3)
=> ? = 1 - 2
[2,3,1] => [[1,3],[2]]
=> [3] => ([],3)
=> ? = 1 - 2
[3,1,2] => [[1,2],[3]]
=> [2,1] => ([(0,2),(1,2)],3)
=> 0 = 2 - 2
[3,2,1] => [[1],[2],[3]]
=> [3] => ([],3)
=> ? = 1 - 2
[1,2,3,4] => [[1,2,3,4]]
=> [4] => ([],4)
=> ? = 1 - 2
[1,2,4,3] => [[1,2,3],[4]]
=> [3,1] => ([(0,3),(1,3),(2,3)],4)
=> 0 = 2 - 2
[1,3,2,4] => [[1,2,4],[3]]
=> [2,2] => ([(1,3),(2,3)],4)
=> 0 = 2 - 2
[1,3,4,2] => [[1,2,4],[3]]
=> [2,2] => ([(1,3),(2,3)],4)
=> 0 = 2 - 2
[1,4,2,3] => [[1,2,3],[4]]
=> [3,1] => ([(0,3),(1,3),(2,3)],4)
=> 0 = 2 - 2
[1,4,3,2] => [[1,2],[3],[4]]
=> [2,2] => ([(1,3),(2,3)],4)
=> 0 = 2 - 2
[2,1,3,4] => [[1,3,4],[2]]
=> [4] => ([],4)
=> ? = 1 - 2
[2,1,4,3] => [[1,3],[2,4]]
=> [3,1] => ([(0,3),(1,3),(2,3)],4)
=> 0 = 2 - 2
[2,3,1,4] => [[1,3,4],[2]]
=> [4] => ([],4)
=> ? = 1 - 2
[2,3,4,1] => [[1,3,4],[2]]
=> [4] => ([],4)
=> ? = 1 - 2
[2,4,1,3] => [[1,3],[2,4]]
=> [3,1] => ([(0,3),(1,3),(2,3)],4)
=> 0 = 2 - 2
[2,4,3,1] => [[1,3],[2],[4]]
=> [3,1] => ([(0,3),(1,3),(2,3)],4)
=> 0 = 2 - 2
[3,1,2,4] => [[1,2,4],[3]]
=> [2,2] => ([(1,3),(2,3)],4)
=> 0 = 2 - 2
[3,1,4,2] => [[1,2],[3,4]]
=> [2,2] => ([(1,3),(2,3)],4)
=> 0 = 2 - 2
[3,2,1,4] => [[1,4],[2],[3]]
=> [4] => ([],4)
=> ? = 1 - 2
[3,2,4,1] => [[1,4],[2],[3]]
=> [4] => ([],4)
=> ? = 1 - 2
[3,4,1,2] => [[1,2],[3,4]]
=> [2,2] => ([(1,3),(2,3)],4)
=> 0 = 2 - 2
[3,4,2,1] => [[1,4],[2],[3]]
=> [4] => ([],4)
=> ? = 1 - 2
[4,1,2,3] => [[1,2,3],[4]]
=> [3,1] => ([(0,3),(1,3),(2,3)],4)
=> 0 = 2 - 2
[4,1,3,2] => [[1,2],[3],[4]]
=> [2,2] => ([(1,3),(2,3)],4)
=> 0 = 2 - 2
[4,2,1,3] => [[1,3],[2],[4]]
=> [3,1] => ([(0,3),(1,3),(2,3)],4)
=> 0 = 2 - 2
[4,2,3,1] => [[1,3],[2],[4]]
=> [3,1] => ([(0,3),(1,3),(2,3)],4)
=> 0 = 2 - 2
[4,3,1,2] => [[1,2],[3],[4]]
=> [2,2] => ([(1,3),(2,3)],4)
=> 0 = 2 - 2
[4,3,2,1] => [[1],[2],[3],[4]]
=> [4] => ([],4)
=> ? = 1 - 2
[1,2,3,4,5] => [[1,2,3,4,5]]
=> [5] => ([],5)
=> ? = 1 - 2
[1,2,3,5,4] => [[1,2,3,4],[5]]
=> [4,1] => ([(0,4),(1,4),(2,4),(3,4)],5)
=> 0 = 2 - 2
[1,2,4,3,5] => [[1,2,3,5],[4]]
=> [3,2] => ([(1,4),(2,4),(3,4)],5)
=> 0 = 2 - 2
[1,2,4,5,3] => [[1,2,3,5],[4]]
=> [3,2] => ([(1,4),(2,4),(3,4)],5)
=> 0 = 2 - 2
[1,2,5,3,4] => [[1,2,3,4],[5]]
=> [4,1] => ([(0,4),(1,4),(2,4),(3,4)],5)
=> 0 = 2 - 2
[1,2,5,4,3] => [[1,2,3],[4],[5]]
=> [3,2] => ([(1,4),(2,4),(3,4)],5)
=> 0 = 2 - 2
[1,3,2,4,5] => [[1,2,4,5],[3]]
=> [2,3] => ([(2,4),(3,4)],5)
=> 0 = 2 - 2
[1,3,2,5,4] => [[1,2,4],[3,5]]
=> [2,2,1] => ([(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ? = 2 - 2
[1,3,4,2,5] => [[1,2,4,5],[3]]
=> [2,3] => ([(2,4),(3,4)],5)
=> 0 = 2 - 2
[1,3,4,5,2] => [[1,2,4,5],[3]]
=> [2,3] => ([(2,4),(3,4)],5)
=> 0 = 2 - 2
[1,3,5,2,4] => [[1,2,4],[3,5]]
=> [2,2,1] => ([(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ? = 2 - 2
[1,3,5,4,2] => [[1,2,4],[3],[5]]
=> [2,2,1] => ([(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ? = 2 - 2
[1,4,2,3,5] => [[1,2,3,5],[4]]
=> [3,2] => ([(1,4),(2,4),(3,4)],5)
=> 0 = 2 - 2
[1,4,2,5,3] => [[1,2,3],[4,5]]
=> [3,2] => ([(1,4),(2,4),(3,4)],5)
=> 0 = 2 - 2
[1,4,3,2,5] => [[1,2,5],[3],[4]]
=> [2,3] => ([(2,4),(3,4)],5)
=> 0 = 2 - 2
[1,4,3,5,2] => [[1,2,5],[3],[4]]
=> [2,3] => ([(2,4),(3,4)],5)
=> 0 = 2 - 2
[1,4,5,2,3] => [[1,2,3],[4,5]]
=> [3,2] => ([(1,4),(2,4),(3,4)],5)
=> 0 = 2 - 2
[1,4,5,3,2] => [[1,2,5],[3],[4]]
=> [2,3] => ([(2,4),(3,4)],5)
=> 0 = 2 - 2
[1,5,2,3,4] => [[1,2,3,4],[5]]
=> [4,1] => ([(0,4),(1,4),(2,4),(3,4)],5)
=> 0 = 2 - 2
[1,5,2,4,3] => [[1,2,3],[4],[5]]
=> [3,2] => ([(1,4),(2,4),(3,4)],5)
=> 0 = 2 - 2
[1,5,3,2,4] => [[1,2,4],[3],[5]]
=> [2,2,1] => ([(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ? = 2 - 2
[1,5,3,4,2] => [[1,2,4],[3],[5]]
=> [2,2,1] => ([(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ? = 2 - 2
[1,5,4,2,3] => [[1,2,3],[4],[5]]
=> [3,2] => ([(1,4),(2,4),(3,4)],5)
=> 0 = 2 - 2
[1,5,4,3,2] => [[1,2],[3],[4],[5]]
=> [2,3] => ([(2,4),(3,4)],5)
=> 0 = 2 - 2
[2,1,3,4,5] => [[1,3,4,5],[2]]
=> [5] => ([],5)
=> ? = 1 - 2
[2,1,3,5,4] => [[1,3,4],[2,5]]
=> [4,1] => ([(0,4),(1,4),(2,4),(3,4)],5)
=> 0 = 2 - 2
[2,1,4,3,5] => [[1,3,5],[2,4]]
=> [3,2] => ([(1,4),(2,4),(3,4)],5)
=> 0 = 2 - 2
[2,1,4,5,3] => [[1,3,5],[2,4]]
=> [3,2] => ([(1,4),(2,4),(3,4)],5)
=> 0 = 2 - 2
[2,1,5,3,4] => [[1,3,4],[2,5]]
=> [4,1] => ([(0,4),(1,4),(2,4),(3,4)],5)
=> 0 = 2 - 2
[2,1,5,4,3] => [[1,3],[2,4],[5]]
=> [3,2] => ([(1,4),(2,4),(3,4)],5)
=> 0 = 2 - 2
[2,3,1,4,5] => [[1,3,4,5],[2]]
=> [5] => ([],5)
=> ? = 1 - 2
[2,3,1,5,4] => [[1,3,4],[2,5]]
=> [4,1] => ([(0,4),(1,4),(2,4),(3,4)],5)
=> 0 = 2 - 2
[2,3,4,1,5] => [[1,3,4,5],[2]]
=> [5] => ([],5)
=> ? = 1 - 2
[2,3,4,5,1] => [[1,3,4,5],[2]]
=> [5] => ([],5)
=> ? = 1 - 2
[2,3,5,1,4] => [[1,3,4],[2,5]]
=> [4,1] => ([(0,4),(1,4),(2,4),(3,4)],5)
=> 0 = 2 - 2
[2,3,5,4,1] => [[1,3,4],[2],[5]]
=> [4,1] => ([(0,4),(1,4),(2,4),(3,4)],5)
=> 0 = 2 - 2
[2,4,1,3,5] => [[1,3,5],[2,4]]
=> [3,2] => ([(1,4),(2,4),(3,4)],5)
=> 0 = 2 - 2
[2,4,1,5,3] => [[1,3,5],[2,4]]
=> [3,2] => ([(1,4),(2,4),(3,4)],5)
=> 0 = 2 - 2
[2,4,3,1,5] => [[1,3,5],[2],[4]]
=> [3,2] => ([(1,4),(2,4),(3,4)],5)
=> 0 = 2 - 2
[2,4,3,5,1] => [[1,3,5],[2],[4]]
=> [3,2] => ([(1,4),(2,4),(3,4)],5)
=> 0 = 2 - 2
[2,4,5,1,3] => [[1,3,5],[2,4]]
=> [3,2] => ([(1,4),(2,4),(3,4)],5)
=> 0 = 2 - 2
[2,4,5,3,1] => [[1,3,5],[2],[4]]
=> [3,2] => ([(1,4),(2,4),(3,4)],5)
=> 0 = 2 - 2
[3,1,2,5,4] => [[1,2,4],[3,5]]
=> [2,2,1] => ([(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ? = 2 - 2
[3,1,5,2,4] => [[1,2,4],[3,5]]
=> [2,2,1] => ([(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ? = 2 - 2
[3,1,5,4,2] => [[1,2],[3,4],[5]]
=> [2,2,1] => ([(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ? = 2 - 2
[3,2,1,4,5] => [[1,4,5],[2],[3]]
=> [5] => ([],5)
=> ? = 1 - 2
[3,2,4,1,5] => [[1,4,5],[2],[3]]
=> [5] => ([],5)
=> ? = 1 - 2
[3,2,4,5,1] => [[1,4,5],[2],[3]]
=> [5] => ([],5)
=> ? = 1 - 2
[3,4,2,1,5] => [[1,4,5],[2],[3]]
=> [5] => ([],5)
=> ? = 1 - 2
[3,4,2,5,1] => [[1,4,5],[2],[3]]
=> [5] => ([],5)
=> ? = 1 - 2
[3,4,5,2,1] => [[1,4,5],[2],[3]]
=> [5] => ([],5)
=> ? = 1 - 2
[3,5,1,2,4] => [[1,2,4],[3,5]]
=> [2,2,1] => ([(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ? = 2 - 2
[3,5,1,4,2] => [[1,2],[3,4],[5]]
=> [2,2,1] => ([(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ? = 2 - 2
[3,5,4,1,2] => [[1,2],[3,4],[5]]
=> [2,2,1] => ([(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ? = 2 - 2
[4,3,2,1,5] => [[1,5],[2],[3],[4]]
=> [5] => ([],5)
=> ? = 1 - 2
[4,3,2,5,1] => [[1,5],[2],[3],[4]]
=> [5] => ([],5)
=> ? = 1 - 2
[4,3,5,2,1] => [[1,5],[2],[3],[4]]
=> [5] => ([],5)
=> ? = 1 - 2
[4,5,3,2,1] => [[1,5],[2],[3],[4]]
=> [5] => ([],5)
=> ? = 1 - 2
[5,1,3,2,4] => [[1,2,4],[3],[5]]
=> [2,2,1] => ([(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ? = 2 - 2
[5,1,3,4,2] => [[1,2,4],[3],[5]]
=> [2,2,1] => ([(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ? = 2 - 2
[5,3,1,2,4] => [[1,2,4],[3],[5]]
=> [2,2,1] => ([(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ? = 2 - 2
[5,3,1,4,2] => [[1,2],[3,4],[5]]
=> [2,2,1] => ([(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ? = 2 - 2
[5,3,4,1,2] => [[1,2],[3,4],[5]]
=> [2,2,1] => ([(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ? = 2 - 2
[5,4,3,2,1] => [[1],[2],[3],[4],[5]]
=> [5] => ([],5)
=> ? = 1 - 2
[1,2,3,4,5,6] => [[1,2,3,4,5,6]]
=> [6] => ([],6)
=> ? = 1 - 2
[1,2,4,3,6,5] => [[1,2,3,5],[4,6]]
=> [3,2,1] => ([(0,5),(1,4),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 2 - 2
[1,2,4,6,3,5] => [[1,2,3,5],[4,6]]
=> [3,2,1] => ([(0,5),(1,4),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 2 - 2
Description
The second largest eigenvalue of a graph if it is integral. This statistic is undefined if the second largest eigenvalue of the graph is not integral. Chapter 4 of [1] provides lots of context.
Matching statistic: St001330
Mp00059: Permutations Robinson-Schensted insertion tableauStandard tableaux
Mp00294: Standard tableaux peak compositionInteger compositions
Mp00184: Integer compositions to threshold graphGraphs
St001330: Graphs ⟶ ℤResult quality: 21% values known / values provided: 21%distinct values known / distinct values provided: 50%
Values
[1] => [[1]]
=> [1] => ([],1)
=> 1
[1,2] => [[1,2]]
=> [2] => ([],2)
=> 1
[2,1] => [[1],[2]]
=> [2] => ([],2)
=> 1
[1,2,3] => [[1,2,3]]
=> [3] => ([],3)
=> 1
[1,3,2] => [[1,2],[3]]
=> [2,1] => ([(0,2),(1,2)],3)
=> 2
[2,1,3] => [[1,3],[2]]
=> [3] => ([],3)
=> 1
[2,3,1] => [[1,3],[2]]
=> [3] => ([],3)
=> 1
[3,1,2] => [[1,2],[3]]
=> [2,1] => ([(0,2),(1,2)],3)
=> 2
[3,2,1] => [[1],[2],[3]]
=> [3] => ([],3)
=> 1
[1,2,3,4] => [[1,2,3,4]]
=> [4] => ([],4)
=> 1
[1,2,4,3] => [[1,2,3],[4]]
=> [3,1] => ([(0,3),(1,3),(2,3)],4)
=> 2
[1,3,2,4] => [[1,2,4],[3]]
=> [2,2] => ([(1,3),(2,3)],4)
=> 2
[1,3,4,2] => [[1,2,4],[3]]
=> [2,2] => ([(1,3),(2,3)],4)
=> 2
[1,4,2,3] => [[1,2,3],[4]]
=> [3,1] => ([(0,3),(1,3),(2,3)],4)
=> 2
[1,4,3,2] => [[1,2],[3],[4]]
=> [2,2] => ([(1,3),(2,3)],4)
=> 2
[2,1,3,4] => [[1,3,4],[2]]
=> [4] => ([],4)
=> 1
[2,1,4,3] => [[1,3],[2,4]]
=> [3,1] => ([(0,3),(1,3),(2,3)],4)
=> 2
[2,3,1,4] => [[1,3,4],[2]]
=> [4] => ([],4)
=> 1
[2,3,4,1] => [[1,3,4],[2]]
=> [4] => ([],4)
=> 1
[2,4,1,3] => [[1,3],[2,4]]
=> [3,1] => ([(0,3),(1,3),(2,3)],4)
=> 2
[2,4,3,1] => [[1,3],[2],[4]]
=> [3,1] => ([(0,3),(1,3),(2,3)],4)
=> 2
[3,1,2,4] => [[1,2,4],[3]]
=> [2,2] => ([(1,3),(2,3)],4)
=> 2
[3,1,4,2] => [[1,2],[3,4]]
=> [2,2] => ([(1,3),(2,3)],4)
=> 2
[3,2,1,4] => [[1,4],[2],[3]]
=> [4] => ([],4)
=> 1
[3,2,4,1] => [[1,4],[2],[3]]
=> [4] => ([],4)
=> 1
[3,4,1,2] => [[1,2],[3,4]]
=> [2,2] => ([(1,3),(2,3)],4)
=> 2
[3,4,2,1] => [[1,4],[2],[3]]
=> [4] => ([],4)
=> 1
[4,1,2,3] => [[1,2,3],[4]]
=> [3,1] => ([(0,3),(1,3),(2,3)],4)
=> 2
[4,1,3,2] => [[1,2],[3],[4]]
=> [2,2] => ([(1,3),(2,3)],4)
=> 2
[4,2,1,3] => [[1,3],[2],[4]]
=> [3,1] => ([(0,3),(1,3),(2,3)],4)
=> 2
[4,2,3,1] => [[1,3],[2],[4]]
=> [3,1] => ([(0,3),(1,3),(2,3)],4)
=> 2
[4,3,1,2] => [[1,2],[3],[4]]
=> [2,2] => ([(1,3),(2,3)],4)
=> 2
[4,3,2,1] => [[1],[2],[3],[4]]
=> [4] => ([],4)
=> 1
[1,2,3,4,5] => [[1,2,3,4,5]]
=> [5] => ([],5)
=> 1
[1,2,3,5,4] => [[1,2,3,4],[5]]
=> [4,1] => ([(0,4),(1,4),(2,4),(3,4)],5)
=> 2
[1,2,4,3,5] => [[1,2,3,5],[4]]
=> [3,2] => ([(1,4),(2,4),(3,4)],5)
=> 2
[1,2,4,5,3] => [[1,2,3,5],[4]]
=> [3,2] => ([(1,4),(2,4),(3,4)],5)
=> 2
[1,2,5,3,4] => [[1,2,3,4],[5]]
=> [4,1] => ([(0,4),(1,4),(2,4),(3,4)],5)
=> 2
[1,2,5,4,3] => [[1,2,3],[4],[5]]
=> [3,2] => ([(1,4),(2,4),(3,4)],5)
=> 2
[1,3,2,4,5] => [[1,2,4,5],[3]]
=> [2,3] => ([(2,4),(3,4)],5)
=> 2
[1,3,2,5,4] => [[1,2,4],[3,5]]
=> [2,2,1] => ([(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ? = 2
[1,3,4,2,5] => [[1,2,4,5],[3]]
=> [2,3] => ([(2,4),(3,4)],5)
=> 2
[1,3,4,5,2] => [[1,2,4,5],[3]]
=> [2,3] => ([(2,4),(3,4)],5)
=> 2
[1,3,5,2,4] => [[1,2,4],[3,5]]
=> [2,2,1] => ([(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ? = 2
[1,3,5,4,2] => [[1,2,4],[3],[5]]
=> [2,2,1] => ([(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ? = 2
[1,4,2,3,5] => [[1,2,3,5],[4]]
=> [3,2] => ([(1,4),(2,4),(3,4)],5)
=> 2
[1,4,2,5,3] => [[1,2,3],[4,5]]
=> [3,2] => ([(1,4),(2,4),(3,4)],5)
=> 2
[1,4,3,2,5] => [[1,2,5],[3],[4]]
=> [2,3] => ([(2,4),(3,4)],5)
=> 2
[1,4,3,5,2] => [[1,2,5],[3],[4]]
=> [2,3] => ([(2,4),(3,4)],5)
=> 2
[1,4,5,2,3] => [[1,2,3],[4,5]]
=> [3,2] => ([(1,4),(2,4),(3,4)],5)
=> 2
[1,4,5,3,2] => [[1,2,5],[3],[4]]
=> [2,3] => ([(2,4),(3,4)],5)
=> 2
[1,5,2,3,4] => [[1,2,3,4],[5]]
=> [4,1] => ([(0,4),(1,4),(2,4),(3,4)],5)
=> 2
[1,5,2,4,3] => [[1,2,3],[4],[5]]
=> [3,2] => ([(1,4),(2,4),(3,4)],5)
=> 2
[1,5,3,2,4] => [[1,2,4],[3],[5]]
=> [2,2,1] => ([(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ? = 2
[1,5,3,4,2] => [[1,2,4],[3],[5]]
=> [2,2,1] => ([(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ? = 2
[3,1,2,5,4] => [[1,2,4],[3,5]]
=> [2,2,1] => ([(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ? = 2
[3,1,5,2,4] => [[1,2,4],[3,5]]
=> [2,2,1] => ([(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ? = 2
[3,1,5,4,2] => [[1,2],[3,4],[5]]
=> [2,2,1] => ([(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ? = 2
[3,5,1,2,4] => [[1,2,4],[3,5]]
=> [2,2,1] => ([(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ? = 2
[3,5,1,4,2] => [[1,2],[3,4],[5]]
=> [2,2,1] => ([(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ? = 2
[3,5,4,1,2] => [[1,2],[3,4],[5]]
=> [2,2,1] => ([(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ? = 2
[5,1,3,2,4] => [[1,2,4],[3],[5]]
=> [2,2,1] => ([(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ? = 2
[5,1,3,4,2] => [[1,2,4],[3],[5]]
=> [2,2,1] => ([(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ? = 2
[5,3,1,2,4] => [[1,2,4],[3],[5]]
=> [2,2,1] => ([(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ? = 2
[5,3,1,4,2] => [[1,2],[3,4],[5]]
=> [2,2,1] => ([(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ? = 2
[5,3,4,1,2] => [[1,2],[3,4],[5]]
=> [2,2,1] => ([(0,4),(1,3),(1,4),(2,3),(2,4),(3,4)],5)
=> ? = 2
[1,2,4,3,6,5] => [[1,2,3,5],[4,6]]
=> [3,2,1] => ([(0,5),(1,4),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 2
[1,2,4,6,3,5] => [[1,2,3,5],[4,6]]
=> [3,2,1] => ([(0,5),(1,4),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 2
[1,2,4,6,5,3] => [[1,2,3,5],[4],[6]]
=> [3,2,1] => ([(0,5),(1,4),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 2
[1,2,6,4,3,5] => [[1,2,3,5],[4],[6]]
=> [3,2,1] => ([(0,5),(1,4),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 2
[1,2,6,4,5,3] => [[1,2,3,5],[4],[6]]
=> [3,2,1] => ([(0,5),(1,4),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 2
[1,3,2,4,6,5] => [[1,2,4,5],[3,6]]
=> [2,3,1] => ([(0,5),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 2
[1,3,2,5,4,6] => [[1,2,4,6],[3,5]]
=> [2,2,2] => ([(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 2
[1,3,2,5,6,4] => [[1,2,4,6],[3,5]]
=> [2,2,2] => ([(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 2
[1,3,2,6,4,5] => [[1,2,4,5],[3,6]]
=> [2,3,1] => ([(0,5),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 2
[1,3,2,6,5,4] => [[1,2,4],[3,5],[6]]
=> [2,2,2] => ([(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 3
[1,3,4,2,6,5] => [[1,2,4,5],[3,6]]
=> [2,3,1] => ([(0,5),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 2
[1,3,4,6,2,5] => [[1,2,4,5],[3,6]]
=> [2,3,1] => ([(0,5),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 2
[1,3,4,6,5,2] => [[1,2,4,5],[3],[6]]
=> [2,3,1] => ([(0,5),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 2
[1,3,5,2,4,6] => [[1,2,4,6],[3,5]]
=> [2,2,2] => ([(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 2
[1,3,5,2,6,4] => [[1,2,4,6],[3,5]]
=> [2,2,2] => ([(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 2
[1,3,5,4,2,6] => [[1,2,4,6],[3],[5]]
=> [2,2,2] => ([(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 2
[1,3,5,4,6,2] => [[1,2,4,6],[3],[5]]
=> [2,2,2] => ([(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 2
[1,3,5,6,2,4] => [[1,2,4,6],[3,5]]
=> [2,2,2] => ([(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 2
[1,3,5,6,4,2] => [[1,2,4,6],[3],[5]]
=> [2,2,2] => ([(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 2
[1,3,6,2,4,5] => [[1,2,4,5],[3,6]]
=> [2,3,1] => ([(0,5),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 2
[1,3,6,2,5,4] => [[1,2,4],[3,5],[6]]
=> [2,2,2] => ([(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 3
[1,3,6,4,2,5] => [[1,2,4,5],[3],[6]]
=> [2,3,1] => ([(0,5),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 2
[1,3,6,4,5,2] => [[1,2,4,5],[3],[6]]
=> [2,3,1] => ([(0,5),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 2
[1,3,6,5,2,4] => [[1,2,4],[3,5],[6]]
=> [2,2,2] => ([(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 3
[1,3,6,5,4,2] => [[1,2,4],[3],[5],[6]]
=> [2,2,2] => ([(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 2
[1,4,2,3,6,5] => [[1,2,3,5],[4,6]]
=> [3,2,1] => ([(0,5),(1,4),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 2
[1,4,2,6,3,5] => [[1,2,3,5],[4,6]]
=> [3,2,1] => ([(0,5),(1,4),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 2
[1,4,2,6,5,3] => [[1,2,3],[4,5],[6]]
=> [3,2,1] => ([(0,5),(1,4),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 3
[1,4,3,2,6,5] => [[1,2,5],[3,6],[4]]
=> [2,3,1] => ([(0,5),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 2
[1,4,3,6,2,5] => [[1,2,5],[3,6],[4]]
=> [2,3,1] => ([(0,5),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 2
[1,4,3,6,5,2] => [[1,2,5],[3,6],[4]]
=> [2,3,1] => ([(0,5),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 2
[1,4,6,2,3,5] => [[1,2,3,5],[4,6]]
=> [3,2,1] => ([(0,5),(1,4),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 2
[1,4,6,2,5,3] => [[1,2,3],[4,5],[6]]
=> [3,2,1] => ([(0,5),(1,4),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 3
[1,4,6,3,2,5] => [[1,2,5],[3,6],[4]]
=> [2,3,1] => ([(0,5),(1,5),(2,4),(2,5),(3,4),(3,5),(4,5)],6)
=> ? = 2
Description
The hat guessing number of a graph. Suppose that each vertex of a graph corresponds to a player, wearing a hat whose color is arbitrarily chosen from a set of $q$ possible colors. Each player can see the hat colors of his neighbors, but not his own hat color. All of the players are asked to guess their own hat colors simultaneously, according to a predetermined guessing strategy and the hat colors they see, where no communication between them is allowed. The hat guessing number $HG(G)$ of a graph $G$ is the largest integer $q$ such that there exists a guessing strategy guaranteeing at least one correct guess for any hat assignment of $q$ possible colors. Because it suffices that a single player guesses correctly, the hat guessing number of a graph is the maximum of the hat guessing numbers of its connected components.