Processing math: 100%

Your data matches 25 different statistics following compositions of up to 3 maps.
(click to perform a complete search on your data)
St001486: Integer compositions ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1] => 1 = 0 + 1
[1,1] => 2 = 1 + 1
[2] => 2 = 1 + 1
[1,1,1] => 2 = 1 + 1
[1,2] => 3 = 2 + 1
[2,1] => 3 = 2 + 1
[3] => 2 = 1 + 1
[1,1,1,1] => 2 = 1 + 1
[1,1,2] => 3 = 2 + 1
[1,2,1] => 4 = 3 + 1
[1,3] => 3 = 2 + 1
[2,1,1] => 3 = 2 + 1
[2,2] => 4 = 3 + 1
[3,1] => 3 = 2 + 1
[4] => 2 = 1 + 1
[1,1,1,1,1] => 2 = 1 + 1
[1,1,1,2] => 3 = 2 + 1
[1,1,2,1] => 4 = 3 + 1
[1,1,3] => 3 = 2 + 1
[1,2,1,1] => 4 = 3 + 1
[1,2,2] => 5 = 4 + 1
[1,3,1] => 4 = 3 + 1
[1,4] => 3 = 2 + 1
[2,1,1,1] => 3 = 2 + 1
[2,1,2] => 4 = 3 + 1
[2,2,1] => 5 = 4 + 1
[2,3] => 4 = 3 + 1
[3,1,1] => 3 = 2 + 1
[3,2] => 4 = 3 + 1
[4,1] => 3 = 2 + 1
[5] => 2 = 1 + 1
[1,1,1,1,1,1] => 2 = 1 + 1
[1,1,1,1,2] => 3 = 2 + 1
[1,1,1,2,1] => 4 = 3 + 1
[1,1,1,3] => 3 = 2 + 1
[1,1,2,1,1] => 4 = 3 + 1
[1,1,2,2] => 5 = 4 + 1
[1,1,3,1] => 4 = 3 + 1
[1,1,4] => 3 = 2 + 1
[1,2,1,1,1] => 4 = 3 + 1
[1,2,1,2] => 5 = 4 + 1
[1,2,2,1] => 6 = 5 + 1
[1,2,3] => 5 = 4 + 1
[1,3,1,1] => 4 = 3 + 1
[1,3,2] => 5 = 4 + 1
[1,4,1] => 4 = 3 + 1
[1,5] => 3 = 2 + 1
[2,1,1,1,1] => 3 = 2 + 1
[2,1,1,2] => 4 = 3 + 1
[2,1,2,1] => 5 = 4 + 1
Description
The number of corners of the ribbon associated with an integer composition. We associate a ribbon shape to a composition c=(c1,,cn) with ci cells in the i-th row from bottom to top, such that the cells in two rows overlap in precisely one cell. This statistic records the total number of corners of the ribbon shape.
Matching statistic: St000552
Mp00231: Integer compositions bounce pathDyck paths
Mp00201: Dyck paths RingelPermutations
Mp00160: Permutations graph of inversionsGraphs
St000552: Graphs ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1] => [1,0]
=> [2,1] => ([(0,1)],2)
=> 0
[1,1] => [1,0,1,0]
=> [3,1,2] => ([(0,2),(1,2)],3)
=> 1
[2] => [1,1,0,0]
=> [2,3,1] => ([(0,2),(1,2)],3)
=> 1
[1,1,1] => [1,0,1,0,1,0]
=> [4,1,2,3] => ([(0,3),(1,3),(2,3)],4)
=> 1
[1,2] => [1,0,1,1,0,0]
=> [3,1,4,2] => ([(0,3),(1,2),(2,3)],4)
=> 2
[2,1] => [1,1,0,0,1,0]
=> [2,4,1,3] => ([(0,3),(1,2),(2,3)],4)
=> 2
[3] => [1,1,1,0,0,0]
=> [2,3,4,1] => ([(0,3),(1,3),(2,3)],4)
=> 1
[1,1,1,1] => [1,0,1,0,1,0,1,0]
=> [5,1,2,3,4] => ([(0,4),(1,4),(2,4),(3,4)],5)
=> 1
[1,1,2] => [1,0,1,0,1,1,0,0]
=> [4,1,2,5,3] => ([(0,4),(1,4),(2,3),(3,4)],5)
=> 2
[1,2,1] => [1,0,1,1,0,0,1,0]
=> [3,1,5,2,4] => ([(0,4),(1,3),(2,3),(2,4)],5)
=> 3
[1,3] => [1,0,1,1,1,0,0,0]
=> [3,1,4,5,2] => ([(0,4),(1,4),(2,3),(3,4)],5)
=> 2
[2,1,1] => [1,1,0,0,1,0,1,0]
=> [2,5,1,3,4] => ([(0,4),(1,4),(2,3),(3,4)],5)
=> 2
[2,2] => [1,1,0,0,1,1,0,0]
=> [2,4,1,5,3] => ([(0,4),(1,3),(2,3),(2,4)],5)
=> 3
[3,1] => [1,1,1,0,0,0,1,0]
=> [2,3,5,1,4] => ([(0,4),(1,4),(2,3),(3,4)],5)
=> 2
[4] => [1,1,1,1,0,0,0,0]
=> [2,3,4,5,1] => ([(0,4),(1,4),(2,4),(3,4)],5)
=> 1
[1,1,1,1,1] => [1,0,1,0,1,0,1,0,1,0]
=> [6,1,2,3,4,5] => ([(0,5),(1,5),(2,5),(3,5),(4,5)],6)
=> 1
[1,1,1,2] => [1,0,1,0,1,0,1,1,0,0]
=> [5,1,2,3,6,4] => ([(0,5),(1,5),(2,5),(3,4),(4,5)],6)
=> 2
[1,1,2,1] => [1,0,1,0,1,1,0,0,1,0]
=> [4,1,2,6,3,5] => ([(0,5),(1,5),(2,3),(3,4),(4,5)],6)
=> 3
[1,1,3] => [1,0,1,0,1,1,1,0,0,0]
=> [4,1,2,5,6,3] => ([(0,5),(1,5),(2,4),(3,4),(4,5)],6)
=> 2
[1,2,1,1] => [1,0,1,1,0,0,1,0,1,0]
=> [3,1,6,2,4,5] => ([(0,5),(1,5),(2,3),(3,4),(4,5)],6)
=> 3
[1,2,2] => [1,0,1,1,0,0,1,1,0,0]
=> [3,1,5,2,6,4] => ([(0,5),(1,4),(2,3),(2,4),(3,5)],6)
=> 4
[1,3,1] => [1,0,1,1,1,0,0,0,1,0]
=> [3,1,4,6,2,5] => ([(0,5),(1,4),(2,3),(3,5),(4,5)],6)
=> 3
[1,4] => [1,0,1,1,1,1,0,0,0,0]
=> [3,1,4,5,6,2] => ([(0,5),(1,5),(2,5),(3,4),(4,5)],6)
=> 2
[2,1,1,1] => [1,1,0,0,1,0,1,0,1,0]
=> [2,6,1,3,4,5] => ([(0,5),(1,5),(2,5),(3,4),(4,5)],6)
=> 2
[2,1,2] => [1,1,0,0,1,0,1,1,0,0]
=> [2,5,1,3,6,4] => ([(0,5),(1,4),(2,3),(3,5),(4,5)],6)
=> 3
[2,2,1] => [1,1,0,0,1,1,0,0,1,0]
=> [2,4,1,6,3,5] => ([(0,5),(1,4),(2,3),(2,4),(3,5)],6)
=> 4
[2,3] => [1,1,0,0,1,1,1,0,0,0]
=> [2,4,1,5,6,3] => ([(0,5),(1,5),(2,3),(3,4),(4,5)],6)
=> 3
[3,1,1] => [1,1,1,0,0,0,1,0,1,0]
=> [2,3,6,1,4,5] => ([(0,5),(1,5),(2,4),(3,4),(4,5)],6)
=> 2
[3,2] => [1,1,1,0,0,0,1,1,0,0]
=> [2,3,5,1,6,4] => ([(0,5),(1,5),(2,3),(3,4),(4,5)],6)
=> 3
[4,1] => [1,1,1,1,0,0,0,0,1,0]
=> [2,3,4,6,1,5] => ([(0,5),(1,5),(2,5),(3,4),(4,5)],6)
=> 2
[5] => [1,1,1,1,1,0,0,0,0,0]
=> [2,3,4,5,6,1] => ([(0,5),(1,5),(2,5),(3,5),(4,5)],6)
=> 1
[1,1,1,1,1,1] => [1,0,1,0,1,0,1,0,1,0,1,0]
=> [7,1,2,3,4,5,6] => ([(0,6),(1,6),(2,6),(3,6),(4,6),(5,6)],7)
=> 1
[1,1,1,1,2] => [1,0,1,0,1,0,1,0,1,1,0,0]
=> [6,1,2,3,4,7,5] => ([(0,6),(1,6),(2,6),(3,6),(4,5),(5,6)],7)
=> 2
[1,1,1,2,1] => [1,0,1,0,1,0,1,1,0,0,1,0]
=> [5,1,2,3,7,4,6] => ([(0,6),(1,6),(2,6),(3,4),(4,5),(5,6)],7)
=> 3
[1,1,1,3] => [1,0,1,0,1,0,1,1,1,0,0,0]
=> [5,1,2,3,6,7,4] => ([(0,6),(1,6),(2,6),(3,5),(4,5),(5,6)],7)
=> 2
[1,1,2,1,1] => [1,0,1,0,1,1,0,0,1,0,1,0]
=> [4,1,2,7,3,5,6] => ([(0,6),(1,6),(2,5),(3,5),(4,5),(4,6)],7)
=> 3
[1,1,2,2] => [1,0,1,0,1,1,0,0,1,1,0,0]
=> [4,1,2,6,3,7,5] => ([(0,6),(1,6),(2,3),(3,5),(4,5),(4,6)],7)
=> 4
[1,1,3,1] => [1,0,1,0,1,1,1,0,0,0,1,0]
=> [4,1,2,5,7,3,6] => ([(0,6),(1,5),(2,5),(3,4),(4,6),(5,6)],7)
=> 3
[1,1,4] => [1,0,1,0,1,1,1,1,0,0,0,0]
=> [4,1,2,5,6,7,3] => ([(0,6),(1,6),(2,6),(3,5),(4,5),(5,6)],7)
=> 2
[1,2,1,1,1] => [1,0,1,1,0,0,1,0,1,0,1,0]
=> [3,1,7,2,4,5,6] => ([(0,6),(1,6),(2,6),(3,4),(4,5),(5,6)],7)
=> 3
[1,2,1,2] => [1,0,1,1,0,0,1,0,1,1,0,0]
=> [3,1,6,2,4,7,5] => ([(0,6),(1,4),(2,3),(3,6),(4,5),(5,6)],7)
=> 4
[1,2,2,1] => [1,0,1,1,0,0,1,1,0,0,1,0]
=> [3,1,5,2,7,4,6] => ([(0,6),(1,5),(2,3),(2,4),(3,5),(4,6)],7)
=> 5
[1,2,3] => [1,0,1,1,0,0,1,1,1,0,0,0]
=> [3,1,5,2,6,7,4] => ([(0,6),(1,6),(2,3),(3,5),(4,5),(4,6)],7)
=> 4
[1,3,1,1] => [1,0,1,1,1,0,0,0,1,0,1,0]
=> [3,1,4,7,2,5,6] => ([(0,6),(1,5),(2,5),(3,4),(4,6),(5,6)],7)
=> 3
[1,3,2] => [1,0,1,1,1,0,0,0,1,1,0,0]
=> [3,1,4,6,2,7,5] => ([(0,6),(1,4),(2,3),(3,6),(4,5),(5,6)],7)
=> 4
[1,4,1] => [1,0,1,1,1,1,0,0,0,0,1,0]
=> [3,1,4,5,7,2,6] => ([(0,6),(1,6),(2,5),(3,4),(4,6),(5,6)],7)
=> 3
[1,5] => [1,0,1,1,1,1,1,0,0,0,0,0]
=> [3,1,4,5,6,7,2] => ([(0,6),(1,6),(2,6),(3,6),(4,5),(5,6)],7)
=> 2
[2,1,1,1,1] => [1,1,0,0,1,0,1,0,1,0,1,0]
=> [2,7,1,3,4,5,6] => ([(0,6),(1,6),(2,6),(3,6),(4,5),(5,6)],7)
=> 2
[2,1,1,2] => [1,1,0,0,1,0,1,0,1,1,0,0]
=> [2,6,1,3,4,7,5] => ([(0,6),(1,6),(2,5),(3,4),(4,6),(5,6)],7)
=> 3
[2,1,2,1] => [1,1,0,0,1,0,1,1,0,0,1,0]
=> [2,5,1,3,7,4,6] => ([(0,6),(1,4),(2,3),(3,6),(4,5),(5,6)],7)
=> 4
Description
The number of cut vertices of a graph. A cut vertex is one whose deletion increases the number of connected components.
Mp00231: Integer compositions bounce pathDyck paths
Mp00201: Dyck paths RingelPermutations
Mp00109: Permutations descent wordBinary words
St000691: Binary words ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1] => [1,0]
=> [2,1] => 1 => 0
[1,1] => [1,0,1,0]
=> [3,1,2] => 10 => 1
[2] => [1,1,0,0]
=> [2,3,1] => 01 => 1
[1,1,1] => [1,0,1,0,1,0]
=> [4,1,2,3] => 100 => 1
[1,2] => [1,0,1,1,0,0]
=> [3,1,4,2] => 101 => 2
[2,1] => [1,1,0,0,1,0]
=> [2,4,1,3] => 010 => 2
[3] => [1,1,1,0,0,0]
=> [2,3,4,1] => 001 => 1
[1,1,1,1] => [1,0,1,0,1,0,1,0]
=> [5,1,2,3,4] => 1000 => 1
[1,1,2] => [1,0,1,0,1,1,0,0]
=> [4,1,2,5,3] => 1001 => 2
[1,2,1] => [1,0,1,1,0,0,1,0]
=> [3,1,5,2,4] => 1010 => 3
[1,3] => [1,0,1,1,1,0,0,0]
=> [3,1,4,5,2] => 1001 => 2
[2,1,1] => [1,1,0,0,1,0,1,0]
=> [2,5,1,3,4] => 0100 => 2
[2,2] => [1,1,0,0,1,1,0,0]
=> [2,4,1,5,3] => 0101 => 3
[3,1] => [1,1,1,0,0,0,1,0]
=> [2,3,5,1,4] => 0010 => 2
[4] => [1,1,1,1,0,0,0,0]
=> [2,3,4,5,1] => 0001 => 1
[1,1,1,1,1] => [1,0,1,0,1,0,1,0,1,0]
=> [6,1,2,3,4,5] => 10000 => 1
[1,1,1,2] => [1,0,1,0,1,0,1,1,0,0]
=> [5,1,2,3,6,4] => 10001 => 2
[1,1,2,1] => [1,0,1,0,1,1,0,0,1,0]
=> [4,1,2,6,3,5] => 10010 => 3
[1,1,3] => [1,0,1,0,1,1,1,0,0,0]
=> [4,1,2,5,6,3] => 10001 => 2
[1,2,1,1] => [1,0,1,1,0,0,1,0,1,0]
=> [3,1,6,2,4,5] => 10100 => 3
[1,2,2] => [1,0,1,1,0,0,1,1,0,0]
=> [3,1,5,2,6,4] => 10101 => 4
[1,3,1] => [1,0,1,1,1,0,0,0,1,0]
=> [3,1,4,6,2,5] => 10010 => 3
[1,4] => [1,0,1,1,1,1,0,0,0,0]
=> [3,1,4,5,6,2] => 10001 => 2
[2,1,1,1] => [1,1,0,0,1,0,1,0,1,0]
=> [2,6,1,3,4,5] => 01000 => 2
[2,1,2] => [1,1,0,0,1,0,1,1,0,0]
=> [2,5,1,3,6,4] => 01001 => 3
[2,2,1] => [1,1,0,0,1,1,0,0,1,0]
=> [2,4,1,6,3,5] => 01010 => 4
[2,3] => [1,1,0,0,1,1,1,0,0,0]
=> [2,4,1,5,6,3] => 01001 => 3
[3,1,1] => [1,1,1,0,0,0,1,0,1,0]
=> [2,3,6,1,4,5] => 00100 => 2
[3,2] => [1,1,1,0,0,0,1,1,0,0]
=> [2,3,5,1,6,4] => 00101 => 3
[4,1] => [1,1,1,1,0,0,0,0,1,0]
=> [2,3,4,6,1,5] => 00010 => 2
[5] => [1,1,1,1,1,0,0,0,0,0]
=> [2,3,4,5,6,1] => 00001 => 1
[1,1,1,1,1,1] => [1,0,1,0,1,0,1,0,1,0,1,0]
=> [7,1,2,3,4,5,6] => 100000 => 1
[1,1,1,1,2] => [1,0,1,0,1,0,1,0,1,1,0,0]
=> [6,1,2,3,4,7,5] => 100001 => 2
[1,1,1,2,1] => [1,0,1,0,1,0,1,1,0,0,1,0]
=> [5,1,2,3,7,4,6] => 100010 => 3
[1,1,1,3] => [1,0,1,0,1,0,1,1,1,0,0,0]
=> [5,1,2,3,6,7,4] => 100001 => 2
[1,1,2,1,1] => [1,0,1,0,1,1,0,0,1,0,1,0]
=> [4,1,2,7,3,5,6] => 100100 => 3
[1,1,2,2] => [1,0,1,0,1,1,0,0,1,1,0,0]
=> [4,1,2,6,3,7,5] => 100101 => 4
[1,1,3,1] => [1,0,1,0,1,1,1,0,0,0,1,0]
=> [4,1,2,5,7,3,6] => 100010 => 3
[1,1,4] => [1,0,1,0,1,1,1,1,0,0,0,0]
=> [4,1,2,5,6,7,3] => 100001 => 2
[1,2,1,1,1] => [1,0,1,1,0,0,1,0,1,0,1,0]
=> [3,1,7,2,4,5,6] => 101000 => 3
[1,2,1,2] => [1,0,1,1,0,0,1,0,1,1,0,0]
=> [3,1,6,2,4,7,5] => 101001 => 4
[1,2,2,1] => [1,0,1,1,0,0,1,1,0,0,1,0]
=> [3,1,5,2,7,4,6] => 101010 => 5
[1,2,3] => [1,0,1,1,0,0,1,1,1,0,0,0]
=> [3,1,5,2,6,7,4] => 101001 => 4
[1,3,1,1] => [1,0,1,1,1,0,0,0,1,0,1,0]
=> [3,1,4,7,2,5,6] => 100100 => 3
[1,3,2] => [1,0,1,1,1,0,0,0,1,1,0,0]
=> [3,1,4,6,2,7,5] => 100101 => 4
[1,4,1] => [1,0,1,1,1,1,0,0,0,0,1,0]
=> [3,1,4,5,7,2,6] => 100010 => 3
[1,5] => [1,0,1,1,1,1,1,0,0,0,0,0]
=> [3,1,4,5,6,7,2] => 100001 => 2
[2,1,1,1,1] => [1,1,0,0,1,0,1,0,1,0,1,0]
=> [2,7,1,3,4,5,6] => 010000 => 2
[2,1,1,2] => [1,1,0,0,1,0,1,0,1,1,0,0]
=> [2,6,1,3,4,7,5] => 010001 => 3
[2,1,2,1] => [1,1,0,0,1,0,1,1,0,0,1,0]
=> [2,5,1,3,7,4,6] => 010010 => 4
Description
The number of changes of a binary word. This is the number of indices i such that wiwi+1.
Matching statistic: St001692
Mp00231: Integer compositions bounce pathDyck paths
Mp00201: Dyck paths RingelPermutations
Mp00160: Permutations graph of inversionsGraphs
St001692: Graphs ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1] => [1,0]
=> [2,1] => ([(0,1)],2)
=> 0
[1,1] => [1,0,1,0]
=> [3,1,2] => ([(0,2),(1,2)],3)
=> 1
[2] => [1,1,0,0]
=> [2,3,1] => ([(0,2),(1,2)],3)
=> 1
[1,1,1] => [1,0,1,0,1,0]
=> [4,1,2,3] => ([(0,3),(1,3),(2,3)],4)
=> 1
[1,2] => [1,0,1,1,0,0]
=> [3,1,4,2] => ([(0,3),(1,2),(2,3)],4)
=> 2
[2,1] => [1,1,0,0,1,0]
=> [2,4,1,3] => ([(0,3),(1,2),(2,3)],4)
=> 2
[3] => [1,1,1,0,0,0]
=> [2,3,4,1] => ([(0,3),(1,3),(2,3)],4)
=> 1
[1,1,1,1] => [1,0,1,0,1,0,1,0]
=> [5,1,2,3,4] => ([(0,4),(1,4),(2,4),(3,4)],5)
=> 1
[1,1,2] => [1,0,1,0,1,1,0,0]
=> [4,1,2,5,3] => ([(0,4),(1,4),(2,3),(3,4)],5)
=> 2
[1,2,1] => [1,0,1,1,0,0,1,0]
=> [3,1,5,2,4] => ([(0,4),(1,3),(2,3),(2,4)],5)
=> 3
[1,3] => [1,0,1,1,1,0,0,0]
=> [3,1,4,5,2] => ([(0,4),(1,4),(2,3),(3,4)],5)
=> 2
[2,1,1] => [1,1,0,0,1,0,1,0]
=> [2,5,1,3,4] => ([(0,4),(1,4),(2,3),(3,4)],5)
=> 2
[2,2] => [1,1,0,0,1,1,0,0]
=> [2,4,1,5,3] => ([(0,4),(1,3),(2,3),(2,4)],5)
=> 3
[3,1] => [1,1,1,0,0,0,1,0]
=> [2,3,5,1,4] => ([(0,4),(1,4),(2,3),(3,4)],5)
=> 2
[4] => [1,1,1,1,0,0,0,0]
=> [2,3,4,5,1] => ([(0,4),(1,4),(2,4),(3,4)],5)
=> 1
[1,1,1,1,1] => [1,0,1,0,1,0,1,0,1,0]
=> [6,1,2,3,4,5] => ([(0,5),(1,5),(2,5),(3,5),(4,5)],6)
=> 1
[1,1,1,2] => [1,0,1,0,1,0,1,1,0,0]
=> [5,1,2,3,6,4] => ([(0,5),(1,5),(2,5),(3,4),(4,5)],6)
=> 2
[1,1,2,1] => [1,0,1,0,1,1,0,0,1,0]
=> [4,1,2,6,3,5] => ([(0,5),(1,5),(2,3),(3,4),(4,5)],6)
=> 3
[1,1,3] => [1,0,1,0,1,1,1,0,0,0]
=> [4,1,2,5,6,3] => ([(0,5),(1,5),(2,4),(3,4),(4,5)],6)
=> 2
[1,2,1,1] => [1,0,1,1,0,0,1,0,1,0]
=> [3,1,6,2,4,5] => ([(0,5),(1,5),(2,3),(3,4),(4,5)],6)
=> 3
[1,2,2] => [1,0,1,1,0,0,1,1,0,0]
=> [3,1,5,2,6,4] => ([(0,5),(1,4),(2,3),(2,4),(3,5)],6)
=> 4
[1,3,1] => [1,0,1,1,1,0,0,0,1,0]
=> [3,1,4,6,2,5] => ([(0,5),(1,4),(2,3),(3,5),(4,5)],6)
=> 3
[1,4] => [1,0,1,1,1,1,0,0,0,0]
=> [3,1,4,5,6,2] => ([(0,5),(1,5),(2,5),(3,4),(4,5)],6)
=> 2
[2,1,1,1] => [1,1,0,0,1,0,1,0,1,0]
=> [2,6,1,3,4,5] => ([(0,5),(1,5),(2,5),(3,4),(4,5)],6)
=> 2
[2,1,2] => [1,1,0,0,1,0,1,1,0,0]
=> [2,5,1,3,6,4] => ([(0,5),(1,4),(2,3),(3,5),(4,5)],6)
=> 3
[2,2,1] => [1,1,0,0,1,1,0,0,1,0]
=> [2,4,1,6,3,5] => ([(0,5),(1,4),(2,3),(2,4),(3,5)],6)
=> 4
[2,3] => [1,1,0,0,1,1,1,0,0,0]
=> [2,4,1,5,6,3] => ([(0,5),(1,5),(2,3),(3,4),(4,5)],6)
=> 3
[3,1,1] => [1,1,1,0,0,0,1,0,1,0]
=> [2,3,6,1,4,5] => ([(0,5),(1,5),(2,4),(3,4),(4,5)],6)
=> 2
[3,2] => [1,1,1,0,0,0,1,1,0,0]
=> [2,3,5,1,6,4] => ([(0,5),(1,5),(2,3),(3,4),(4,5)],6)
=> 3
[4,1] => [1,1,1,1,0,0,0,0,1,0]
=> [2,3,4,6,1,5] => ([(0,5),(1,5),(2,5),(3,4),(4,5)],6)
=> 2
[5] => [1,1,1,1,1,0,0,0,0,0]
=> [2,3,4,5,6,1] => ([(0,5),(1,5),(2,5),(3,5),(4,5)],6)
=> 1
[1,1,1,1,1,1] => [1,0,1,0,1,0,1,0,1,0,1,0]
=> [7,1,2,3,4,5,6] => ([(0,6),(1,6),(2,6),(3,6),(4,6),(5,6)],7)
=> 1
[1,1,1,1,2] => [1,0,1,0,1,0,1,0,1,1,0,0]
=> [6,1,2,3,4,7,5] => ([(0,6),(1,6),(2,6),(3,6),(4,5),(5,6)],7)
=> 2
[1,1,1,2,1] => [1,0,1,0,1,0,1,1,0,0,1,0]
=> [5,1,2,3,7,4,6] => ([(0,6),(1,6),(2,6),(3,4),(4,5),(5,6)],7)
=> 3
[1,1,1,3] => [1,0,1,0,1,0,1,1,1,0,0,0]
=> [5,1,2,3,6,7,4] => ([(0,6),(1,6),(2,6),(3,5),(4,5),(5,6)],7)
=> 2
[1,1,2,1,1] => [1,0,1,0,1,1,0,0,1,0,1,0]
=> [4,1,2,7,3,5,6] => ([(0,6),(1,6),(2,5),(3,5),(4,5),(4,6)],7)
=> 3
[1,1,2,2] => [1,0,1,0,1,1,0,0,1,1,0,0]
=> [4,1,2,6,3,7,5] => ([(0,6),(1,6),(2,3),(3,5),(4,5),(4,6)],7)
=> 4
[1,1,3,1] => [1,0,1,0,1,1,1,0,0,0,1,0]
=> [4,1,2,5,7,3,6] => ([(0,6),(1,5),(2,5),(3,4),(4,6),(5,6)],7)
=> 3
[1,1,4] => [1,0,1,0,1,1,1,1,0,0,0,0]
=> [4,1,2,5,6,7,3] => ([(0,6),(1,6),(2,6),(3,5),(4,5),(5,6)],7)
=> 2
[1,2,1,1,1] => [1,0,1,1,0,0,1,0,1,0,1,0]
=> [3,1,7,2,4,5,6] => ([(0,6),(1,6),(2,6),(3,4),(4,5),(5,6)],7)
=> 3
[1,2,1,2] => [1,0,1,1,0,0,1,0,1,1,0,0]
=> [3,1,6,2,4,7,5] => ([(0,6),(1,4),(2,3),(3,6),(4,5),(5,6)],7)
=> 4
[1,2,2,1] => [1,0,1,1,0,0,1,1,0,0,1,0]
=> [3,1,5,2,7,4,6] => ([(0,6),(1,5),(2,3),(2,4),(3,5),(4,6)],7)
=> 5
[1,2,3] => [1,0,1,1,0,0,1,1,1,0,0,0]
=> [3,1,5,2,6,7,4] => ([(0,6),(1,6),(2,3),(3,5),(4,5),(4,6)],7)
=> 4
[1,3,1,1] => [1,0,1,1,1,0,0,0,1,0,1,0]
=> [3,1,4,7,2,5,6] => ([(0,6),(1,5),(2,5),(3,4),(4,6),(5,6)],7)
=> 3
[1,3,2] => [1,0,1,1,1,0,0,0,1,1,0,0]
=> [3,1,4,6,2,7,5] => ([(0,6),(1,4),(2,3),(3,6),(4,5),(5,6)],7)
=> 4
[1,4,1] => [1,0,1,1,1,1,0,0,0,0,1,0]
=> [3,1,4,5,7,2,6] => ([(0,6),(1,6),(2,5),(3,4),(4,6),(5,6)],7)
=> 3
[1,5] => [1,0,1,1,1,1,1,0,0,0,0,0]
=> [3,1,4,5,6,7,2] => ([(0,6),(1,6),(2,6),(3,6),(4,5),(5,6)],7)
=> 2
[2,1,1,1,1] => [1,1,0,0,1,0,1,0,1,0,1,0]
=> [2,7,1,3,4,5,6] => ([(0,6),(1,6),(2,6),(3,6),(4,5),(5,6)],7)
=> 2
[2,1,1,2] => [1,1,0,0,1,0,1,0,1,1,0,0]
=> [2,6,1,3,4,7,5] => ([(0,6),(1,6),(2,5),(3,4),(4,6),(5,6)],7)
=> 3
[2,1,2,1] => [1,1,0,0,1,0,1,1,0,0,1,0]
=> [2,5,1,3,7,4,6] => ([(0,6),(1,4),(2,3),(3,6),(4,5),(5,6)],7)
=> 4
Description
The number of vertices with higher degree than the average degree in a graph.
Mp00231: Integer compositions bounce pathDyck paths
Mp00201: Dyck paths RingelPermutations
Mp00160: Permutations graph of inversionsGraphs
St000259: Graphs ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1] => [1,0]
=> [2,1] => ([(0,1)],2)
=> 1 = 0 + 1
[1,1] => [1,0,1,0]
=> [3,1,2] => ([(0,2),(1,2)],3)
=> 2 = 1 + 1
[2] => [1,1,0,0]
=> [2,3,1] => ([(0,2),(1,2)],3)
=> 2 = 1 + 1
[1,1,1] => [1,0,1,0,1,0]
=> [4,1,2,3] => ([(0,3),(1,3),(2,3)],4)
=> 2 = 1 + 1
[1,2] => [1,0,1,1,0,0]
=> [3,1,4,2] => ([(0,3),(1,2),(2,3)],4)
=> 3 = 2 + 1
[2,1] => [1,1,0,0,1,0]
=> [2,4,1,3] => ([(0,3),(1,2),(2,3)],4)
=> 3 = 2 + 1
[3] => [1,1,1,0,0,0]
=> [2,3,4,1] => ([(0,3),(1,3),(2,3)],4)
=> 2 = 1 + 1
[1,1,1,1] => [1,0,1,0,1,0,1,0]
=> [5,1,2,3,4] => ([(0,4),(1,4),(2,4),(3,4)],5)
=> 2 = 1 + 1
[1,1,2] => [1,0,1,0,1,1,0,0]
=> [4,1,2,5,3] => ([(0,4),(1,4),(2,3),(3,4)],5)
=> 3 = 2 + 1
[1,2,1] => [1,0,1,1,0,0,1,0]
=> [3,1,5,2,4] => ([(0,4),(1,3),(2,3),(2,4)],5)
=> 4 = 3 + 1
[1,3] => [1,0,1,1,1,0,0,0]
=> [3,1,4,5,2] => ([(0,4),(1,4),(2,3),(3,4)],5)
=> 3 = 2 + 1
[2,1,1] => [1,1,0,0,1,0,1,0]
=> [2,5,1,3,4] => ([(0,4),(1,4),(2,3),(3,4)],5)
=> 3 = 2 + 1
[2,2] => [1,1,0,0,1,1,0,0]
=> [2,4,1,5,3] => ([(0,4),(1,3),(2,3),(2,4)],5)
=> 4 = 3 + 1
[3,1] => [1,1,1,0,0,0,1,0]
=> [2,3,5,1,4] => ([(0,4),(1,4),(2,3),(3,4)],5)
=> 3 = 2 + 1
[4] => [1,1,1,1,0,0,0,0]
=> [2,3,4,5,1] => ([(0,4),(1,4),(2,4),(3,4)],5)
=> 2 = 1 + 1
[1,1,1,1,1] => [1,0,1,0,1,0,1,0,1,0]
=> [6,1,2,3,4,5] => ([(0,5),(1,5),(2,5),(3,5),(4,5)],6)
=> 2 = 1 + 1
[1,1,1,2] => [1,0,1,0,1,0,1,1,0,0]
=> [5,1,2,3,6,4] => ([(0,5),(1,5),(2,5),(3,4),(4,5)],6)
=> 3 = 2 + 1
[1,1,2,1] => [1,0,1,0,1,1,0,0,1,0]
=> [4,1,2,6,3,5] => ([(0,5),(1,5),(2,3),(3,4),(4,5)],6)
=> 4 = 3 + 1
[1,1,3] => [1,0,1,0,1,1,1,0,0,0]
=> [4,1,2,5,6,3] => ([(0,5),(1,5),(2,4),(3,4),(4,5)],6)
=> 3 = 2 + 1
[1,2,1,1] => [1,0,1,1,0,0,1,0,1,0]
=> [3,1,6,2,4,5] => ([(0,5),(1,5),(2,3),(3,4),(4,5)],6)
=> 4 = 3 + 1
[1,2,2] => [1,0,1,1,0,0,1,1,0,0]
=> [3,1,5,2,6,4] => ([(0,5),(1,4),(2,3),(2,4),(3,5)],6)
=> 5 = 4 + 1
[1,3,1] => [1,0,1,1,1,0,0,0,1,0]
=> [3,1,4,6,2,5] => ([(0,5),(1,4),(2,3),(3,5),(4,5)],6)
=> 4 = 3 + 1
[1,4] => [1,0,1,1,1,1,0,0,0,0]
=> [3,1,4,5,6,2] => ([(0,5),(1,5),(2,5),(3,4),(4,5)],6)
=> 3 = 2 + 1
[2,1,1,1] => [1,1,0,0,1,0,1,0,1,0]
=> [2,6,1,3,4,5] => ([(0,5),(1,5),(2,5),(3,4),(4,5)],6)
=> 3 = 2 + 1
[2,1,2] => [1,1,0,0,1,0,1,1,0,0]
=> [2,5,1,3,6,4] => ([(0,5),(1,4),(2,3),(3,5),(4,5)],6)
=> 4 = 3 + 1
[2,2,1] => [1,1,0,0,1,1,0,0,1,0]
=> [2,4,1,6,3,5] => ([(0,5),(1,4),(2,3),(2,4),(3,5)],6)
=> 5 = 4 + 1
[2,3] => [1,1,0,0,1,1,1,0,0,0]
=> [2,4,1,5,6,3] => ([(0,5),(1,5),(2,3),(3,4),(4,5)],6)
=> 4 = 3 + 1
[3,1,1] => [1,1,1,0,0,0,1,0,1,0]
=> [2,3,6,1,4,5] => ([(0,5),(1,5),(2,4),(3,4),(4,5)],6)
=> 3 = 2 + 1
[3,2] => [1,1,1,0,0,0,1,1,0,0]
=> [2,3,5,1,6,4] => ([(0,5),(1,5),(2,3),(3,4),(4,5)],6)
=> 4 = 3 + 1
[4,1] => [1,1,1,1,0,0,0,0,1,0]
=> [2,3,4,6,1,5] => ([(0,5),(1,5),(2,5),(3,4),(4,5)],6)
=> 3 = 2 + 1
[5] => [1,1,1,1,1,0,0,0,0,0]
=> [2,3,4,5,6,1] => ([(0,5),(1,5),(2,5),(3,5),(4,5)],6)
=> 2 = 1 + 1
[1,1,1,1,1,1] => [1,0,1,0,1,0,1,0,1,0,1,0]
=> [7,1,2,3,4,5,6] => ([(0,6),(1,6),(2,6),(3,6),(4,6),(5,6)],7)
=> 2 = 1 + 1
[1,1,1,1,2] => [1,0,1,0,1,0,1,0,1,1,0,0]
=> [6,1,2,3,4,7,5] => ([(0,6),(1,6),(2,6),(3,6),(4,5),(5,6)],7)
=> 3 = 2 + 1
[1,1,1,2,1] => [1,0,1,0,1,0,1,1,0,0,1,0]
=> [5,1,2,3,7,4,6] => ([(0,6),(1,6),(2,6),(3,4),(4,5),(5,6)],7)
=> 4 = 3 + 1
[1,1,1,3] => [1,0,1,0,1,0,1,1,1,0,0,0]
=> [5,1,2,3,6,7,4] => ([(0,6),(1,6),(2,6),(3,5),(4,5),(5,6)],7)
=> 3 = 2 + 1
[1,1,2,1,1] => [1,0,1,0,1,1,0,0,1,0,1,0]
=> [4,1,2,7,3,5,6] => ([(0,6),(1,6),(2,5),(3,5),(4,5),(4,6)],7)
=> 4 = 3 + 1
[1,1,2,2] => [1,0,1,0,1,1,0,0,1,1,0,0]
=> [4,1,2,6,3,7,5] => ([(0,6),(1,6),(2,3),(3,5),(4,5),(4,6)],7)
=> 5 = 4 + 1
[1,1,3,1] => [1,0,1,0,1,1,1,0,0,0,1,0]
=> [4,1,2,5,7,3,6] => ([(0,6),(1,5),(2,5),(3,4),(4,6),(5,6)],7)
=> 4 = 3 + 1
[1,1,4] => [1,0,1,0,1,1,1,1,0,0,0,0]
=> [4,1,2,5,6,7,3] => ([(0,6),(1,6),(2,6),(3,5),(4,5),(5,6)],7)
=> 3 = 2 + 1
[1,2,1,1,1] => [1,0,1,1,0,0,1,0,1,0,1,0]
=> [3,1,7,2,4,5,6] => ([(0,6),(1,6),(2,6),(3,4),(4,5),(5,6)],7)
=> 4 = 3 + 1
[1,2,1,2] => [1,0,1,1,0,0,1,0,1,1,0,0]
=> [3,1,6,2,4,7,5] => ([(0,6),(1,4),(2,3),(3,6),(4,5),(5,6)],7)
=> 5 = 4 + 1
[1,2,2,1] => [1,0,1,1,0,0,1,1,0,0,1,0]
=> [3,1,5,2,7,4,6] => ([(0,6),(1,5),(2,3),(2,4),(3,5),(4,6)],7)
=> 6 = 5 + 1
[1,2,3] => [1,0,1,1,0,0,1,1,1,0,0,0]
=> [3,1,5,2,6,7,4] => ([(0,6),(1,6),(2,3),(3,5),(4,5),(4,6)],7)
=> 5 = 4 + 1
[1,3,1,1] => [1,0,1,1,1,0,0,0,1,0,1,0]
=> [3,1,4,7,2,5,6] => ([(0,6),(1,5),(2,5),(3,4),(4,6),(5,6)],7)
=> 4 = 3 + 1
[1,3,2] => [1,0,1,1,1,0,0,0,1,1,0,0]
=> [3,1,4,6,2,7,5] => ([(0,6),(1,4),(2,3),(3,6),(4,5),(5,6)],7)
=> 5 = 4 + 1
[1,4,1] => [1,0,1,1,1,1,0,0,0,0,1,0]
=> [3,1,4,5,7,2,6] => ([(0,6),(1,6),(2,5),(3,4),(4,6),(5,6)],7)
=> 4 = 3 + 1
[1,5] => [1,0,1,1,1,1,1,0,0,0,0,0]
=> [3,1,4,5,6,7,2] => ([(0,6),(1,6),(2,6),(3,6),(4,5),(5,6)],7)
=> 3 = 2 + 1
[2,1,1,1,1] => [1,1,0,0,1,0,1,0,1,0,1,0]
=> [2,7,1,3,4,5,6] => ([(0,6),(1,6),(2,6),(3,6),(4,5),(5,6)],7)
=> 3 = 2 + 1
[2,1,1,2] => [1,1,0,0,1,0,1,0,1,1,0,0]
=> [2,6,1,3,4,7,5] => ([(0,6),(1,6),(2,5),(3,4),(4,6),(5,6)],7)
=> 4 = 3 + 1
[2,1,2,1] => [1,1,0,0,1,0,1,1,0,0,1,0]
=> [2,5,1,3,7,4,6] => ([(0,6),(1,4),(2,3),(3,6),(4,5),(5,6)],7)
=> 5 = 4 + 1
Description
The diameter of a connected graph. This is the greatest distance between any pair of vertices.
Matching statistic: St001120
Mp00231: Integer compositions bounce pathDyck paths
Mp00201: Dyck paths RingelPermutations
Mp00160: Permutations graph of inversionsGraphs
St001120: Graphs ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1] => [1,0]
=> [2,1] => ([(0,1)],2)
=> 1 = 0 + 1
[1,1] => [1,0,1,0]
=> [3,1,2] => ([(0,2),(1,2)],3)
=> 2 = 1 + 1
[2] => [1,1,0,0]
=> [2,3,1] => ([(0,2),(1,2)],3)
=> 2 = 1 + 1
[1,1,1] => [1,0,1,0,1,0]
=> [4,1,2,3] => ([(0,3),(1,3),(2,3)],4)
=> 2 = 1 + 1
[1,2] => [1,0,1,1,0,0]
=> [3,1,4,2] => ([(0,3),(1,2),(2,3)],4)
=> 3 = 2 + 1
[2,1] => [1,1,0,0,1,0]
=> [2,4,1,3] => ([(0,3),(1,2),(2,3)],4)
=> 3 = 2 + 1
[3] => [1,1,1,0,0,0]
=> [2,3,4,1] => ([(0,3),(1,3),(2,3)],4)
=> 2 = 1 + 1
[1,1,1,1] => [1,0,1,0,1,0,1,0]
=> [5,1,2,3,4] => ([(0,4),(1,4),(2,4),(3,4)],5)
=> 2 = 1 + 1
[1,1,2] => [1,0,1,0,1,1,0,0]
=> [4,1,2,5,3] => ([(0,4),(1,4),(2,3),(3,4)],5)
=> 3 = 2 + 1
[1,2,1] => [1,0,1,1,0,0,1,0]
=> [3,1,5,2,4] => ([(0,4),(1,3),(2,3),(2,4)],5)
=> 4 = 3 + 1
[1,3] => [1,0,1,1,1,0,0,0]
=> [3,1,4,5,2] => ([(0,4),(1,4),(2,3),(3,4)],5)
=> 3 = 2 + 1
[2,1,1] => [1,1,0,0,1,0,1,0]
=> [2,5,1,3,4] => ([(0,4),(1,4),(2,3),(3,4)],5)
=> 3 = 2 + 1
[2,2] => [1,1,0,0,1,1,0,0]
=> [2,4,1,5,3] => ([(0,4),(1,3),(2,3),(2,4)],5)
=> 4 = 3 + 1
[3,1] => [1,1,1,0,0,0,1,0]
=> [2,3,5,1,4] => ([(0,4),(1,4),(2,3),(3,4)],5)
=> 3 = 2 + 1
[4] => [1,1,1,1,0,0,0,0]
=> [2,3,4,5,1] => ([(0,4),(1,4),(2,4),(3,4)],5)
=> 2 = 1 + 1
[1,1,1,1,1] => [1,0,1,0,1,0,1,0,1,0]
=> [6,1,2,3,4,5] => ([(0,5),(1,5),(2,5),(3,5),(4,5)],6)
=> 2 = 1 + 1
[1,1,1,2] => [1,0,1,0,1,0,1,1,0,0]
=> [5,1,2,3,6,4] => ([(0,5),(1,5),(2,5),(3,4),(4,5)],6)
=> 3 = 2 + 1
[1,1,2,1] => [1,0,1,0,1,1,0,0,1,0]
=> [4,1,2,6,3,5] => ([(0,5),(1,5),(2,3),(3,4),(4,5)],6)
=> 4 = 3 + 1
[1,1,3] => [1,0,1,0,1,1,1,0,0,0]
=> [4,1,2,5,6,3] => ([(0,5),(1,5),(2,4),(3,4),(4,5)],6)
=> 3 = 2 + 1
[1,2,1,1] => [1,0,1,1,0,0,1,0,1,0]
=> [3,1,6,2,4,5] => ([(0,5),(1,5),(2,3),(3,4),(4,5)],6)
=> 4 = 3 + 1
[1,2,2] => [1,0,1,1,0,0,1,1,0,0]
=> [3,1,5,2,6,4] => ([(0,5),(1,4),(2,3),(2,4),(3,5)],6)
=> 5 = 4 + 1
[1,3,1] => [1,0,1,1,1,0,0,0,1,0]
=> [3,1,4,6,2,5] => ([(0,5),(1,4),(2,3),(3,5),(4,5)],6)
=> 4 = 3 + 1
[1,4] => [1,0,1,1,1,1,0,0,0,0]
=> [3,1,4,5,6,2] => ([(0,5),(1,5),(2,5),(3,4),(4,5)],6)
=> 3 = 2 + 1
[2,1,1,1] => [1,1,0,0,1,0,1,0,1,0]
=> [2,6,1,3,4,5] => ([(0,5),(1,5),(2,5),(3,4),(4,5)],6)
=> 3 = 2 + 1
[2,1,2] => [1,1,0,0,1,0,1,1,0,0]
=> [2,5,1,3,6,4] => ([(0,5),(1,4),(2,3),(3,5),(4,5)],6)
=> 4 = 3 + 1
[2,2,1] => [1,1,0,0,1,1,0,0,1,0]
=> [2,4,1,6,3,5] => ([(0,5),(1,4),(2,3),(2,4),(3,5)],6)
=> 5 = 4 + 1
[2,3] => [1,1,0,0,1,1,1,0,0,0]
=> [2,4,1,5,6,3] => ([(0,5),(1,5),(2,3),(3,4),(4,5)],6)
=> 4 = 3 + 1
[3,1,1] => [1,1,1,0,0,0,1,0,1,0]
=> [2,3,6,1,4,5] => ([(0,5),(1,5),(2,4),(3,4),(4,5)],6)
=> 3 = 2 + 1
[3,2] => [1,1,1,0,0,0,1,1,0,0]
=> [2,3,5,1,6,4] => ([(0,5),(1,5),(2,3),(3,4),(4,5)],6)
=> 4 = 3 + 1
[4,1] => [1,1,1,1,0,0,0,0,1,0]
=> [2,3,4,6,1,5] => ([(0,5),(1,5),(2,5),(3,4),(4,5)],6)
=> 3 = 2 + 1
[5] => [1,1,1,1,1,0,0,0,0,0]
=> [2,3,4,5,6,1] => ([(0,5),(1,5),(2,5),(3,5),(4,5)],6)
=> 2 = 1 + 1
[1,1,1,1,1,1] => [1,0,1,0,1,0,1,0,1,0,1,0]
=> [7,1,2,3,4,5,6] => ([(0,6),(1,6),(2,6),(3,6),(4,6),(5,6)],7)
=> 2 = 1 + 1
[1,1,1,1,2] => [1,0,1,0,1,0,1,0,1,1,0,0]
=> [6,1,2,3,4,7,5] => ([(0,6),(1,6),(2,6),(3,6),(4,5),(5,6)],7)
=> 3 = 2 + 1
[1,1,1,2,1] => [1,0,1,0,1,0,1,1,0,0,1,0]
=> [5,1,2,3,7,4,6] => ([(0,6),(1,6),(2,6),(3,4),(4,5),(5,6)],7)
=> 4 = 3 + 1
[1,1,1,3] => [1,0,1,0,1,0,1,1,1,0,0,0]
=> [5,1,2,3,6,7,4] => ([(0,6),(1,6),(2,6),(3,5),(4,5),(5,6)],7)
=> 3 = 2 + 1
[1,1,2,1,1] => [1,0,1,0,1,1,0,0,1,0,1,0]
=> [4,1,2,7,3,5,6] => ([(0,6),(1,6),(2,5),(3,5),(4,5),(4,6)],7)
=> 4 = 3 + 1
[1,1,2,2] => [1,0,1,0,1,1,0,0,1,1,0,0]
=> [4,1,2,6,3,7,5] => ([(0,6),(1,6),(2,3),(3,5),(4,5),(4,6)],7)
=> 5 = 4 + 1
[1,1,3,1] => [1,0,1,0,1,1,1,0,0,0,1,0]
=> [4,1,2,5,7,3,6] => ([(0,6),(1,5),(2,5),(3,4),(4,6),(5,6)],7)
=> 4 = 3 + 1
[1,1,4] => [1,0,1,0,1,1,1,1,0,0,0,0]
=> [4,1,2,5,6,7,3] => ([(0,6),(1,6),(2,6),(3,5),(4,5),(5,6)],7)
=> 3 = 2 + 1
[1,2,1,1,1] => [1,0,1,1,0,0,1,0,1,0,1,0]
=> [3,1,7,2,4,5,6] => ([(0,6),(1,6),(2,6),(3,4),(4,5),(5,6)],7)
=> 4 = 3 + 1
[1,2,1,2] => [1,0,1,1,0,0,1,0,1,1,0,0]
=> [3,1,6,2,4,7,5] => ([(0,6),(1,4),(2,3),(3,6),(4,5),(5,6)],7)
=> 5 = 4 + 1
[1,2,2,1] => [1,0,1,1,0,0,1,1,0,0,1,0]
=> [3,1,5,2,7,4,6] => ([(0,6),(1,5),(2,3),(2,4),(3,5),(4,6)],7)
=> 6 = 5 + 1
[1,2,3] => [1,0,1,1,0,0,1,1,1,0,0,0]
=> [3,1,5,2,6,7,4] => ([(0,6),(1,6),(2,3),(3,5),(4,5),(4,6)],7)
=> 5 = 4 + 1
[1,3,1,1] => [1,0,1,1,1,0,0,0,1,0,1,0]
=> [3,1,4,7,2,5,6] => ([(0,6),(1,5),(2,5),(3,4),(4,6),(5,6)],7)
=> 4 = 3 + 1
[1,3,2] => [1,0,1,1,1,0,0,0,1,1,0,0]
=> [3,1,4,6,2,7,5] => ([(0,6),(1,4),(2,3),(3,6),(4,5),(5,6)],7)
=> 5 = 4 + 1
[1,4,1] => [1,0,1,1,1,1,0,0,0,0,1,0]
=> [3,1,4,5,7,2,6] => ([(0,6),(1,6),(2,5),(3,4),(4,6),(5,6)],7)
=> 4 = 3 + 1
[1,5] => [1,0,1,1,1,1,1,0,0,0,0,0]
=> [3,1,4,5,6,7,2] => ([(0,6),(1,6),(2,6),(3,6),(4,5),(5,6)],7)
=> 3 = 2 + 1
[2,1,1,1,1] => [1,1,0,0,1,0,1,0,1,0,1,0]
=> [2,7,1,3,4,5,6] => ([(0,6),(1,6),(2,6),(3,6),(4,5),(5,6)],7)
=> 3 = 2 + 1
[2,1,1,2] => [1,1,0,0,1,0,1,0,1,1,0,0]
=> [2,6,1,3,4,7,5] => ([(0,6),(1,6),(2,5),(3,4),(4,6),(5,6)],7)
=> 4 = 3 + 1
[2,1,2,1] => [1,1,0,0,1,0,1,1,0,0,1,0]
=> [2,5,1,3,7,4,6] => ([(0,6),(1,4),(2,3),(3,6),(4,5),(5,6)],7)
=> 5 = 4 + 1
Description
The length of a longest path in a graph.
Matching statistic: St001093
Mp00231: Integer compositions bounce pathDyck paths
Mp00201: Dyck paths RingelPermutations
Mp00160: Permutations graph of inversionsGraphs
St001093: Graphs ⟶ ℤResult quality: 100% values known / values provided: 100%distinct values known / distinct values provided: 100%
Values
[1] => [1,0]
=> [2,1] => ([(0,1)],2)
=> 2 = 0 + 2
[1,1] => [1,0,1,0]
=> [3,1,2] => ([(0,2),(1,2)],3)
=> 3 = 1 + 2
[2] => [1,1,0,0]
=> [2,3,1] => ([(0,2),(1,2)],3)
=> 3 = 1 + 2
[1,1,1] => [1,0,1,0,1,0]
=> [4,1,2,3] => ([(0,3),(1,3),(2,3)],4)
=> 3 = 1 + 2
[1,2] => [1,0,1,1,0,0]
=> [3,1,4,2] => ([(0,3),(1,2),(2,3)],4)
=> 4 = 2 + 2
[2,1] => [1,1,0,0,1,0]
=> [2,4,1,3] => ([(0,3),(1,2),(2,3)],4)
=> 4 = 2 + 2
[3] => [1,1,1,0,0,0]
=> [2,3,4,1] => ([(0,3),(1,3),(2,3)],4)
=> 3 = 1 + 2
[1,1,1,1] => [1,0,1,0,1,0,1,0]
=> [5,1,2,3,4] => ([(0,4),(1,4),(2,4),(3,4)],5)
=> 3 = 1 + 2
[1,1,2] => [1,0,1,0,1,1,0,0]
=> [4,1,2,5,3] => ([(0,4),(1,4),(2,3),(3,4)],5)
=> 4 = 2 + 2
[1,2,1] => [1,0,1,1,0,0,1,0]
=> [3,1,5,2,4] => ([(0,4),(1,3),(2,3),(2,4)],5)
=> 5 = 3 + 2
[1,3] => [1,0,1,1,1,0,0,0]
=> [3,1,4,5,2] => ([(0,4),(1,4),(2,3),(3,4)],5)
=> 4 = 2 + 2
[2,1,1] => [1,1,0,0,1,0,1,0]
=> [2,5,1,3,4] => ([(0,4),(1,4),(2,3),(3,4)],5)
=> 4 = 2 + 2
[2,2] => [1,1,0,0,1,1,0,0]
=> [2,4,1,5,3] => ([(0,4),(1,3),(2,3),(2,4)],5)
=> 5 = 3 + 2
[3,1] => [1,1,1,0,0,0,1,0]
=> [2,3,5,1,4] => ([(0,4),(1,4),(2,3),(3,4)],5)
=> 4 = 2 + 2
[4] => [1,1,1,1,0,0,0,0]
=> [2,3,4,5,1] => ([(0,4),(1,4),(2,4),(3,4)],5)
=> 3 = 1 + 2
[1,1,1,1,1] => [1,0,1,0,1,0,1,0,1,0]
=> [6,1,2,3,4,5] => ([(0,5),(1,5),(2,5),(3,5),(4,5)],6)
=> 3 = 1 + 2
[1,1,1,2] => [1,0,1,0,1,0,1,1,0,0]
=> [5,1,2,3,6,4] => ([(0,5),(1,5),(2,5),(3,4),(4,5)],6)
=> 4 = 2 + 2
[1,1,2,1] => [1,0,1,0,1,1,0,0,1,0]
=> [4,1,2,6,3,5] => ([(0,5),(1,5),(2,3),(3,4),(4,5)],6)
=> 5 = 3 + 2
[1,1,3] => [1,0,1,0,1,1,1,0,0,0]
=> [4,1,2,5,6,3] => ([(0,5),(1,5),(2,4),(3,4),(4,5)],6)
=> 4 = 2 + 2
[1,2,1,1] => [1,0,1,1,0,0,1,0,1,0]
=> [3,1,6,2,4,5] => ([(0,5),(1,5),(2,3),(3,4),(4,5)],6)
=> 5 = 3 + 2
[1,2,2] => [1,0,1,1,0,0,1,1,0,0]
=> [3,1,5,2,6,4] => ([(0,5),(1,4),(2,3),(2,4),(3,5)],6)
=> 6 = 4 + 2
[1,3,1] => [1,0,1,1,1,0,0,0,1,0]
=> [3,1,4,6,2,5] => ([(0,5),(1,4),(2,3),(3,5),(4,5)],6)
=> 5 = 3 + 2
[1,4] => [1,0,1,1,1,1,0,0,0,0]
=> [3,1,4,5,6,2] => ([(0,5),(1,5),(2,5),(3,4),(4,5)],6)
=> 4 = 2 + 2
[2,1,1,1] => [1,1,0,0,1,0,1,0,1,0]
=> [2,6,1,3,4,5] => ([(0,5),(1,5),(2,5),(3,4),(4,5)],6)
=> 4 = 2 + 2
[2,1,2] => [1,1,0,0,1,0,1,1,0,0]
=> [2,5,1,3,6,4] => ([(0,5),(1,4),(2,3),(3,5),(4,5)],6)
=> 5 = 3 + 2
[2,2,1] => [1,1,0,0,1,1,0,0,1,0]
=> [2,4,1,6,3,5] => ([(0,5),(1,4),(2,3),(2,4),(3,5)],6)
=> 6 = 4 + 2
[2,3] => [1,1,0,0,1,1,1,0,0,0]
=> [2,4,1,5,6,3] => ([(0,5),(1,5),(2,3),(3,4),(4,5)],6)
=> 5 = 3 + 2
[3,1,1] => [1,1,1,0,0,0,1,0,1,0]
=> [2,3,6,1,4,5] => ([(0,5),(1,5),(2,4),(3,4),(4,5)],6)
=> 4 = 2 + 2
[3,2] => [1,1,1,0,0,0,1,1,0,0]
=> [2,3,5,1,6,4] => ([(0,5),(1,5),(2,3),(3,4),(4,5)],6)
=> 5 = 3 + 2
[4,1] => [1,1,1,1,0,0,0,0,1,0]
=> [2,3,4,6,1,5] => ([(0,5),(1,5),(2,5),(3,4),(4,5)],6)
=> 4 = 2 + 2
[5] => [1,1,1,1,1,0,0,0,0,0]
=> [2,3,4,5,6,1] => ([(0,5),(1,5),(2,5),(3,5),(4,5)],6)
=> 3 = 1 + 2
[1,1,1,1,1,1] => [1,0,1,0,1,0,1,0,1,0,1,0]
=> [7,1,2,3,4,5,6] => ([(0,6),(1,6),(2,6),(3,6),(4,6),(5,6)],7)
=> 3 = 1 + 2
[1,1,1,1,2] => [1,0,1,0,1,0,1,0,1,1,0,0]
=> [6,1,2,3,4,7,5] => ([(0,6),(1,6),(2,6),(3,6),(4,5),(5,6)],7)
=> 4 = 2 + 2
[1,1,1,2,1] => [1,0,1,0,1,0,1,1,0,0,1,0]
=> [5,1,2,3,7,4,6] => ([(0,6),(1,6),(2,6),(3,4),(4,5),(5,6)],7)
=> 5 = 3 + 2
[1,1,1,3] => [1,0,1,0,1,0,1,1,1,0,0,0]
=> [5,1,2,3,6,7,4] => ([(0,6),(1,6),(2,6),(3,5),(4,5),(5,6)],7)
=> 4 = 2 + 2
[1,1,2,1,1] => [1,0,1,0,1,1,0,0,1,0,1,0]
=> [4,1,2,7,3,5,6] => ([(0,6),(1,6),(2,5),(3,5),(4,5),(4,6)],7)
=> 5 = 3 + 2
[1,1,2,2] => [1,0,1,0,1,1,0,0,1,1,0,0]
=> [4,1,2,6,3,7,5] => ([(0,6),(1,6),(2,3),(3,5),(4,5),(4,6)],7)
=> 6 = 4 + 2
[1,1,3,1] => [1,0,1,0,1,1,1,0,0,0,1,0]
=> [4,1,2,5,7,3,6] => ([(0,6),(1,5),(2,5),(3,4),(4,6),(5,6)],7)
=> 5 = 3 + 2
[1,1,4] => [1,0,1,0,1,1,1,1,0,0,0,0]
=> [4,1,2,5,6,7,3] => ([(0,6),(1,6),(2,6),(3,5),(4,5),(5,6)],7)
=> 4 = 2 + 2
[1,2,1,1,1] => [1,0,1,1,0,0,1,0,1,0,1,0]
=> [3,1,7,2,4,5,6] => ([(0,6),(1,6),(2,6),(3,4),(4,5),(5,6)],7)
=> 5 = 3 + 2
[1,2,1,2] => [1,0,1,1,0,0,1,0,1,1,0,0]
=> [3,1,6,2,4,7,5] => ([(0,6),(1,4),(2,3),(3,6),(4,5),(5,6)],7)
=> 6 = 4 + 2
[1,2,2,1] => [1,0,1,1,0,0,1,1,0,0,1,0]
=> [3,1,5,2,7,4,6] => ([(0,6),(1,5),(2,3),(2,4),(3,5),(4,6)],7)
=> 7 = 5 + 2
[1,2,3] => [1,0,1,1,0,0,1,1,1,0,0,0]
=> [3,1,5,2,6,7,4] => ([(0,6),(1,6),(2,3),(3,5),(4,5),(4,6)],7)
=> 6 = 4 + 2
[1,3,1,1] => [1,0,1,1,1,0,0,0,1,0,1,0]
=> [3,1,4,7,2,5,6] => ([(0,6),(1,5),(2,5),(3,4),(4,6),(5,6)],7)
=> 5 = 3 + 2
[1,3,2] => [1,0,1,1,1,0,0,0,1,1,0,0]
=> [3,1,4,6,2,7,5] => ([(0,6),(1,4),(2,3),(3,6),(4,5),(5,6)],7)
=> 6 = 4 + 2
[1,4,1] => [1,0,1,1,1,1,0,0,0,0,1,0]
=> [3,1,4,5,7,2,6] => ([(0,6),(1,6),(2,5),(3,4),(4,6),(5,6)],7)
=> 5 = 3 + 2
[1,5] => [1,0,1,1,1,1,1,0,0,0,0,0]
=> [3,1,4,5,6,7,2] => ([(0,6),(1,6),(2,6),(3,6),(4,5),(5,6)],7)
=> 4 = 2 + 2
[2,1,1,1,1] => [1,1,0,0,1,0,1,0,1,0,1,0]
=> [2,7,1,3,4,5,6] => ([(0,6),(1,6),(2,6),(3,6),(4,5),(5,6)],7)
=> 4 = 2 + 2
[2,1,1,2] => [1,1,0,0,1,0,1,0,1,1,0,0]
=> [2,6,1,3,4,7,5] => ([(0,6),(1,6),(2,5),(3,4),(4,6),(5,6)],7)
=> 5 = 3 + 2
[2,1,2,1] => [1,1,0,0,1,0,1,1,0,0,1,0]
=> [2,5,1,3,7,4,6] => ([(0,6),(1,4),(2,3),(3,6),(4,5),(5,6)],7)
=> 6 = 4 + 2
Description
The detour number of a graph. This is the number of vertices in a longest induced path in a graph. Note that [1] defines the detour number as the number of edges in a longest induced path, which is unsuitable for the empty graph.
Mp00231: Integer compositions bounce pathDyck paths
Mp00296: Dyck paths Knuth-KrattenthalerDyck paths
St001499: Dyck paths ⟶ ℤResult quality: 83% values known / values provided: 98%distinct values known / distinct values provided: 83%
Values
[1] => [1,0]
=> [1,0]
=> ? = 0
[1,1] => [1,0,1,0]
=> [1,1,0,0]
=> 1
[2] => [1,1,0,0]
=> [1,0,1,0]
=> 1
[1,1,1] => [1,0,1,0,1,0]
=> [1,1,1,0,0,0]
=> 1
[1,2] => [1,0,1,1,0,0]
=> [1,1,0,1,0,0]
=> 2
[2,1] => [1,1,0,0,1,0]
=> [1,0,1,0,1,0]
=> 2
[3] => [1,1,1,0,0,0]
=> [1,1,0,0,1,0]
=> 1
[1,1,1,1] => [1,0,1,0,1,0,1,0]
=> [1,1,1,1,0,0,0,0]
=> 1
[1,1,2] => [1,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
[1,2,3] => [1,0,1,1,0,0,1,1,1,0,0,0]
=> [1,1,0,1,1,0,0,1,0,1,0,0]
=> 4
[1,3,1,1] => [1,0,1,1,1,0,0,0,1,0,1,0]
=> [1,1,1,0,1,1,0,0,0,1,0,0]
=> 3
[1,3,2] => [1,0,1,1,1,0,0,0,1,1,0,0]
=> [1,1,1,0,1,0,1,0,0,1,0,0]
=> 4
[1,4,1] => [1,0,1,1,1,1,0,0,0,0,1,0]
=> [1,1,1,1,0,1,0,0,0,1,0,0]
=> 3
[1,5] => [1,0,1,1,1,1,1,0,0,0,0,0]
=> [1,1,1,1,1,0,0,0,0,1,0,0]
=> 2
[2,1,1,1,1] => [1,1,0,0,1,0,1,0,1,0,1,0]
=> [1,0,1,1,1,1,0,0,0,0,1,0]
=> 2
[2,1,1,2] => [1,1,0,0,1,0,1,0,1,1,0,0]
=> [1,0,1,1,1,0,1,0,0,0,1,0]
=> 3
[2,1,2,1] => [1,1,0,0,1,0,1,1,0,0,1,0]
=> [1,0,1,1,0,1,0,1,0,0,1,0]
=> 4
[2,1,3] => [1,1,0,0,1,0,1,1,1,0,0,0]
=> [1,0,1,1,1,0,0,1,0,0,1,0]
=> 3
Description
The number of indecomposable projective-injective modules of a magnitude 1 Nakayama algebra. We use the bijection in the code by Christian Stump to have a bijection to Dyck paths.
Mp00231: Integer compositions bounce pathDyck paths
Mp00229: Dyck paths Delest-ViennotDyck paths
St001035: Dyck paths ⟶ ℤResult quality: 83% values known / values provided: 98%distinct values known / distinct values provided: 83%
Values
[1] => [1,0]
=> [1,0]
=> ? = 0 - 1
[1,1] => [1,0,1,0]
=> [1,1,0,0]
=> 0 = 1 - 1
[2] => [1,1,0,0]
=> [1,0,1,0]
=> 0 = 1 - 1
[1,1,1] => [1,0,1,0,1,0]
=> [1,1,0,1,0,0]
=> 0 = 1 - 1
[1,2] => [1,0,1,1,0,0]
=> [1,1,0,0,1,0]
=> 1 = 2 - 1
[2,1] => [1,1,0,0,1,0]
=> [1,0,1,1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3] => [1,1,0,0,1,0,1,1,1,0,0,0]
=> [1,0,1,1,0,1,0,0,1,0,1,0]
=> 2 = 3 - 1
Description
The convexity degree of the parallelogram polyomino associated with the Dyck path. A parallelogram polyomino is k-convex if k is the maximal number of turns an axis-parallel path must take to connect two cells of the polyomino. For example, any rotation of a Ferrers shape has convexity degree at most one. The (bivariate) generating function is given in Theorem 2 of [1].
Matching statistic: St000836
Mp00231: Integer compositions bounce pathDyck paths
Mp00222: Dyck paths peaks-to-valleysDyck paths
Mp00025: Dyck paths to 132-avoiding permutationPermutations
St000836: Permutations ⟶ ℤResult quality: 83% values known / values provided: 98%distinct values known / distinct values provided: 83%
Values
[1] => [1,0]
=> [1,0]
=> [1] => ? = 0 - 1
[1,1] => [1,0,1,0]
=> [1,1,0,0]
=> [1,2] => 0 = 1 - 1
[2] => [1,1,0,0]
=> [1,0,1,0]
=> [2,1] => 0 = 1 - 1
[1,1,1] => [1,0,1,0,1,0]
=> [1,1,1,0,0,0]
=> [1,2,3] => 0 = 1 - 1
[1,2] => [1,0,1,1,0,0]
=> [1,1,0,0,1,0]
=> [3,1,2] => 1 = 2 - 1
[2,1] => [1,1,0,0,1,0]
=> [1,0,1,1,0,0]
=> [2,3,1] => 1 = 2 - 1
[3] => [1,1,1,0,0,0]
=> [1,1,0,1,0,0]
=> [2,1,3] => 0 = 1 - 1
[1,1,1,1] => [1,0,1,0,1,0,1,0]
=> [1,1,1,1,0,0,0,0]
=> [1,2,3,4] => 0 = 1 - 1
[1,1,2] => [1,0,1,0,1,1,0,0]
=> [1,1,1,0,0,0,1,0]
=> [4,1,2,3] => 1 = 2 - 1
[1,2,1] => [1,0,1,1,0,0,1,0]
=> [1,1,0,0,1,1,0,0]
=> [3,4,1,2] => 2 = 3 - 1
[1,3] => [1,0,1,1,1,0,0,0]
=> [1,1,1,0,0,1,0,0]
=> [3,1,2,4] => 1 = 2 - 1
[2,1,1] => [1,1,0,0,1,0,1,0]
=> [1,0,1,1,1,0,0,0]
=> [2,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,1,1,1,1,0,0,0,0,1,0]
=> [6,2,3,4,5,1] => 2 = 3 - 1
[2,1,2,1] => [1,1,0,0,1,0,1,1,0,0,1,0]
=> [1,0,1,1,1,0,0,0,1,1,0,0]
=> [5,6,2,3,4,1] => 3 = 4 - 1
[2,1,3] => [1,1,0,0,1,0,1,1,1,0,0,0]
=> [1,0,1,1,1,1,0,0,0,1,0,0]
=> [5,2,3,4,6,1] => 2 = 3 - 1
Description
The number of descents of distance 2 of a permutation. This is, des2(π)=|{i:π(i)>π(i+2)}|.
The following 15 statistics, ordered by result quality, also match your data. Click on any of them to see the details.
St000837The number of ascents of distance 2 of a permutation. St001388The number of non-attacking neighbors of a permutation. St001036The number of inner corners of the parallelogram polyomino associated with the Dyck path. St000483The number of times a permutation switches from increasing to decreasing or decreasing to increasing. St000670The reversal length of a permutation. St000777The number of distinct eigenvalues of the distance Laplacian of a connected graph. St001488The number of corners of a skew partition. St000831The number of indices that are either descents or recoils. St001649The length of a longest trail in a graph. St000455The second largest eigenvalue of a graph if it is integral. St001582The grades of the simple modules corresponding to the points in the poset of the symmetric group under the Bruhat order. St000075The orbit size of a standard tableau under promotion. St000706The product of the factorials of the multiplicities of an integer partition. St000993The multiplicity of the largest part of an integer partition. St000260The radius of a connected graph.