Identifier
Values
[1,0] => 10 => 01 => 01 => 0
[1,0,1,0] => 1010 => 0101 => 1001 => 2
[1,1,0,0] => 1100 => 0011 => 0011 => 0
[1,0,1,0,1,0] => 101010 => 010101 => 110001 => 6
[1,0,1,1,0,0] => 101100 => 001101 => 100101 => 4
[1,1,0,0,1,0] => 110010 => 010011 => 010011 => 2
[1,1,0,1,0,0] => 110100 => 001011 => 100011 => 3
[1,1,1,0,0,0] => 111000 => 000111 => 000111 => 0
[1,0,1,0,1,0,1,0] => 10101010 => 01010101 => 11100001 => 12
[1,0,1,0,1,1,0,0] => 10101100 => 00110101 => 11001001 => 10
[1,0,1,1,0,0,1,0] => 10110010 => 01001101 => 10100101 => 8
[1,0,1,1,0,1,0,0] => 10110100 => 00101101 => 11000101 => 9
[1,0,1,1,1,0,0,0] => 10111000 => 00011101 => 10001101 => 6
[1,1,0,0,1,0,1,0] => 11001010 => 01010011 => 01100011 => 6
[1,1,0,0,1,1,0,0] => 11001100 => 00110011 => 01001011 => 4
[1,1,0,1,0,0,1,0] => 11010010 => 01001011 => 10100011 => 7
[1,1,0,1,0,1,0,0] => 11010100 => 00101011 => 11000011 => 8
[1,1,0,1,1,0,0,0] => 11011000 => 00011011 => 10001011 => 5
[1,1,1,0,0,0,1,0] => 11100010 => 01000111 => 00100111 => 2
[1,1,1,0,0,1,0,0] => 11100100 => 00100111 => 01000111 => 3
[1,1,1,0,1,0,0,0] => 11101000 => 00010111 => 10000111 => 4
[1,1,1,1,0,0,0,0] => 11110000 => 00001111 => 00001111 => 0
[1,0,1,0,1,0,1,0,1,0] => 1010101010 => 0101010101 => 1111000001 => 20
[1,0,1,0,1,0,1,1,0,0] => 1010101100 => 0011010101 => 1110010001 => 18
[1,0,1,0,1,1,0,0,1,0] => 1010110010 => 0100110101 => 1101001001 => 16
[1,0,1,0,1,1,0,1,0,0] => 1010110100 => 0010110101 => 1110001001 => 17
[1,0,1,0,1,1,1,0,0,0] => 1010111000 => 0001110101 => 1100011001 => 14
[1,0,1,1,0,0,1,0,1,0] => 1011001010 => 0101001101 => 1011000101 => 14
[1,0,1,1,0,0,1,1,0,0] => 1011001100 => 0011001101 => 1010010101 => 12
[1,0,1,1,0,1,0,0,1,0] => 1011010010 => 0100101101 => 1101000101 => 15
[1,0,1,1,0,1,0,1,0,0] => 1011010100 => 0010101101 => 1110000101 => 16
[1,0,1,1,0,1,1,0,0,0] => 1011011000 => 0001101101 => 1100010101 => 13
[1,1,0,0,1,1,0,0,1,0] => 1100110010 => 0100110011 => 0101001011 => 8
[1,1,0,0,1,1,1,0,0,0] => 1100111000 => 0001110011 => 0100011011 => 6
[1,1,1,0,0,0,1,0,1,0] => 1110001010 => 0101000111 => 0011000111 => 6
[1,1,1,0,0,0,1,1,0,0] => 1110001100 => 0011000111 => 0010010111 => 4
[1,1,1,0,0,1,0,0,1,0] => 1110010010 => 0100100111 => 0101000111 => 7
[1,1,1,0,0,1,1,0,0,0] => 1110011000 => 0001100111 => 0100010111 => 5
[1,1,1,1,0,0,0,0,1,0] => 1111000010 => 0100001111 => 0001001111 => 2
[1,1,1,1,0,0,0,1,0,0] => 1111000100 => 0010001111 => 0010001111 => 3
[1,1,1,1,0,0,1,0,0,0] => 1111001000 => 0001001111 => 0100001111 => 4
[1,1,1,1,1,0,0,0,0,0] => 1111100000 => 0000011111 => 0000011111 => 0
[1,0,1,0,1,0,1,0,1,0,1,0] => 101010101010 => 010101010101 => 111110000001 => 30
[1,0,1,0,1,0,1,0,1,1,0,0] => 101010101100 => 001101010101 => 111100100001 => 28
[1,0,1,0,1,0,1,1,0,0,1,0] => 101010110010 => 010011010101 => 111010010001 => 26
[1,0,1,0,1,0,1,1,0,1,0,0] => 101010110100 => 001011010101 => 111100010001 => 27
[1,0,1,0,1,0,1,1,1,0,0,0] => 101010111000 => 000111010101 => 111000110001 => 24
[1,0,1,0,1,1,0,0,1,0,1,0] => 101011001010 => 010100110101 => 110110001001 => 24
[1,0,1,0,1,1,0,0,1,1,0,0] => 101011001100 => 001100110101 => 110100101001 => 22
[1,0,1,0,1,1,0,1,0,0,1,0] => 101011010010 => 010010110101 => 111010001001 => 25
[1,0,1,0,1,1,0,1,0,1,0,0] => 101011010100 => 001010110101 => 111100001001 => 26
[1,0,1,0,1,1,0,1,1,0,0,0] => 101011011000 => 000110110101 => 111000101001 => 23
[1,0,1,0,1,1,1,0,0,0,1,0] => 101011100010 => 010001110101 => 110010011001 => 20
[1,0,1,0,1,1,1,0,0,1,0,0] => 101011100100 => 001001110101 => 110100011001 => 21
[1,0,1,0,1,1,1,0,1,0,0,0] => 101011101000 => 000101110101 => 111000011001 => 22
[1,0,1,1,0,0,1,0,1,0,1,0] => 101100101010 => 010101001101 => 101110000101 => 22
[1,0,1,1,0,0,1,0,1,1,0,0] => 101100101100 => 001101001101 => 101100100101 => 20
[1,0,1,1,0,0,1,1,0,0,1,0] => 101100110010 => 010011001101 => 101010010101 => 18
[1,0,1,1,0,0,1,1,0,1,0,0] => 101100110100 => 001011001101 => 101100010101 => 19
[1,0,1,1,0,1,0,0,1,0,1,0] => 101101001010 => 010100101101 => 110110000101 => 23
[1,0,1,1,0,1,0,0,1,1,0,0] => 101101001100 => 001100101101 => 110100100101 => 21
[1,0,1,1,0,1,0,1,0,0,1,0] => 101101010010 => 010010101101 => 111010000101 => 24
[1,0,1,1,0,1,0,1,0,1,0,0] => 101101010100 => 001010101101 => 111100000101 => 25
[1,0,1,1,0,1,0,1,1,0,0,0] => 101101011000 => 000110101101 => 111000100101 => 22
[1,0,1,1,0,1,1,0,0,0,1,0] => 101101100010 => 010001101101 => 110010010101 => 19
[1,0,1,1,0,1,1,0,0,1,0,0] => 101101100100 => 001001101101 => 110100010101 => 20
[1,0,1,1,0,1,1,0,1,0,0,0] => 101101101000 => 000101101101 => 111000010101 => 21
[1,1,0,0,1,1,0,0,1,1,0,0] => 110011001100 => 001100110011 => 010100101011 => 12
[1,1,0,0,1,1,1,0,0,0,1,0] => 110011100010 => 010001110011 => 010010011011 => 10
[1,1,0,0,1,1,1,0,0,1,0,0] => 110011100100 => 001001110011 => 010100011011 => 11
[1,1,0,0,1,1,1,1,0,0,0,0] => 110011110000 => 000011110011 => 010000111011 => 8
[1,1,1,0,0,0,1,0,1,1,0,0] => 111000101100 => 001101000111 => 001100100111 => 10
[1,1,1,0,0,0,1,1,0,0,1,0] => 111000110010 => 010011000111 => 001010010111 => 8
[1,1,1,0,0,0,1,1,0,1,0,0] => 111000110100 => 001011000111 => 001100010111 => 9
[1,1,1,0,0,0,1,1,1,0,0,0] => 111000111000 => 000111000111 => 001000110111 => 6
[1,1,1,0,0,1,0,0,1,1,0,0] => 111001001100 => 001100100111 => 010100100111 => 11
[1,1,1,0,0,1,1,0,0,0,1,0] => 111001100010 => 010001100111 => 010010010111 => 9
[1,1,1,0,0,1,1,0,0,1,0,0] => 111001100100 => 001001100111 => 010100010111 => 10
[1,1,1,0,0,1,1,1,0,0,0,0] => 111001110000 => 000011100111 => 010000110111 => 7
[1,1,1,1,0,0,0,0,1,0,1,0] => 111100001010 => 010100001111 => 000110001111 => 6
[1,1,1,1,0,0,0,0,1,1,0,0] => 111100001100 => 001100001111 => 000100101111 => 4
[1,1,1,1,0,0,0,1,0,0,1,0] => 111100010010 => 010010001111 => 001010001111 => 7
[1,1,1,1,0,0,0,1,0,1,0,0] => 111100010100 => 001010001111 => 001100001111 => 8
[1,1,1,1,0,0,0,1,1,0,0,0] => 111100011000 => 000110001111 => 001000101111 => 5
[1,1,1,1,0,0,1,0,0,0,1,0] => 111100100010 => 010001001111 => 010010001111 => 8
[1,1,1,1,0,0,1,0,0,1,0,0] => 111100100100 => 001001001111 => 010100001111 => 9
[1,1,1,1,0,0,1,1,0,0,0,0] => 111100110000 => 000011001111 => 010000101111 => 6
[1,1,1,1,1,0,0,0,0,0,1,0] => 111110000010 => 010000011111 => 000010011111 => 2
[1,1,1,1,1,0,0,0,0,1,0,0] => 111110000100 => 001000011111 => 000100011111 => 3
[1,1,1,1,1,0,0,0,1,0,0,0] => 111110001000 => 000100011111 => 001000011111 => 4
[1,1,1,1,1,0,0,1,0,0,0,0] => 111110010000 => 000010011111 => 010000011111 => 5
[1,1,1,1,1,1,0,0,0,0,0,0] => 111111000000 => 000000111111 => 000000111111 => 0
search for individual values
searching the database for the individual values of this statistic
/ search for generating function
searching the database for statistics with the same generating function
click to show known generating functions       
Description
The number of inversions of a binary word.
Map
reverse
Description
Return the reversal of a binary word.
Map
Foata bijection
Description
The Foata bijection $\phi$ is a bijection on the set of words of given content (by a slight generalization of Section 2 in [1]).
Given a word $w_1 w_2 ... w_n$, compute the image inductively by starting with $\phi(w_1) = w_1$. At the $i$-th step, if $\phi(w_1 w_2 ... w_i) = v_1 v_2 ... v_i$, define $\phi(w_1 w_2 ... w_i w_{i+1})$ by placing $w_{i+1}$ on the end of the word $v_1 v_2 ... v_i$ and breaking the word up into blocks as follows.
  • If $w_{i+1} \geq v_i$, place a vertical line to the right of each $v_k$ for which $w_{i+1} \geq v_k$.
  • If $w_{i+1} < v_i$, place a vertical line to the right of each $v_k$ for which $w_{i+1} < v_k$.
In either case, place a vertical line at the start of the word as well. Now, within each block between vertical lines, cyclically shift the entries one place to the right.
For instance, to compute $\phi(4154223)$, the sequence of words is
  • 4,
  • |4|1 -- > 41,
  • |4|1|5 -- > 415,
  • |415|4 -- > 5414,
  • |5|4|14|2 -- > 54412,
  • |5441|2|2 -- > 154422,
  • |1|5442|2|3 -- > 1254423.
So $\phi(4154223) = 1254423$.
Map
to binary word
Description
Return the Dyck word as binary word.